Date: Fri, 17 Oct 2003 13:11:46 -0700 From: Sean Chittenden <sean@chittenden.org> To: Craig Rodrigues <rodrigc@crodrigues.org> Cc: freebsd-hackers@freebsd.org Subject: Re: Benchmarking kqueue() performance? Message-ID: <20031017201146.GA69411@perrin.nxad.com> In-Reply-To: <20031017185823.GA2151@crodrigues.org> References: <20031017185823.GA2151@crodrigues.org>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031017201146.GA69411>