Re: Benchmarking kqueue() performance?

2003-10-18 Thread Yaoping Ruan
Hi, We've done some sort of tests in terms of the performance of kqueue( ) and select( ). We used a event-driven web server, which has both kevent() and select() implementation. We designed a workload called hot-cold test, which has multiple clients machines request up to thousands of persistent

Benchmarking kqueue() performance?

2003-10-17 Thread Craig Rodrigues
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

Re: Benchmarking kqueue() performance?

2003-10-17 Thread Sean Chittenden
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

Re: Benchmarking kqueue() performance?

2003-10-17 Thread Lev Walkin
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

Re: Benchmarking kqueue() performance?

2003-10-17 Thread Terry Lambert
Lev Walkin wrote: One of the most comprehensive sites about that problem is: http://www.kegel.com/c10k.html That's about scaling to a large number of connections, not about kqueue() vs. select performance. The biggest problem with a large number of connections, at least as far as FreeBSD is