Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Jul 2000 15:24:27 -0700 (PDT)
From:      Kris Kennaway <kris@FreeBSD.org>
To:        ym g <ymg@graffiti.net>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Which applications are using kqueue ?
Message-ID:  <Pine.BSF.4.21.0007271517400.34543-100000@freefall.freebsd.org>
In-Reply-To: <20000727143650.29162.qmail@graffiti.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 27 Jul 2000, ym g wrote:

> Are there any applications which use this ?

A few at the moment, but they're growing. tail -f, and the l0pht-watch
ports are the only apps I know of at the moment, both of which achieve
dramatic reductions in CPU time (and better performance, for l0pht-watch)
due to not having to spin in poll() or select() when watching the
file/directory. There's also the py-kqueue port which is a kqueue
interface to python.

Brian Feldman was working on kqueueing an ircd which should have good
performance benefits since poll() is apparently a big bottleneck there
too.

> Are there plans for any apps like thin/fast [maybe in kernel]
> webserver which uses kqueue

I've been tinkering with kq'ing thttpd - in fact I have it working (which
was trivial), although it's not optimized yet so I don't expect major
performance changes - thttpd is still querying each FD individually for
status, instead of just using the next ones kq tells it about. I just need
to figure out how to benchmark it effectively - httperf is running into
client limitations so far.

Kris

--
In God we Trust -- all others must submit an X.509 certificate.
    -- Charles Forsythe <forsythe@alum.mit.edu>



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0007271517400.34543-100000>