[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [MiNT] State of the Union
Howard Chu wrote:
Frank Naumann wrote:
Requiring use of Fnctl() or any other system call to alter the set of
events imposes too much overhead. On servers where the set of
descriptors of interest changes frequently, this kind of approach is a
serious loser.
Ah, I see. Personally I wanted to go into the kqueue() direction as
introduced and used by the BSD systems. This solution looks very easy
to use and is extremly flexible and extensible. It's basically a
filedescriptor and you add a list of events (determined by id and a
filter) you want to wait for.
See this message
http://www.openldap.org/lists/openldap-devel/200411/msg00088.html
kqueue has some other performance limitations as well. The scheme I
outline in the above link addresses all of those shortcomings.
More here
http://www.lib.uaa.alaska.edu/linux-kernel/archive/2004-Week-47/1814.html
Unfortunately I was in Europe on business so I never got the time I
thought I would have to finish the Linux implementation.
--
-- Howard Chu
Chief Architect, Symas Corp. Director, Highland Sun
http://www.symas.com http://highlandsun.com/hyc
Symas: Premier OpenSource Development and Support