|
About ::
TODO ::
Blog ::
RSS ::
Old blog ::
Projects ::
GIT ::
Gallery ::
Notes
Tue, 07 Nov 2006
I am ready new sick is kevent release.
Eric Dumazet created special benchmark which creates set of AF_INET
sockets and two threads start to simultaneously read and write data from/into them
to test epoll() and I ported it to kevent (ring_buffer.c
application can be found in archive).Here are the results: epoll (no EPOLLET): 57428 events/sec kevent (no ET): 59794 events/sec epoll (with EPOLLET): 71000 events/sec kevent (with ET): 78265 events/sec Maximum (busy loop reading events): 88482 events/sec So, kevent works faster than epoll() and it was confirmed by three different
benchmarks (Eric's code (epoll_bench.c and appropriate kevent_bench.c
can be found in archive),
Johann Borck's web server and my benchmarks presented on kevent
homepage)).Jeff Garzik today joined kevent supporting team. So there are serious people on kevent side including such heavyweights like David Miller (network core maintainer) and Jeff Garzik (network device drivers, SATA maintainer). Andrew Morton (I think you heard this name) included kevent in his -mm tree several releases ago.So, things develop from bad to probably not bad. /devel/kevent :: Link / Comments (0) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||