From owner-freebsd-performance@FreeBSD.ORG Tue Oct 24 15:44:53 2006 Return-Path: X-Original-To: freebsd-performance@freebsd.org Delivered-To: freebsd-performance@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4076516A415; Tue, 24 Oct 2006 15:44:53 +0000 (UTC) (envelope-from mark@gaiahost.coop) Received: from biodiesel.gaiahost.coop (biodiesel.gaiahost.coop [64.95.78.120]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1DDFD43D6A; Tue, 24 Oct 2006 15:44:48 +0000 (GMT) (envelope-from mark@gaiahost.coop) Received: from gaiahost.coop (host-64-65-195-19.spr.choiceone.net [::ffff:64.65.195.19]) (AUTH: LOGIN mark@hubcapconsulting.com) by biodiesel.gaiahost.coop with esmtp; Tue, 24 Oct 2006 11:44:47 -0400 id 008D004C.453E34EF.000016A4 Received: by gaiahost.coop (sSMTP sendmail emulation); Tue, 24 Oct 2006 11:44:49 -0400 Date: Tue, 24 Oct 2006 11:44:49 -0400 From: Mark Bucciarelli To: Adrian Chadd Message-ID: <20061024154449.GU2760@rabbit> Mail-Followup-To: Adrian Chadd , freebsd-performance@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Cc: freebsd-performance@freebsd.org Subject: Re: kqueue examples? X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Oct 2006 15:44:53 -0000 On Tue, Oct 24, 2006 at 11:03:34AM +0800, Adrian Chadd wrote: > On 10/24/06, Mark Bucciarelli 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