Re: Timings for optimised poll(2)

Rogier Wolff (R.E.Wolff@BitWizard.nl)
Mon, 25 Aug 1997 10:49:33 +0200 (MET DST)


Richard Gooch wrote:
>
> Are you still convinced that select(2) is so efficient?

You keep on comparing "inefficient code together with 'select'" to
your "ideal code using your new poll".

If you need fast code, you need to do things as fast as possible.

The 5120 limit on the number of FDs in select is easily overcome by
allowing the code to allocate more pages if NR_OPEN is larger than
5120. As nobody has needed this, this is not yet implemented. I just
did it for 2.0.30, but it seems you're talking 2.1.5x.

Roger.