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: Tue, 22 May 2012 19:24:57 +0200 Message-ID: <1337707497.3361.233.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> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Cc: Tom Herbert , netdev@vger.kernel.org To: Denys Fedoryshchenko Return-path: Received: from mail-ee0-f46.google.com ([74.125.83.46]:44853 "EHLO mail-ee0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753979Ab2EVRZB (ORCPT ); Tue, 22 May 2012 13:25:01 -0400 Received: by eeit10 with SMTP id t10so1795744eei.19 for ; Tue, 22 May 2012 10:25:00 -0700 (PDT) In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: On Tue, 2012-05-22 at 20:11 +0300, Denys Fedoryshchenko wrote: > By the way, if BQL limit is going lower than MTU, is it considered as a > bug? > If yes, i can try to upload 3.4 to some servers and add condition to > WARN_ON if limit < 1500. There is no problem with BQL limit going lower than the max packet size. (With TSO it can be 64K) Remember BQL allows one packet to be sent to device, regardless of its size. Next packet might be blocked/stay in Qdisc If your workload is mostly idle, but sending bursts of 3 packets, then only one is immediately sent. Next packets shall wait the TX completion of first packet.