Hi,
I use Slackware 14.1 x64 with default kernel (3.10.17). I have 8GB ram and 10GB swap partition. I mainly use Opera 12 and I try to keep as much as I can in the ram. In normal conditions Opera takes ~3GB (I have many tabs opened) and total system usage is ~3,5GB-4,5GB. I also use ramdisk which is ~1GB.
When I boot system for the first time I have 0 swap usage. But when I hibernate & restore, swap usage goes +1,5GB, later it goes down 200-300 MB but after another hibernate & restore it goes up another 1,5GB and so on. I never goes back to 0 despite there is 4,5GB of free ram.
I thought that after restore from hibernation all swap is loaded back to ram and cleared (because there was nothing in swap before hibernation). I have set swappiness to 10. I use standard XFCE panel button to hibernate.
For example, this is memory usage after 3 hibernations with runnig opera:
Code:
free -m
total used free shared buffers cached
Mem: 7923 4782 3141 0 216 970
-/+ buffers/cache: 3595 4328
Swap: 10237 2540 7697
I run
for a while and it dosen't show any swap usage.