From owner-freebsd-performance@FreeBSD.ORG Tue Oct 24 18:40:17 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 DC1F216A4CA for ; Tue, 24 Oct 2006 18:40:17 +0000 (UTC) (envelope-from ianchov@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.191]) by mx1.FreeBSD.org (Postfix) with ESMTP id 60BF443DF2 for ; Tue, 24 Oct 2006 18:39:32 +0000 (GMT) (envelope-from ianchov@gmail.com) Received: by nf-out-0910.google.com with SMTP id p77so303536nfc for ; Tue, 24 Oct 2006 11:39:29 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=HqjfEUjCds1tx/O3d365y/L+NoiI624n39Guvo7yPFTVbDLb22UknBv8YEOpJgMzGNTPw1ulW7MXZJK5sVlbxU9UghBVF9AQ5yhkQBW0ELt+KJf2ImYjBxNUdD7NWHLmTJehpq1dZGSE7QCZ2mAqqkk26zRcA/+0G6vesJLLgZE= Received: by 10.49.75.2 with SMTP id c2mr1756696nfl; Tue, 24 Oct 2006 11:39:29 -0700 (PDT) Received: by 10.49.36.13 with HTTP; Tue, 24 Oct 2006 11:39:29 -0700 (PDT) Message-ID: <18e02bd30610241139j905914ew1b0d067ad58b2b43@mail.gmail.com> Date: Tue, 24 Oct 2006 21:39:29 +0300 From: "Iantcho Vassilev" To: "Adrian Chadd" , freebsd-performance@freebsd.org In-Reply-To: <20061024154449.GU2760@rabbit> MIME-Version: 1.0 References: <20061024154449.GU2760@rabbit> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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 18:40:18 -0000 On 10/24/06, Mark Bucciarelli wrote: > > 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. > > Absolutely... I`ll be very interested too..