Re: Slowdown on high-load machines with 3000 sockets

From: Rik van Riel
Date: Sun Feb 27 2005 - 19:17:26 EST


On Mon, 28 Feb 2005, Christian Schmid wrote:

> No i am only using 4 tasks with Poll-API and non-blocking sockets. Every
> socket gets a 1 MB read-ahead. This are 4000 MB Max on a 8 GB machine....
> Shouldnt thrash.

If nothing else on the system uses any memory, and there
were no memory zones and no division into active and
inactive memory.

You may want to try a smaller readahead window and see if
your system still has trouble with the load.

--
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it." - Brian W. Kernighan
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/