Re: Slowdown on high-load machines with 3000 sockets

Rik van Riel
2005-02-28T00:09:25Z

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