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: Fri, 25 May 2012 08:22:18 +0200 Message-ID: <1337926938.7753.8.camel@edumazet-glaptop> References: <668eeb0d42a1678d9083a58deb3ac40d@visp.net.lb> <88c43001441945e1431609db252b69e7@visp.net.lb> <79d6b56fdf5f4be4656079568d5a7445@visp.net.lb> <4775d023592b876909aceb152f94aa01@visp.net.lb> <1337540825.3361.0.camel@edumazet-glaptop> <1337572583.3361.8.camel@edumazet-glaptop> <6d7500e1c3b4b191c0b5a11003b161d6@visp.net.lb> <1337589005.3361.19.camel@edumazet-glaptop> <1337589620.3361.23.camel@edumazet-glaptop> <1337707497.3361.233.camel@edumazet-glaptop> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Cc: Denys Fedoryshchenko , netdev@vger.kernel.org To: Tom Herbert Return-path: Received: from mail-ey0-f174.google.com ([209.85.215.174]:59074 "EHLO mail-ey0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751898Ab2EYGWX (ORCPT ); Fri, 25 May 2012 02:22:23 -0400 Received: by eaak11 with SMTP id k11so110432eaa.19 for ; Thu, 24 May 2012 23:22:22 -0700 (PDT) In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: On Thu, 2012-05-24 at 23:01 -0700, Tom Herbert wrote: > I think there is a potential problem in that netdev_tx_completed could > be called multiple times for the same interrupt, for example if napi > poll routine completes it's budget and is scheduled again and some new > packets are completed. We're looking at a solution to this. > > Denys, can you try to increase the netdev budget to see if that has an effect? TX completion has no budget, I am not sure what you mean. e1000e driver indeed has a limit : It cannot clean more than tx_ring->count frames per e1000_clean_tx_irq() invocation. But with BQL, this should not happen ? # ethtool -g eth0 Ring parameters for eth0: Pre-set maximums: RX: 4096 RX Mini: 0 RX Jumbo: 0 TX: 4096 Current hardware settings: RX: 256 RX Mini: 0 RX Jumbo: 0 TX: 256