Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* select performance issue
@ 2001-05-28 16:42 Philippe Planchon
  0 siblings, 0 replies; only message in thread
From: Philippe Planchon @ 2001-05-28 16:42 UTC (permalink / 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.



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-05-28 16:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-05-28 16:42 select performance issue Philippe Planchon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox