Re: [patch] my latest oom stuff

Rik van Riel (H.H.vanRiel@phys.uu.nl)
Sun, 25 Oct 1998 16:15:54 +0100 (CET)


On Sat, 24 Oct 1998, Linus Torvalds wrote:
> On Sat, 24 Oct 1998, Billy Harvey wrote:
> >
> > Linus, FWIW in a non-measured case, I've noticed the kswapd
> > occassionally take 90% CPU (with top) if I run without any swap (144M
> > RAM), but if I add 128M swap, I never see it. In fact, with the swap
> > active, it hardly ever gets used, but seems to really affect the system
> > with none available.
>
> The thing is, that without any swap-space at all you really cut down
> on the options the system has. It's not that the kernel _has_ to
> have swap-space, but without any swap-space it ends up doing
> essentially the same work it does when it _has_ swap-space, but now
> 90% of it ends up being wasted.

For 2.3, we really should move to a BSD-like multi-queue
VM system (active, wired and inactive pages). A system
like that avoids the prohibitively expensive scanning we
do right now, that is, when properly implemented...

Rik.
+-------------------------------------------------------------------+
| Linux memory management tour guide. H.H.vanRiel@phys.uu.nl |
| Scouting Vries cubscout leader. http://www.phys.uu.nl/~riel/ |
+-------------------------------------------------------------------+

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/