Re: [patch] swap-speedup-2.4.3-B3 (fwd)

From: Rik van Riel (riel@conectiva.com.br)
Date: Thu Apr 26 2001 - 13:06:45 EST


On Thu, 26 Apr 2001, Mike Galbraith wrote:

> > > > No. It livelocked on me with almost all active pages exausted.
> > > Misspoke.. I didn't try the two mixed. Rik's patch livelocked me.
> >
> > Interesting. The semantics of my patch are practically the same as
> > those of the stock kernel ... can you get the stock kernel to
> > livelock on you, too ?
>
> Generally no. Let kswapd continue to run? Yes, but not always.

OK, then I guess we should find out WHY the thing livelocked...

I've heard reports that it's possible to livelock the kernel,
but for some reason you find it easier to livelock the kernel
with my patch applied.

Maybe this is enough of a clue to find out some things on why
the kernel livelocked? Maybe we should add some instrumentation
to the kernel to find out why things like this happen?

IMHO having good instrumentation in the kernel makes sense
anyway, since it will allow us to do easier performance analysis
of people's machines, so we'll have less guesswork and it'll be
easier to get the kernel to perform well on more machines...

regards,

Rik

--
Linux MM bugzilla: http://linux-mm.org/bugzilla.shtml

Virtual memory is like a game you can't win; However, without VM there's truly nothing to lose...

http://www.surriel.com/ http://www.conectiva.com/ http://distro.conectiva.com/

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



This archive was generated by hypermail 2b29 : Mon Apr 30 2001 - 21:00:16 EST