From owner-freebsd-arch@FreeBSD.ORG Thu Nov 10 20:48:58 2005 Return-Path: X-Original-To: freebsd-arch@freebsd.org Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3822616A420; Thu, 10 Nov 2005 20:48:58 +0000 (GMT) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (gate.funkthat.com [69.17.45.168]) by mx1.FreeBSD.org (Postfix) with ESMTP id C31C443D4C; Thu, 10 Nov 2005 20:48:55 +0000 (GMT) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (localhost.funkthat.com [127.0.0.1]) by hydrogen.funkthat.com (8.13.3/8.13.3) with ESMTP id jAAKmqPv043403; Thu, 10 Nov 2005 12:48:52 -0800 (PST) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.13.3/8.13.3/Submit) id jAAKmn2M043402; Thu, 10 Nov 2005 12:48:49 -0800 (PST) (envelope-from jmg) Date: Thu, 10 Nov 2005 12:48:49 -0800 From: John-Mark Gurney To: Maxim Konovalov Message-ID: <20051110204849.GC775@funkthat.com> Mail-Followup-To: Maxim Konovalov , Xin LI , delphij@freebsd.org, freebsd-arch@freebsd.org References: <20051110172650.Q48388@mp2.macomnet.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20051110172650.Q48388@mp2.macomnet.net> User-Agent: Mutt/1.4.2.1i X-Operating-System: FreeBSD 5.4-RELEASE-p6 i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html Cc: delphij@freebsd.org, Xin LI , freebsd-arch@freebsd.org Subject: Re: [PATCH FOR REVIEW] kqueue'ify inetd(8) and several other cleanups X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: John-Mark Gurney List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Nov 2005 20:48:58 -0000 Maxim Konovalov wrote this message on Thu, Nov 10, 2005 at 17:27 +0300: > On Thu, 10 Nov 2005, 11:43+0800, Xin LI wrote: > > > Dear folks, > > > > Here is a patchset that taught inetd(8) about kqueue, and some other > > cleanups that raises WARNS level from 2 to 3, etc. > > > > http://people.freebsd.org/~delphij/for_review/patch-inetd-kqueue > > > > The kqueue part was a continuation of jmg@'s patchset. > > Can I ask: why? Or to ask a different question, why continue to use select? When I originally did the patch for inetd, I was VERY surprised at how little of the logic I had to change to make it use kqueue... Part of the reason I never committed it was that I did most of my work on 3.x at the time, and I had serious tcp connection rate issues with 4.x (-current) at the time, and people wanted benchmarks, but w/ 4.x, I couldn't get more than a hundred connections per second, while my 3.x box could do thousands... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."