Re: epoll and kqueue support

Mike Abbott <[email protected]> Mon, 30 May 2005 12:51:28 -0700 (PDT)
Newsgroups gmane.comp.lib.state-threads.user
Message-ID <[email protected]>
> Has there been any work on supporting additional polling mechanisms

I have heard rumors that someone is going to port ST to kqueue soon.  No
details yet.  No epoll rumors.  However, as Gene is fond of pointing
out, any optimizations there are optimizing for the idle case.  That is,
ST calls select/poll/whatever only when it has no other work to do,
which makes it somewhat difficult to justify putting a lot of effort
into making that part faster.  "Do nothing, faster"?

> Passing large array of fd descriptors (~3000) to select()

There are systems that have special optimizations for selecting/polling
a few dozen descriptors at a time.  Perhaps ST could select/poll in
batches ... but that would be another "idle optimization" to get past
Gene.


-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005