Excessive swapping with 1GB of memory - UBUNTU 12.04 daily build
Gustavo R Leal
gustavo.leal at yahoo.com.br
Tue Apr 24 01:28:54 UTC 2012
I believe I've found the solution to excessive swapping with 1GB of memory.
There is a script "/usr/lib/pm-utils/power.d/laptop-mode" that is setting too low values to VM tunable kernel parameters when on AC power:
dirty_background_ratio=5
dirty_ratio=10
The line 69 of the script is the following:
write_values 0 10 5 500
Changing the line with these values resulted in being able to run the system with 1GB without swap partition and good performance even with many large processes running.
write_values 0 90 20 500
This sets the VM subsystem with these values:
dirty_background_ratio=20
dirty_ratio=90
I think it needs some attention.
Thanks,
Gustavo Rybarczyk.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-devel-discuss/attachments/20120423/a7a8f851/attachment.html>
More information about the Ubuntu-devel-discuss
mailing list