[BUG] 2.4 VM sucks. Again

From: Roy Sigurd Karlsbakk (roy@karlsbakk.net)
Date: Thu May 23 2002 - 08:11:24 EST


hi all

I've been here complaining about the 2.4 VM before, and here I am, back again.

PROBLEM:
----------------------
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.

The custom HTTP server processes each have a static buffer of two megabytes,
no malloc()s, and are written in < 1000 lines of C.

Theory: The buffer fills up, as the clients can't read as fast as kernel is
reading from disk, and the server goes boom

thanks for any help

roy

-- 
Roy Sigurd Karlsbakk, Datavaktmester

Computers are like air conditioners. They stop working when you open Windows. - 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 : Thu May 23 2002 - 22:00:28 EST