<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#ffffff">
    On 07/11/2010 09:10 AM, Robert G. (Doc) Savage wrote:
    <blockquote cite="mid:1278864618.22971.280.camel@lion.protogeek.org"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <meta name="GENERATOR" content="GtkHTML/3.16.3">
      <tt>I've been running Fedora on my old Thinkpad A22p (P-III/M
        w/512MB) since FC4 or before, upgrading from one version to the
        next using the same partition sizes. For F13 I increased the
        size of /boot, but kept swap at 1GB:</tt>
      <blockquote>
        <pre><tt># fdisk -l /dev/sda</tt>

<tt>Disk /dev/sda: 120.0 GB, 120034123776 bytes</tt>
<tt>255 heads, 63 sectors/track, 14593 cylinders</tt>
<tt>Units = cylinders of 16065 * 512 = 8225280 bytes</tt>
<tt>Sector size (logical/physical): 512 bytes / 512 bytes</tt>
<tt>I/O size (minimum/optimal): 512 bytes / 512 bytes</tt>
<tt>Disk identifier: 0x000304c6</tt>

<tt>   Device Boot      Start         End      Blocks   Id  System</tt>
<tt>/dev/sda1   *           1          64      512000   83  Linux</tt>
<tt>Partition 1 does not end on cylinder boundary.</tt>
<tt>/dev/sda2              64       14463   115658752   83  Linux</tt>
<tt>/dev/sda3           14463       14594     1048576   82  Linux swap / Solaris</tt>
</pre>
      </blockquote>
      <tt>The last couple of releases have run agonizingly slowly with
        very high load averages (between 2.x and 10.x).</tt><br>
      <br>
      <tt>I just read <a moz-do-not-send="true"
href="http://docs.fedoraproject.org/en-US/Fedora/13/html/Installation_Guide/s2-diskpartrecommend-x86.html">http://docs.fedoraproject.org/en-US/Fedora/13/html/Installation_Guide/s2-diskpartrecommend-x86.html</a></tt><br>
      <tt>which recommends a minimum of 2GB swap size for memory sizes
        up to 4GB. I've been using 2x RAM for swap size ever since the
        2.6 kernel was introduced. At the moment (running 'yumex') 'top'
        indicates:</tt>
      <blockquote>
        <pre><tt>top - 10:43:15 up 2 days, 6 min,  5 users,  load average: 8.62, 6.84, 6.26</tt>
<tt>Tasks: 244 total,   7 running, 237 sleeping,   0 stopped,   0 zombie</tt>
<tt>Cpu(s): 60.7%us, 23.5%sy,  9.2%ni,  0.0%id,  0.0%wa,  5.4%hi,  1.3%si,  0.0%st</tt>
<tt>Mem:    509800k total,   502624k used,     7176k free,    16280k buffers</tt>
<tt>Swap:  1048568k total,   317372k used,   731196k free,   101944k cached</tt>
</pre>
      </blockquote>
      <tt>This indicates only about 30% of my 1GB swap is being used.
        Would increasing that to 2GB have any affect on the load average
        performance?</tt><br>
      <br>
      <tt>--Doc Savage</tt><br>
      <tt>  Fairview Heights, IL</tt>
    </blockquote>
    <br>
    <br>
    Don't run Gnome/KDE desktops - they're memory hogs. Instead, try
    XFCE - it's much lighter and faster (fewer features, though).<br>
    You have ~800MB of virtual memory used (mem used+swap used) with
    nothing but yumex.<br>
    I have Thunderbird and Firefox and several small programs open; my
    virt memory usage is at ~600MB. The rest of my 2G is buffers and
    caches.<br>
    <tt><br>
      Mem:   2061244k total,  1999948k used,    61296k free,   303296k
      buffers<br>
      Swap:        0k total,        0k used,        0k free,   917156k
      cached<br>
    </tt><br>
    <br>
    As far as swap, keep it at 1G, it's a reasonable setting with your
    hardware.<br>
    With my 2G RAM, I have the swap partition at 2G, but keep it turned
    off most of the time -- the programs I open rarely, if ever, fill up
    the 2G and it's faster to not use the swap when you don't need it.
    But that's just me, not a recommendation of any kind :)<br>
    <br>
    <br>
  </body>
</html>