From owner-freebsd-net Fri Mar 23 12:39:17 2001 Delivered-To: freebsd-net@freebsd.org Received: from molly.straylight.com (molly.straylight.com [209.68.199.242]) by hub.freebsd.org (Postfix) with ESMTP id 01D1937B71D for ; Fri, 23 Mar 2001 12:39:13 -0800 (PST) (envelope-from jonathan@graehl.org) Received: from dickie (case.straylight.com [209.68.199.244]) by molly.straylight.com (8.11.0/8.10.0) with SMTP id f2NKd5E29595; Fri, 23 Mar 2001 12:39:05 -0800 From: "Jonathan Graehl" To: "Alan L. Cox" Cc: "Freebsd-Net" Subject: RE: Linux Vs. FreeBSD Networking Performance Date: Fri, 23 Mar 2001 12:38:32 -0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <3ABAEC0A.994C6D2C@imimic.com> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Importance: Normal Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Yes, we do. In fact, the difference between FreeBSD and Linux is > greater > than 2x. On equivalent processors, we demonstrated 1900 polygraph > req/sec > on FreeBSD 4.2 and 720 polygraph req/sec on a 2.2.14 Linux kernel. It's > also worth mentioning that the response time for FreeBSD at 1900 req/sec > was faster than Linux at 720 req/sec. > > There are other advantages to FreeBSD, but kqueue is definitely > at the top of the list. > > Alan What would it take to get Linus to give the nod to an implementation conforming to the kqueue API? I remember him saying that he only wanted it to work for file descriptors, and to only allow one kqueue per process - neither of which I agree with. The abstraction penalty for the capability of multiple filter types and kqueue-as-selectable-fd is as minimal as a table lookup and a pointer indirection. If the kqueue API is overengineered, well, then, so is the Berkeley Sockets API. -- Jonathan Graehl http://jonathan.graehl.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message