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.
-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss

Reply via email to