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: Mon, 21 May 2012 10:40:20 +0200 Message-ID: <1337589620.3361.23.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> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Cc: Tom Herbert , netdev@vger.kernel.org, e1000-devel@lists.sourceforge.net, jeffrey.t.kirsher@intel.com, jesse.brandeburg@intel.com, davem@davemloft.net To: Denys Fedoryshchenko Return-path: Received: from mail-bk0-f46.google.com ([209.85.214.46]:33454 "EHLO mail-bk0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757011Ab2EUIk0 (ORCPT ); Mon, 21 May 2012 04:40:26 -0400 Received: by bkcji2 with SMTP id ji2so3701471bkc.19 for ; Mon, 21 May 2012 01:40:25 -0700 (PDT) In-Reply-To: <1337589005.3361.19.camel@edumazet-glaptop> Sender: netdev-owner@vger.kernel.org List-ID: On Mon, 2012-05-21 at 10:30 +0200, Eric Dumazet wrote: > On Mon, 2012-05-21 at 11:06 +0300, Denys Fedoryshchenko wrote: > > > Not sure it is a lot of time, after all it is 2 x core quad machine, > > should be enough fast for pings. > > It will cause stalls on small packets even more seems. > > > > Tested latest git, net-next, still the same, stalls. > > hardware latency detector are silent by the way, so there is no > > significant SMI. > > > > I am trying to reproduce your problem here with no luck yet. > > I wonder of softirq are correctly scheduled on your machine > By the way, fact you have 8 cpus is irrelevant. Only one cpu has queued the NET_TX_SOFTIRQ softirq (serviced by net_tx_action()) If this cpu is busy servicing other stuff, no other cpu will help.