From owner-freebsd-net@FreeBSD.ORG Thu Apr 19 13:58:16 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 EF2711065686 for ; Thu, 19 Apr 2012 13:58:16 +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 C376F8FC17 for ; Thu, 19 Apr 2012 13:58:16 +0000 (UTC) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 36623B958; Thu, 19 Apr 2012 09:58:16 -0400 (EDT) From: John Baldwin To: freebsd-net@freebsd.org Date: Thu, 19 Apr 2012 08:22:30 -0400 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110714-p13; KDE/4.5.5; amd64; ; ) References: <1334705064.4486.23.camel@powernoodle-l7.corp.yahoo.com> <1334767746.3466.6.camel@powernoodle-l7.corp.yahoo.com> <1334792417.19343.11.camel@powernoodle-l7.corp.yahoo.com> In-Reply-To: <1334792417.19343.11.camel@powernoodle-l7.corp.yahoo.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201204190822.31010.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Thu, 19 Apr 2012 09:58:16 -0400 (EDT) Cc: Luigi Rizzo , Sean Bruno , Jack Vogel Subject: Re: igb(4) Raising IGB_MAX_TXD ?? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Apr 2012 13:58:17 -0000 On Wednesday, April 18, 2012 7:40:17 pm Sean Bruno wrote: > > On Wed, 2012-04-18 at 09:49 -0700, Sean Bruno wrote: > > ok, good. that at least confirms that I correctly translated between > > the driver code and documented specification. > > > > I will try 8k as a test for now and see how that runs. > > > > sean > > For now, I've patched one front end server with: > /usr/src/sys/dev/e1000/if_igb.h:#define IGB_MAX_RXD 4096 * 4 > > And adjusted hw.igb.rxd: 8192 > > So far so good, been running in production for a couple of hours so the > "smoke test" for this setting seems to be happy. > > We'll continue to adjust and test tomorrow during higher load > conditions. FWIW, at my current employer we run with both rxd and txd cranked up to 32k (we had to patch the driver as you suggested) and have not had any problems doing that for a couple of years now. -- John Baldwin