Re: Linux 2.4.19-pre3-ac1

From: Mike Fedyk (mfedyk@matchmail.com)
Date: Sun Mar 17 2002 - 22:01:45 EST


On Mon, Mar 18, 2002 at 10:02:33AM +0700, MrChuoi wrote:
> On Sunday 17 March 2002 12:36 pm, Mike Fedyk wrote:
> > > So you have 128Mb of RAM, 64Mb of swap, and if all pages are touched you
> > > would need 226Mb of swap + ram (minus kernel overhead). Looks like the
> > > machine is hovering on the edge
> >
> > In Other Words (IOW), add more swap like everyone else said.
> >
> > The rmap design does use a bit more memory (about 400k for 128MB ram) for
> > the reverse mapping tables, so that could push you over into an OOM case.
> It seems that OOM killer doesn't work in 2.4.19-pre2-ac4 and 2.4.19-pre3-ac1.
> I try to load alot of apps (KDE apps + JBuilder) as much as possible until
> swap free = 0. At this time, if I try to load a big enough app (KDE Media in
> my case), kernel should start OOM killer. But 2.4.19-pre-ac didn't, it try to
> .... swap ;), kswapd runs like crazy (30%-40%CPU), disk access continuously,
> and whole system is un-interractive => push restart button after 1 hour
> waiting for OOM kill.
>
> Behavior of some kernels in this case:
> - 2.4.19-pre3: Start OOM killer to kill SOME java processes (JBuilder) before
> KDE Media starts and continue to kill all re-spawned java processes. System
> is slow down but still interactivable and back to normal status if close some
> apps.
> - 2.4.19-pre-aa: Start OOM killer to kill ALL java processes (JBuilder) or
> kill KDE Media immediately. System is still interactivable.
> - 2.4.19-pre-ac: kswapd try to swap out and access disk continuously. Whole
> system is slow down and un-interactivable.
>

Can you reproduce with just rmap12h from http://www.surriel.com/patches/ on
top of 2.4.18?

Rik, can you confirm that OOM kill should work with rmap12 (the rmap VM is in -ac...)?
-
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 : Sat Mar 23 2002 - 22:00:14 EST