On 2014-01-17 01:55, Anton Aylward wrote:
Carlos E. R. said the following on 01/16/2014 06:06 PM:
The end result is that disabling swap I get less free memory, as I said, although not as much as I thought:-)
Which raises some interesting questions: if you have ANY free memory, why is swap being used at all?
Because hibernation forces everything into swap. If some chunks are not needed when the computer is thawed, they stay out of the way in swap, leaving more memory free.
In the limiting case, that you have over a Gig of free memory, then with your present process set you don't seem to need swap at all. The 'swapoff' worked. You could have left it off. Were any error logged during the time it was off?
If I leave it off the computer is slower. Don't you see? And I use hibernation, I need it.
Are you using a tmpfs by any chance?
No. Well, yes, of course, those that systemd requires:
Telcontar:~ # df -h | grep tmpfs
Filesystem Size Used Avail Use% Mounted on
devtmpfs 3.9G 100K 3.9G 1% /dev tmpfs 4.0G 1.1M 4.0G 1% /dev/shm tmpfs 4.0G 407M 3.6G 11% /run tmpfs 4.0G 0 4.0G 0% /sys/fs/cgroup tmpfs 4.0G 407M 3.6G 11% /var/lock tmpfs 4.0G 407M 3.6G 11% Telcontar:~ #
/run, /var/lock and /var/run are the same one. -- Cheers / Saludos, Carlos E. R. (from 12.3 x86_64 "Dartmouth" at Telcontar)