From owner-freebsd-net@FreeBSD.ORG Tue Apr 17 23:24:39 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 791E8106564A for ; Tue, 17 Apr 2012 23:24:39 +0000 (UTC) (envelope-from seanbru@yahoo-inc.com) Received: from mrout2-b.corp.bf1.yahoo.com (mrout2-b.corp.bf1.yahoo.com [98.139.253.105]) by mx1.freebsd.org (Postfix) with ESMTP id 3F7F38FC16 for ; Tue, 17 Apr 2012 23:24:39 +0000 (UTC) Received: from [IPv6:::1] (rideseveral.corp.yahoo.com [10.73.160.231]) by mrout2-b.corp.bf1.yahoo.com (8.14.4/8.14.4/y.out) with ESMTP id q3HNOOXH022380 for ; Tue, 17 Apr 2012 16:24:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yahoo-inc.com; s=cobra; t=1334705065; bh=nACyvlnxJ7uDD/XMXoCqZxCo80CjuzDNqjcITxVwjYA=; h=Subject:From:Reply-To:To:Content-Type:Date:Message-ID: Mime-Version:Content-Transfer-Encoding; b=EQlEGOwDKscY72a0MuwR/nuiArNXSZ72QuVfyIEvsFL1fhzXrkgKlk2Zas+MTHFUC 9un9FPro70hJi2YKeJdE54PifwJQE2e4ZhrPKORctlDrMMeFFk34aPeWBT2RXIlO/f uKIIF2uUYf1RkO93ETvJ1QZyR8FiVA2upZfMgwJ8= From: Sean Bruno To: "freebsd-net@freebsd.org" Content-Type: text/plain; charset="UTF-8" Date: Tue, 17 Apr 2012 16:24:24 -0700 Message-ID: <1334705064.4486.23.camel@powernoodle-l7.corp.yahoo.com> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Subject: igb(4) Raising IGB_MAX_TXD ?? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: sbruno@freebsd.org List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Apr 2012 23:24:39 -0000 We're running a service with a 82576 configured with 4 queues and a maxed rxd/txd configuration: http://people.freebsd.org/~sbruno/igb_stats.txt We still see, under higher load spikes, a tendency to drop packets (I suspect an application issue at this point, but want to attempt to alleviate some congestion). I note that IGB_MAX_RXD is set to 4k. Reviewing the Intel spec shell on the 82576 I see that the maximum value for the Descriptor Ring Length (8.10.8) is 32k descriptors. Does that mean I should be able to go higher that 4k? I suspect that even if I can, that would merely make the traffic fill more buffer space, but maybe its enough to make it work a bit better. Sean