* Sascha Schumann <[EMAIL PROTECTED]> [010617 08:24] wrote:
> 
> > Also you can contribute code working with kevent(2), this will be
> > more efficient ;)
> 
>     I've actually implemented that already with no significant
>     speed advantage; as various papers[1] have concluded, when
>     select and poll are used properly they are not as inefficient
>     as many people seem to assume.
> 
>     [1] http://www.citi.umich.edu/techreports/reports/citi-tr-00-4.pdf

You've misinterpreted the paper. :(

The way they use poll(2) "properly" is to use /dev/poll which is a
really gross alternative to kevent(2) but close in functionality.

As far as raising the amount of pollable entries, can you try your
app with your kernel recompiled to accept 2xNO_FILE and 2xFD_SETSIZE
and let us know if that solves your problem?

-- 
-Alfred Perlstein [[EMAIL PROTECTED]]
Instead of asking why a piece of software is using "1970s technology,"
start asking why software is ignoring 30 years of accumulated wisdom.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to