2.6.0-test9 - poor swap performance on low end machines

From: Chris Vine (chris_at_cvine.freeserve.co.uk)
Date: 10/29/03

  • Next message: Pau Aliagas: "irq 11: nobody cared! and immediate oops in 2.6.0test9"
    To: linux-kernel@vger.kernel.org
    Date:	Wed, 29 Oct 2003 22:30:12 +0000
    
    

    Hi,

    I have been testing the 2.6.0-test9 kernel on a couple of desktop machines.
    On the first, a 1.8GHz Pentium 4 uniprocessor with 512MHz of RAM, it seems to
    perform fine, and on various compilation tests, compile times for the test
    programs I have compiled are pretty much the same as those obtained with a
    stock 2.4.22 kernel, and the 2.6 kernel seems to be slightly more responsive
    on the desktop. Nothing I use it for knocks it substantially into swap.

    However, on a low end machine (200MHz Pentium MMX uniprocessor with only 32MB
    of RAM and 70MB of swap) I get poor performance once extensive use is made of
    the swap space. On a test compile of a C++ program involving quite a lot of
    templates and therefore which is quite memory intensive, it chugs along with
    the stock 2.4.22 kernel and completes the compile in about 10 minutes going
    (at its worst) into about 34MB of swap. However, doing the same compile on
    the 2.6.0-test9 kernel, it reaches about 22MB into swap and then goes into
    some kind of swap frenzy, continuously swaping and unswapping. Even after
    leaving it for an hour it continuously swaps and unswaps and fails to compile
    even the first file (which takes about 2 minutes using the 2.4.22 kernel) and
    sticks at about 24MB of swap. The kernel is compiled with gcc-2.95.3.

    Chris.

    PS Please copy any replies to my e-mail address.

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/


  • Next message: Pau Aliagas: "irq 11: nobody cared! and immediate oops in 2.6.0test9"

    Relevant Pages

    • oom-killer: gfp_mask=0xd1 with 2.6.12 on EM64T
      ... On a dual EM64T Xeon with 4GB of RAM, ... all swap space still available). ... oom-killer kills one or two of those processes, with the kernel messages ...
      (Linux-Kernel)
    • Re: Simple script that locks up my box with recent kernels
      ... >> and just run the resulting kernel version for a day or two. ... then I'll restart bisection and give each ... The box has 2GB of RAM and 768MB swap. ...
      (Linux-Kernel)
    • Re: 2.6.0-test9 - poor swap performance on low end machines
      ... > the detriment of other tasks that are on the runqueue and still need ram. ... The test compile was not of the kernel but of a file in a C++ program ... Being able to choose a manual setting for swappiness is not "futile". ...
      (Linux-Kernel)
    • Re: Debian Question: linux-image-2.6...-k7 vs. linux-image-2.6...-amd64
      ... I were to install and use AMD64 Kernel. ... programs can get more virtual address space, ... not making my OS 100% 64-bit because I heard it is a hassle to compile both 32-bit and 64-bit programs which I do not have time for. ... and installing the 64-bit system in the first place. ...
      (comp.os.linux.hardware)
    • Re: Caching control
      ... Since it is keeping the pages in RAM after being written, ... Ironically, the probless is less severe, the less swap there is. ... Multitutes of 2.6 kernel versions. ... | set size (just counting direct memory usage, ...
      (comp.os.linux.development.system)