Re: [BUG] 2.4 VM sucks. Again

Andrea Arcangeli
2002-05-31T21:22:09Z

On Fri, May 24, 2002 at 12:36:32PM +0200, Roy Sigurd Karlsbakk wrote:
> On Thursday 23 May 2002 20:12, jlnance@intrex.net wrote:
> > On Thu, May 23, 2002 at 03:11:24PM +0200, Roy Sigurd Karlsbakk wrote:
> > > Starting up 30 downloads from a custom HTTP server (or Tux - or Apache -
> > > doesn't matter), file size is 3-6GB, download speed = ~4.5Mbps. After
> > > some time the kernel (a) goes bOOM (out of memory) if not having any
> > > swap, or (b) goes gong swapping out anything it can.
> >
> > Does this work if the client and the server are on the same machine? It
> > would make reproducing this a lot easier if it only required 1 machine.
>
> I guess it'd work fine with only one machine, as IMO, the problem must be the
> kernel not releasing buffers

too much variable.

Also keep in mind if you grow the socket buffer to hundred mbyte on an
highmem machine the zone-normal will finish too fast and you may run out
of memory. 2.4.19pre9aa2 in such case should at least return -ENOMEM and
not deadlock.

Andrea