<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:10pt"><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; "><br></div><div style="font-family: arial, helvetica, sans-serif; "><div style="font-family: 'times new roman', 'new york', times, serif; "><div id="yiv1764984297"><div><div style="background-color: rgb(255, 255, 255); font-family: arial, helvetica, sans-serif; "><div style="color: rgb(0, 0, 0); font-family: arial, helvetica, sans-serif; "><font size="2">I believe I've found the problem of excessive swapping with 1GB of memory.</font></div><div style="color: rgb(0, 0, 0); font-family: arial, helvetica, sans-serif; "><font size="2"><br></font></div><div style="color: rgb(0, 0, 0); font-family: arial, helvetica, sans-serif; "><font size="2">There is a script "/usr/lib/pm-utils/power.d/laptop-mode" that is setting these weird values to VM tunable kernel parameters when on
AC power:</font></div><div style="color: rgb(0, 0, 0); font-family: arial, helvetica, sans-serif; "><font size="2"><br></font></div><div><font size="2">dirty_background_ratio=5<br></font></div><div><font size="2">dirty_ratio=10<br></font></div><div><font size="2"><br></font></div><div><font size="2">The line 69 of the script is the following:</font></div><div><font size="2"><br></font></div><div><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 and good performance.</div><div><br></div><div><div> write_values 0 90 20 500</div><div><br></div><div><br></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><font size="2"><br></font></div><div><font size="2"><br></font></div><div><font
size="2"><br></font></div></div></div></div> </div> </div> </div></body></html>