kqueue examples?

Mark Bucciarelli mark at gaiahost.coop
Tue Oct 24 15:44:53 UTC 2006


On Tue, Oct 24, 2006 at 11:03:34AM +0800, Adrian Chadd wrote:
> On 10/24/06, Mark Bucciarelli <mark at gaiahost.coop> wrote:
> >On Mon, Oct 23, 2006 at 02:21:07PM +0800, Adrian Chadd wrote:
> >>
> >> Has anyone come across some network software which uses kqueue
> >> "differently" to the above ?
> >
> >lighttpd uses kqueue.  Don't know how "different" it is.
> 
> Again its pretty simplistic - individual events are registered by
> using kevent() calls; kevent() is then called to process all the
> results.
> 
> I wonder how much of a boost there'd be between this model as the
> 'nicer' kevent model. Hm, I'll have to give it a shot and compare
> numbers. Thanks.

If you do this comparison for lighttpd, I would be interested in
the results.

m


More information about the freebsd-performance mailing list