<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    On 04/24/2012 04:22 AM, Gustavo R Leal wrote:
    <blockquote
      cite="mid:1335230530.71423.YahooMailNeo@web162601.mail.bf1.yahoo.com"
      type="cite">
      <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>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
    </blockquote>
    <br>
    Hey Gustavo,<br>
    <br>
    can you file a bug and paste a link it to this mailing list?<br>
    <br>
    Thanks,<br>
    Pasi<br>
    <pre class="moz-signature" cols="72">-- 
Pasi Lallinaho (knome)                      » <a class="moz-txt-link-freetext" href="http://open.knome.fi/">http://open.knome.fi/</a>
Leader of Xubuntu and Shimmer Project       » <a class="moz-txt-link-freetext" href="http://shimmerproject.org/">http://shimmerproject.org/</a>
Graphic artist, webdesigner, Ubuntu member  » <a class="moz-txt-link-freetext" href="http://xubuntu.org/">http://xubuntu.org/</a></pre>
  </body>
</html>