From owner-freebsd-hackers@FreeBSD.ORG Fri Oct 17 11:57:07 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 EE7D416A4B3 for ; Fri, 17 Oct 2003 11:57:07 -0700 (PDT) Received: from h00609772adf0.ne.client2.attbi.com (h00609772adf0.ne.client2.attbi.com [66.31.45.197]) by mx1.FreeBSD.org (Postfix) with ESMTP id DD57F43F3F for ; Fri, 17 Oct 2003 11:57:02 -0700 (PDT) (envelope-from rodrigc@h00609772adf0.ne.client2.attbi.com) Received: from h00609772adf0.ne.client2.attbi.com (localhost.crodrigues.org [127.0.0.1])h9HIwOKl002172 for ; Fri, 17 Oct 2003 14:58:24 -0400 (EDT) (envelope-from rodrigc@h00609772adf0.ne.client2.attbi.com) Received: (from rodrigc@localhost)h9HIwNAM002171 for freebsd-hackers@freebsd.org; Fri, 17 Oct 2003 14:58:23 -0400 (EDT) (envelope-from rodrigc) Date: Fri, 17 Oct 2003 14:58:23 -0400 From: Craig Rodrigues To: freebsd-hackers@freebsd.org Message-ID: <20031017185823.GA2151@crodrigues.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i Subject: 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 18:57:08 -0000 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. I am also interested in looking at kqueue() performance in multithreaded environments....maybe with the new KSE implementation in CURRENT. Thanks. -- Craig Rodrigues http://crodrigues.org rodrigc@crodrigues.org