How much swap?
fedilink

I’ve heard a lot of people say your swap should be 2x RAM… but do I really need 32GB of swap?

@[email protected]
link
fedilink
English
2
edit-2
2Y

I just noticed Ubuntu removed the hibernate option some years ago, you can probably enable it if you really want to, but the default seems to be to only suspend to memory. Remember read that power saved wasn’t a lot, there was the downside of disk usage, and there were some security concerns when using full disk encryption.

takeda
link
fedilink
2
edit-2
2Y

Don’t use Ubuntu, but are you sure it removed it and didn’t do the same thing windows does (i. e. hybrid suspend, where it does the same as hibernating, but then enters suspend, so if power is cut you still have your ram preserved)?

Yes, the default is that you can’t hibernate to disk, I think they changed it back in the 2020 release.

You can add the needed packages, swap, configure grub, etc. if you want to use hibernate, but it’s not part of the default installation.

Create a post

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.

Rules:

  • Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.
  • No spam posting.
  • Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.
  • Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).
  • No trolling.

Resources:

> Any issues on the community? Report it using the report flag.

> Questions? DM the mods!

  • 1 user online
  • 218 users / day
  • 9 users / week
  • 244 users / month
  • 841 users / 6 months
  • 0 subscribers
  • 542 Posts
  • 8.93K Comments
  • Modlog