From owner-freebsd-stable@FreeBSD.ORG Thu Nov 9 15:51:28 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8410516A494; Thu, 9 Nov 2006 15:51:28 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3409B43D55; Thu, 9 Nov 2006 15:51:25 +0000 (GMT) (envelope-from scottl@samsco.org) Received: from [192.168.254.11] (phobos.samsco.home [192.168.254.11]) (authenticated bits=0) by pooker.samsco.org (8.13.4/8.13.4) with ESMTP id kA9FpIBT037111; Thu, 9 Nov 2006 08:51:24 -0700 (MST) (envelope-from scottl@samsco.org) Message-ID: <45534E76.6020906@samsco.org> Date: Thu, 09 Nov 2006 08:51:18 -0700 From: Scott Long User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.0.7) Gecko/20060910 SeaMonkey/1.0.5 MIME-Version: 1.0 To: Mike Tancsa References: <2a41acea0611081719h31be096eu614d2f2325aff511@mail.gmail.com> <200611091536.kA9FaltD018819@lava.sentex.ca> In-Reply-To: <200611091536.kA9FaltD018819@lava.sentex.ca> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.4 required=3.8 tests=ALL_TRUSTED autolearn=failed version=3.1.1 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on pooker.samsco.org Cc: freebsd-net , freebsd-stable@freebsd.org, Jack Vogel Subject: Re: Proposed 6.2 em RELEASE patch X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Nov 2006 15:51:28 -0000 Mike Tancsa wrote: > At 08:19 PM 11/8/2006, Jack Vogel wrote: > >> BUT, I've added the FAST_INTR changes back into the code, so >> if you go into your Makefile and add -DEM_FAST_INTR you will >> then get the taskqueue stuff. > > It certainly does make a difference performance wise. I did some quick > testing with netperf and netrate. Back to back boxes, using an AMD x2 > with bge nic and one intel box > > CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ (2009.27-MHz > 686-class CPU) > CPU: Intel(R) Core(TM)2 CPU 6400 @ 2.13GHz (2144.01-MHz > 686-class CPU) > > The intel is a DG965SS with integrated em nic, the AMD a Tyan with > integrated bge. Both running SMP kernels with pf built in, no inet6. > > > Intel box as sender. In this test its with the patch from yesterday. The > first set with the patch as is, the second test with -DEM_FAST_INTR. > Thanks for the tests. One thing to note is that Gleb reported a higher rate of dropped packets with INTR_FAST. He is the only one who has reported this, so I'd like to find out if there is something unique to his environment, or if there is a larger problem to be addressed. There are ways that we can change the driver to not drop any packets at all for Gleb, but they expose the system to risk if there is ever an accidental (or malicious) RX flood on the interface. Scott