From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Dumazet Subject: Re: Strange latency spikes/TX network stalls on Sun Fire X4150(x86) and e1000e Date: Wed, 06 Jun 2012 19:05:04 +0200 Message-ID: <1339002304.26966.16.camel@edumazet-glaptop> References: <668eeb0d42a1678d9083a58deb3ac40d@visp.net.lb> <88c43001441945e1431609db252b69e7@visp.net.lb> <79d6b56fdf5f4be4656079568d5a7445@visp.net.lb> <20120529232518.e5b41759.shimoda.hiroaki@gmail.com> <1338959413.2760.3686.camel@edumazet-glaptop> <20120606174303.0bfc9868.shimoda.hiroaki@gmail.com> <20120606092635.00003b61@unknown> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Cc: Hiroaki SHIMODA , Tom Herbert , Denys Fedoryshchenko , netdev@vger.kernel.org, e1000-devel@lists.sourceforge.net, jeffrey.t.kirsher@intel.com, davem@davemloft.net To: Jesse Brandeburg Return-path: Received: from mail-ey0-f174.google.com ([209.85.215.174]:39843 "EHLO mail-ey0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752823Ab2FFRFM (ORCPT ); Wed, 6 Jun 2012 13:05:12 -0400 Received: by eaak11 with SMTP id k11so2046250eaa.19 for ; Wed, 06 Jun 2012 10:05:11 -0700 (PDT) In-Reply-To: <20120606092635.00003b61@unknown> Sender: netdev-owner@vger.kernel.org List-ID: On Wed, 2012-06-06 at 09:26 -0700, Jesse Brandeburg wrote: > On Wed, 6 Jun 2012 Hiroaki SHIMODA wrote: > > Sorry for long delay. I'll post. > > (I have no idea how to fix this problem as keeping TXDCTL.WTHRESH to 5) > > I don't like changing WTHRESH wholesale because making the global change > to WTHRESH on e1000e just to fix this one bug (likely specific to a > particular chip/hardware) will adversely effect performance on many > models supported by e1000e not demonstrating any problem. We could > possibly check something in for just ESB2LAN (S5000 chipset). > > Other people (tom herbert) with this same chipset have been unable to > reproduce this issue right? Thats because Tom Herbert (and me on my T420s laptop) dont have FLAG2_DMA_BURST in adapter->flags2 So it depends on some e1000e, not all... You cant hold a TX completion indefinitely, this breaks BQL but also other stuff.