From owner-freebsd-net@FreeBSD.ORG Wed Jun 2 23:10:29 2010 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 48265106566B for ; Wed, 2 Jun 2010 23:10:29 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from tarsier.geekcn.org (tarsier.geekcn.org [IPv6:2001:470:a803::1]) by mx1.freebsd.org (Postfix) with ESMTP id DBF7A8FC2E for ; Wed, 2 Jun 2010 23:10:28 +0000 (UTC) Received: from mail.geekcn.org (tarsier.geekcn.org [211.166.10.233]) by tarsier.geekcn.org (Postfix) with ESMTP id CC47FA551C0; Thu, 3 Jun 2010 07:10:27 +0800 (CST) X-Virus-Scanned: amavisd-new at geekcn.org Received: from tarsier.geekcn.org ([211.166.10.233]) by mail.geekcn.org (mail.geekcn.org [211.166.10.233]) (amavisd-new, port 10024) with LMTP id hxh2-KUj4I+t; Thu, 3 Jun 2010 07:10:20 +0800 (CST) Received: from delta.delphij.net (drawbridge.ixsystems.com [206.40.55.65]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tarsier.geekcn.org (Postfix) with ESMTPSA id 8A5E5A55185; Thu, 3 Jun 2010 07:10:19 +0800 (CST) DomainKey-Signature: a=rsa-sha1; s=default; d=delphij.net; c=nofws; q=dns; h=message-id:date:from:reply-to:organization:user-agent: mime-version:to:subject:references:in-reply-to:x-enigmail-version:openpgp: content-type:content-transfer-encoding; b=nEVN6nlLye8jmlxAcGFcLa943IEbee2G2G5OVcjZrHlvzbYlMp6Y4mUgLZCq9PXQ+ ugMYn0EZjHrAK1J5+W9ig== Message-ID: <4C06E4D7.5020301@delphij.net> Date: Wed, 02 Jun 2010 16:10:15 -0700 From: Xin LI Organization: The Geek China Organization User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.9) Gecko/20100408 Thunderbird/3.0.4 ThunderBrowse/3.2.8.1 MIME-Version: 1.0 To: freebsd-net@freebsd.org References: <0BC7AD09-B627-4F6A-AD93-B7E794A78CA2@freebsd.org> In-Reply-To: <0BC7AD09-B627-4F6A-AD93-B7E794A78CA2@freebsd.org> X-Enigmail-Version: 1.0.1 OpenPGP: id=3FCA37C1; url=http://www.delphij.net/delphij.asc Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: A slight change to tcpip_fillheaders... X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: d@delphij.net List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jun 2010 23:10:29 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 2010/06/02 15:09, George Neville-Neil wrote: > Howdy, > > A while back another src developer mentioned that he had gotten better performance by changing > tcpip_fillheaders() in the following way: [...] > I have tried this change with NetPIPE (NPtcp -b 100000) on a pair of machines using Intel igb devices and found > that it provides no improvement, but I am wondering if other people want to try this and > see if it improves throughput at all. I was testing this on a Nehalem class machine, not sure if it > might help on other architectures. I'd for this change if it doesn't cause performance regression :) Cheers, - -- Xin LI http://www.delphij.net/ FreeBSD - The Power to Serve! Live free or die -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iQEcBAEBCAAGBQJMBuTXAAoJEATO+BI/yjfBj20H/iET4oZ6HrLpVcOea05yHfEd JdWdRXT8Ti4IVKhRN+6VsKWpQ0RxLEzi51YShQ/zNpqwDTF9hWiTMxKZh//90EyW GRxOPNKI94R/mo1uEDBIpPNZBvxn1cUy9Y+Q+A+P5kY6DK7L2+LVYRTk3UxO+gM4 jXUloDQQwg52o+nmgjE332ucMM2+r5ikDazoagDGsn6uIlSj0vhEsBxKtcU46M2w lLcdSVXs5hw9cX52o1JvNlyAejCHWKnp45PFqrPMCA+4TR2+Mr+kVgjjjoY4/aTz 38XyUxF3e921zh5kgdFrf8Fox8Aac+mpc9UYEoDQ/TU7TnUY5Rsz10SfZl2WPRo= =/aoI -----END PGP SIGNATURE-----