LWN.net Logo

death by swap

death by swap

Posted Nov 4, 2009 18:49 UTC (Wed) by knobunc (subscriber, #4678)
In reply to: death by swap by jabby
Parent article: Toward a smarter OOM killer

I agree with you... unless you want to hibernate. In which case you need at least the same amount of swap as RAM. But if you actually want to use that swap whilst running, you'd need a bit more. So now you are back to somewhere between 1x and 2x RAM.


(Log in to post comments)

death by swap

Posted Nov 4, 2009 19:59 UTC (Wed) by zlynx (subscriber, #2285) [Link]

Doesn't the user-space hibernate still exist? Didn't that allow hibernate to a file, with compression and everything?

I don't know, I haven't run a Linux laptop in almost a year now since an X.org bug killed my old laptop by overheating it.

death by swap

Posted Nov 5, 2009 18:22 UTC (Thu) by nix (subscriber, #2304) [Link]

tuxonice allows that too. But just because you *can* hibernate to a file
doesn't mean you *must*.

Copyright © 2012, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds