Comment 30 for bug 1152736

Revision history for this message
cro (cro) wrote :

An update.

The swappiness is still killing my laptop. It seems to be explicitly related to having Firefox running, especially if I have multiple windows open, with lots of content.

Killing the Firefox process solves the swap problem and returns control of the desktop and mouse, and allows me to continue working.

Here's my 'free' status when kswapd0 is using >100% CPU. In this situation kswapd0 is using between 90 and 120% CPU according to `top`, and everything else is under 5%, including firefox.

cro@zen:~$ free -h
             total used free shared buffers cached
Mem: 3.8G 3.3G 503M 0B 16M 1.4G
-/+ buffers/cache: 1.8G 1.9G
Swap: 3.9G 274M 3.6G

Or, because text formatting is bad, of 4Gb swap, 3.6Gb is free, and I have >500Mb of free RAM.

vm_swappiness is set to 0.

This happens to me on average more than once an hour when I'm working (multiple windows/tabs open).