From: "Philippe Planchon" <PPlanchon@atoseuronext.net>
Subject: select performance issue
Date: Mon, 28 May 2001 18:42:42 +0200 [thread overview]
Message-ID: <9eu06g$b6@neptune.axime-is.fr> (raw)
Anybody knows how select system call performance scales when the number of
file desc to multiplex becomes > 100 ?
We have a performance issue with a process that has > 1000 file desc open
and makes select calls with more than 200 desc (100 fifo, 100 socket) in the
read mask. This process uses an abnormal amount of system cpu time. It seems
to be related to the select call because it goes much better if we run two
instances of the process, with half the number of fifo and socket each, we
reduce the global load of the system.
We made a small test case to try to reproduce this, and we found that select
cpu usage grows very slowly when the number of file desc is small (100 or
200), but after this cpu usage grows quickly.
Also tried to use poll, but same results.
Any idea?
Thanks.
reply other threads:[~2001-05-28 16:42 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox