[lkml]   [2001]   [Jun]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Break 2.4 VM in five easy steps
On 7 Jun 2001, Eric W. Biederman wrote:

> Mike Galbraith <> 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.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 12:54    [W:0.076 / U:2.936 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site