[BUG] 2.4 VM sucks. Again

Roy Sigurd Karlsbakk (roy@karlsbakk.net)
Thu, 23 May 2002 15:11:24 +0200


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/