From owner-freebsd-performance@FreeBSD.ORG Tue Oct 24 03:03:35 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 AB66516A403 for ; Tue, 24 Oct 2006 03:03:35 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.224]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9E0B443D4C for ; Tue, 24 Oct 2006 03:03:34 +0000 (GMT) (envelope-from adrian.chadd@gmail.com) Received: by wx-out-0506.google.com with SMTP id i27so1970293wxd for ; Mon, 23 Oct 2006 20:03:34 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=eA6vFRSzkLFIv+Q4nNBP5VWv2DCHRgeSC8CJQQbA2AJs1tdMF7NHPd4mC7Bf50EUIzDH1pEPigIfNYLTV5cPy1LugIcIiRFztxI4QFfszYdvNfwu8BGMrcr+/AnmaWIxcPyCtzgfriNyHyyOnmQcN+QlpMBcPNE/YnrGEF45L8E= Received: by 10.90.90.16 with SMTP id n16mr2760829agb; Mon, 23 Oct 2006 20:03:34 -0700 (PDT) Received: by 10.90.66.16 with HTTP; Mon, 23 Oct 2006 20:03:34 -0700 (PDT) Message-ID: Date: Tue, 24 Oct 2006 11:03:34 +0800 From: "Adrian Chadd" Sender: adrian.chadd@gmail.com To: "Adrian Chadd" , freebsd-performance@freebsd.org In-Reply-To: <20061024023030.GJ2760@rabbit> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20061024023030.GJ2760@rabbit> X-Google-Sender-Auth: cf696731bbdbdcf5 Cc: 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 03:03:35 -0000 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. Adrian -- Adrian Chadd - adrian@freebsd.org