Benchmarking kqueue() performance?

Lev Walkin vlm at netli.com
Fri Oct 17 15:47:34 PDT 2003


Craig Rodrigues wrote:
> Hi,
> 
> 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.

One of the most comprehensive sites about that problem is:

http://www.kegel.com/c10k.html


-- 
Lev Walkin
vlm at netli.com



More information about the freebsd-hackers mailing list