Re: 2.5.44-mm6

Andrew Morton (akpm@digeo.com)
Mon, 28 Oct 2002 09:18:46 -0800


Rik van Riel wrote:
>
> On Sun, 27 Oct 2002, Andrew Morton wrote:
>
> > . Spent some time tuning up 2.5's StupidSwapStorm throughput. It's
> > on par with 2.4 for single-threaded things, but not for multiple
> > processes.
> >
> > This is because 2.4's virtual scan allows individual processes to
> > hammer all the others into swap and to make lots of progress then
> > exit. In the 2.5 VM all processes make equal progress and just
> > thrash each other to bits.
> >
> > This is an innate useful side-effect of the virtual scan, although
> > it may have significant failure modes. The 2.5 VM would need an
> > explicit load control algorithm if we care about such workloads.
>
> 1) 2.4 does have the failure modes you talk about ;)

Shock :) How does one trigger them?

> 2) I have most of an explicit load control algorithm ready,
> against an early 2.4 kernel, but porting it should be very
> little work
>
> Just let me know if you're interested in my load control mechanism
> and I'll send it to you.

It would be interesting if you could send out what you have.

It would also be interesting to know if we really care? The
machine is already running 10x slower than it would be if it
had enough memory; perhaps it is just not a region of operation
for which we're interested in optimising. (Just being argumentitive
here ;))

> Note that I never got the load control _policy_ right yet ...

mm. Tricky. This is interesting:
http://www.unet.univie.ac.at/aix/aixbman/prftungd/vmmov.htm
-
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/