From owner-freebsd-hackers@FreeBSD.ORG Fri Oct 17 15:47:34 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4816816A4B3 for ; Fri, 17 Oct 2003 15:47:34 -0700 (PDT) Received: from smtp.netli.com (ip2-pal-focal.netli.com [66.243.52.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 77E3243FA3 for ; Fri, 17 Oct 2003 15:47:33 -0700 (PDT) (envelope-from vlm@netli.com) Received: (qmail 11677 invoked by uid 84); 17 Oct 2003 22:47:33 -0000 Received: from vlm@netli.com by l3-1 with qmail-scanner-0.96 (uvscan: v4.1.40/v4121. . Clean. Processed in 0.150926 secs); 17 Oct 2003 22:47:33 -0000 Received: from unknown (HELO netli.com) (172.17.1.12) by mx01-pal-lan.netli.lan with SMTP; 17 Oct 2003 22:47:33 -0000 Message-ID: <3F9071B5.3040900@netli.com> Date: Fri, 17 Oct 2003 15:48:21 -0700 From: Lev Walkin Organization: Netli, Inc. User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.4) Gecko/20030820 X-Accept-Language: ru, en-us, en MIME-Version: 1.0 To: Craig Rodrigues References: <20031017185823.GA2151@crodrigues.org> In-Reply-To: <20031017185823.GA2151@crodrigues.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-hackers@freebsd.org Subject: Re: Benchmarking kqueue() performance? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Oct 2003 22:47:34 -0000 Craig Rodrigues wrote: > Hi, > > I sent a private e-mail to Jonathan Lemon about this, > but thought I would ask the larger FreeBSD community about > this as well. > > Does anyone have any sample code which can be used > to benchmark the performance of kqueue() vs. select()? > > I am interested in setting up a test which handles > a large number of events. I am interested in seeing > the scalability of kqueue() as the number of events > increases. One of the most comprehensive sites about that problem is: http://www.kegel.com/c10k.html -- Lev Walkin vlm@netli.com