Re: 2.6.0-test9 - poor swap performance on low end machines

Ed Tomlinson
2003-10-31T12:55:09Z

On October 31, 2003 06:26 am, Roger Luethi wrote:
> On Thu, 30 Oct 2003 22:57:23 -0500, Rik van Riel wrote:
>
> > On Wed, 29 Oct 2003, Chris Vine wrote:
> >
> >
> > > However, on a low end machine (200MHz Pentium MMX uniprocessor with
> > > only 32MB \r of RAM and 70MB of swap) I get poor performance once
> > > extensive use is made of the swap space.
> >
> >
> > Could you try the patch Con Kolivas posted on the 25th ?
> >
> > Subject: [PATCH] Autoregulate vm swappiness cleanup
>
>
> I suppose it will show some improvement but fail to get performance
> anywhere near 2.4 -- at least that's what my own tests found. I've been
> working on a break-down of where we're losing it.
> Bottom line: It's not simply a price we pay for feature X or Y. It's
> all over the map, and thus no single patch can possibly fix it.

With 2.6 its possible to tell the kernel how much to swap. Con's patch
tries to keep applications in memory. You can also play with
/proc/sys/vm/swappiness which is what Con's patch tries to replace.

Ed Tomlinson