-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Friday, 2017-12-01 at 14:39 -0800, L A Walsh wrote:
Wol's lists wrote:
On 01/12/17 20:06, L A Walsh wrote:
I ran linux with 0 swap for years (from 2.0->to at least the late 2.6 series -- never crashed from lack of swap). Somewhere around then I read what linus said he used at home -- a small swap to allow for early pages that were used at boot to be swapped out (even w/o swap pressure).
Now... and since 2006, I use an 8MB swap. When I first switched to that, it would get as much as 100K usage. But that seems to have fallen off, as now, with system uptime @ >3 months, I have 0 swap usage. W/enough memory swap isn't necessary for most users.
If you hibernate the machine, you notice on return from hibernation that some swap remains used and never goes out, even after days of use. My theory is that there are code regions that only used once during program init, and never used again. Thus on hibernation as everuthing is swapped out, and later only those parts actually needed are restored, one ends with some swap in use, and curiously, more free ram than if you don't have swap ;-)
When I had swap -- if it was ever used, it was a mandate: GET MORE RAM. You'll waste far less time in your life not swapping. The extra cost for ram is more than compensated by the extra time you'll have in your life.
Yes, provided that you can get and install more ram. In my case and that of the OP, we simply can't. Eventually, I'll get a new board, new cpu, new ram... but not this year. - -- Cheers, Carlos E. R. (from openSUSE 42.2 x86_64 "Malachite" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAloh5jYACgkQtTMYHG2NR9X/QgCfZVSLjXA0jU0LC1Zeq1IVvSOJ TLMAnjwfnm+LK/rlQnkcqPRSvbao3IrQ =WizI -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org