From owner-freebsd-stable Thu Jul 27 15:24:30 2000 Delivered-To: freebsd-stable@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 9175B37B525; Thu, 27 Jul 2000 15:24:27 -0700 (PDT) (envelope-from kris@FreeBSD.org) Received: from localhost (kris@localhost) by freefall.freebsd.org (8.9.3/8.9.2) with ESMTP id PAA35273; Thu, 27 Jul 2000 15:24:27 -0700 (PDT) (envelope-from kris@FreeBSD.org) X-Authentication-Warning: freefall.freebsd.org: kris owned process doing -bs Date: Thu, 27 Jul 2000 15:24:27 -0700 (PDT) From: Kris Kennaway To: ym g Cc: freebsd-stable@freebsd.org Subject: Re: Which applications are using kqueue ? In-Reply-To: <20000727143650.29162.qmail@graffiti.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message