I’ve heard a lot of people say your swap should be 2x RAM… but do I really need 32GB of swap?
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.
Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it’s not obvious why your post topic revolves around selfhosting, please include details to make it clear.
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!
I believe the swap partition is also used when hibernating. So when you use hibernate you need at least equal swap space as memory size.
deleted by creator
Hibernate and suspend are different. I configure my laptop to suspend for 3 hours before hibernating. That means I can close the lid for lunch or a commute and instantly resume, but if I leave my laptop in my bag over a long weekend, the battery isn’t drained. Does it save much battery? Dunno. A few % over a few days maybe.
deleted by creator
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)?
deleted by creator
The point isn’t to save power, the point is that the laptop is completely off. You can even take out the battery if needed