<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:10pt"><div><font face="arial, helvetica, sans-serif" size="2"><div style="font-size: 13px; "><font size="2">I believe I've found the solution to excessive swapping with 1GB of memory.</font></div><div style="font-size: 13px; "><font size="2"><br></font></div><div style="font-size: 13px; "><font size="2">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:</font></div><div style="font-size: 13px; "><font size="2"><br></font></div><div style="font-size: 13px; "><font size="2">dirty_background_ratio=5<br></font></div><div style="font-size: 13px; "><font size="2">dirty_ratio=10<br></font></div><div style="font-size: 13px; "><font size="2"><br></font></div><div style="font-size: 13px; "><font size="2">The line 69 of the script is the following:</font></div><div
 style="font-size: 13px; "><font size="2"><br></font></div><div style="font-size: 13px; "><font size="2"><div>        write_values 0 10 5 500</div><div><br></div><div>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.</div><div><br></div><div><div>        write_values 0 90 20 500</div><div><br></div><div>This sets the VM subsystem with these values:</div><div><br></div><div><div style="font-size: 13px; "><font size="2">dirty_background_ratio=20<br></font></div><div style="font-size: 13px; "><font size="2">dirty_ratio=90<br></font></div><div><font size="2"><br></font></div></div><div>I think it needs some attention.</div><div><br></div><div>Thanks,</div><div>  Gustavo Rybarczyk.</div><div><br></div></div></font></div><div style="font-size: 13px; "><font
 size="2"><br></font></div></font></div></div></body></html>