From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 1B8BF5A76 for ; Fri, 17 Jul 2015 02:54:21 +0200 (CEST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga101.jf.intel.com with ESMTP; 16 Jul 2015 17:54:21 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.15,491,1432623600"; d="scan'208";a="766036107" Received: from kmsmsx154.gar.corp.intel.com ([172.21.73.14]) by orsmga002.jf.intel.com with ESMTP; 16 Jul 2015 17:54:20 -0700 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by KMSMSX154.gar.corp.intel.com (172.21.73.14) with Microsoft SMTP Server (TLS) id 14.3.224.2; Fri, 17 Jul 2015 08:52:11 +0800 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.165]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.146]) with mapi id 14.03.0224.002; Fri, 17 Jul 2015 08:52:10 +0800 From: "Lu, Wenzhuo" To: Stephen Hemminger Thread-Topic: igb PMD should set the default tx wthresh correctly. Thread-Index: AQHQv+s6GKyAAv5mPE6FRIkhmxSN8p3e1IhQ Date: Fri, 17 Jul 2015 00:52:09 +0000 Message-ID: <6A0DE07E22DDAD4C9103DF62FEBC0909CFAAE6@shsmsx102.ccr.corp.intel.com> References: <20150716101650.45c0e25a@urahara> In-Reply-To: <20150716101650.45c0e25a@urahara> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] igb PMD should set the default tx wthresh correctly. X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Jul 2015 00:54:22 -0000 Hi Stephen, I don't think there's a conflict. The message just reminder us that we can = adjust the values to achieve better performance. I saw ixgbe and i40e also use 0 as the same default value. To my opinion, i= t's good to keep the same behavior. Thanks. > -----Original Message----- > From: Stephen Hemminger [mailto:shemming@brocade.com] > Sent: Friday, July 17, 2015 1:17 AM > To: Lu, Wenzhuo > Cc: dev@dpdk.org > Subject: igb PMD should set the default tx wthresh correctly. >=20 > Why doesn't igb driver set the wthresh it wants as default? >=20 > I see: > PMD: eth_igb_tx_queue_setup(): To improve 1G driver performance, > consider setting the TX WTHRESH value to 4, 8, or 16. >=20 > But the default tx_conf has wthresh of 0. >=20 > #define IGB_DEFAULT_TX_WTHRESH 0 >=20 >=20 > Either message should be removed or default TX wthresh should change.