From owner-freebsd-net@FreeBSD.ORG Sun Apr 22 05:51:37 2012 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 CC4BE106566C; Sun, 22 Apr 2012 05:51:37 +0000 (UTC) (envelope-from vijju.singh@gmail.com) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 981D08FC0C; Sun, 22 Apr 2012 05:51:37 +0000 (UTC) Received: by pbcwz17 with SMTP id wz17so2641647pbc.13 for ; Sat, 21 Apr 2012 22:51:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=lr2CVhvlGL8nBa5sUEvfngYjOwACXVh4VfsaKRRskSg=; b=q1Wmb2g6BLMUQ6bgcphQfHTIx/dq2d1gD0QYqOiFg0BAjbGq/cbYTN5VrhUfZ8WQ97 tYBMWJAXfEeuUnMIQuzvlB2MP+50MscnySxrPPmFFq1XSTLLfxNFU5PLBAKWfmJsfdEu JJr+KoeC+5rcGOF4Up6CWvzpFXq4SNND9RVqt6PychOzH6BSrhwb40wXmXDpavaygk2X 911lFBISdfrU0bGFUqrIzc5FkjpvF+krpiDZFi+/h/zBZAfKVW95G2IcLUhy34ntzgm+ +M5G/uncx/UfH0ySxtd//DbzhuzTjRJo30jWkNOCLR/ut8yPkRhQHKXLHwTHA/SEKF49 2RPQ== MIME-Version: 1.0 Received: by 10.68.75.45 with SMTP id z13mr25639228pbv.100.1335073897193; Sat, 21 Apr 2012 22:51:37 -0700 (PDT) Received: by 10.143.18.11 with HTTP; Sat, 21 Apr 2012 22:51:37 -0700 (PDT) In-Reply-To: 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> <201204190822.31010.jhb@freebsd.org> Date: Sat, 21 Apr 2012 22:51:37 -0700 Message-ID: From: Vijay Singh To: Jack Vogel Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-net@freebsd.org, Luigi Rizzo , Sean Bruno , John Baldwin 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: Sun, 22 Apr 2012 05:51:37 -0000 >> 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 et al, is this limit specific to igb, or is it applicable to the ixgbe as well. From the 8.x driver code I see: 100/* 101 * TxDescriptors Valid Range: 64-4096 Default Value: 256 This value is the 102 * number of transmit descriptors allocated by the driver. Increasing this 103 * value allows the driver to queue more transmits. Each descriptor is 16 104 * bytes. Performance tests have show the 2K value to be optimal for top 105 * performance. 106 */ 107#define DEFAULT_TXD 1024 108#define PERFORM_TXD 2048 109#define MAX_TXD 4096 110#define MIN_TXD 64 Can the igxbe be extended beyond 4k transmit descriptors well? -vijay