Re: 1gb RAM + 1gb SWAP + make -j bzImage = OOM

Eric W. Biederman
2002-01-05T21:43:52Z

Phil Oester <kernel@theoesters.com> writes:

> On Fri, Jan 04, 2002 at 04:42:43PM -0800, Nicholas Knight wrote:
> > The one catch is that -j is specified without a number.
>
> [snip superfluous description of what 'make -j' implies]
>
> > number, your system is dead. A user issue because it seems the user is
> > using the option without fully comprehending the consequences.
>
> eh? Trust me - i understand the implications of make -j. It's not an
> unreasonable test, especially on a machine with 1gb ram/swap. For reference,
> read Rik's email regarding his reverse VM patch:
>
>
> http://marc.theaimsgroup.com/?l=linux-kernel&m=101007711817127&w=2
>
> Might be enlightening

Yes. It sounds like he Rick slowed down fork enough the system didn't fall
over. There may be some other policy changes as well. But my hunch is that
it is a fork speed thing. If all that happens is that the system hits
OOM when subjected to an unreasonable load I don't see this as a problem.

The truly interesting question is what happens when you and more swap.
With sufficient swap will it work?

Eric