Re: Break 2.4 VM in five easy steps

Mike Galbraith (mikeg@wen-online.de)
Thu, 7 Jun 2001 10:15:42 +0200 (CEST)


On 7 Jun 2001, Eric W. Biederman wrote:

> Mike Galbraith <mikeg@wen-online.de> writes:
>
> > On 7 Jun 2001, Eric W. Biederman wrote:
> >
> > > Does this improve the swapoff speed or just allow other programs to
> > > run at the same time? If it is still slow under that kind of load it
> > > would be interesting to know what is taking up all time.
> > >
> > > If it is no longer slow a patch should be made and sent to Linus.
> >
> > No, it only cures the freeze. The other appears to be the slow code
> > pointed out by Andrew Morton being tickled by dead swap pages.
>
> O.k. I think I'm ready to nominate the dead swap pages for the big
> 2.4.x VM bug award. So we are burning cpu cycles in sys_swapoff
> instead of being IO bound? Just wanting to understand this the cheap way :)

There's no IO being done whatsoever (that I can see with only a blinky).
I can fire up ktrace and find out exactly what's going on if that would
be helpful. Eating the dead swap pages from the active page list prior
to swapoff cures all but a short freeze. Eating the rest (few of those)
might cure the rest, but I doubt it.

-Mike

-
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/