From owner-freebsd-net@FreeBSD.ORG Wed Oct 24 15:07:27 2012 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 980B2B45; Wed, 24 Oct 2012 15:07:27 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from bigwig.baldwin.cx (bigknife-pt.tunnel.tserv9.chi1.ipv6.he.net [IPv6:2001:470:1f10:75::2]) by mx1.freebsd.org (Postfix) with ESMTP id 6AD028FC0C; Wed, 24 Oct 2012 15:07:27 +0000 (UTC) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id A3FE5B95E; Wed, 24 Oct 2012 11:07:26 -0400 (EDT) From: John Baldwin To: freebsd-net@freebsd.org Subject: Re: ixgb TSO performance degrades by ~30% between 7.4 and 8.2/9.0/9.1 Date: Wed, 24 Oct 2012 11:07:10 -0400 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110714-p20; KDE/4.5.5; amd64; ; ) References: In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201210241107.10775.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Wed, 24 Oct 2012 11:07:26 -0400 (EDT) Cc: Garrett Cooper , Jack F Vogel X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Oct 2012 15:07:27 -0000 On Tuesday, October 23, 2012 6:57:01 pm Garrett Cooper wrote: > Hi, > > Doing some poking around at the ixgb driver with a card I have at > $work using netperf and two machines hooked up over crossover, I > discovered that while ixgb's throughput performance was fantastic on > 7.3/7.4, thoughput performance of the card is degraded on 8.2/9.0/9.1 > by ~30% (9400Mbps on 7.4 -> 6294Mbps on 9.0 for example). LRO > performance on the other hand is fantastic and doesn't degrade with > the card across FreeBSD versions. Performance remains constant with > ixgb across 8.2/9.0/9.1. I didn't observe the CPU usage. Interesting, maybe as an experiment try hacking the #ifdef's to use if_start() instead of if_transmit(). -- John Baldwin