On Fri, Mar 20, 2009, Thor Lancelot Simon wrote: > > Try doing it under strace and see what happens. > > I seem to recall it caused one epoll syscall per event > > on each time around the event loop. > > Ugh. That sounds like a terrible limitation of epoll. A syscall > _per event_? > > Once again I'm glad to not be using Linux.
Unless your application is different in every respect to normal applications, you're already doing craptons of read/write syscalls, some setsockopt syscalls, etc, so dropping your epoll syscalls by 1/2 will have a very small effect on performance. (At least on current hardware.) Adrian _______________________________________________ Libevent-users mailing list Libevent-users@monkey.org http://monkeymail.org/mailman/listinfo/libevent-users