Benchmarking kqueue() performance?
Sean Chittenden
sean at chittenden.org
Fri Oct 17 13:11:47 PDT 2003
> I sent a private e-mail to Jonathan Lemon about this,
> but thought I would ask the larger FreeBSD community about
> this as well.
>
> Does anyone have any sample code which can be used
> to benchmark the performance of kqueue() vs. select()?
>
> I am interested in setting up a test which handles
> a large number of events. I am interested in seeing
> the scalability of kqueue() as the number of events
> increases.
>
> I am also interested in looking at kqueue() performance
> in multithreaded environments....maybe with the new
> KSE implementation in CURRENT.
Have you looked at libevent?
http://www.monkey.org/~provos/libevent/
There are some spiffy benchmarks there (and pretty graphs). And a bit
dated, but this page also has some good #'s for you:
http://www.kegel.com/dkftpbench/Poller_bench.html
-sc
--
Sean Chittenden
More information about the freebsd-hackers
mailing list