From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Dumazet Subject: Re: Regression on TX throughput when using bonding Date: Thu, 14 Jun 2012 16:29:17 +0200 Message-ID: <1339684157.22704.722.camel@edumazet-glaptop> References: <1339665719.22704.692.camel@edumazet-glaptop> <1339667417.22704.707.camel@edumazet-glaptop> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Cc: netdev To: Jean-Michel Hautbois Return-path: Received: from mail-ey0-f174.google.com ([209.85.215.174]:60968 "EHLO mail-ey0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755905Ab2FNO3W (ORCPT ); Thu, 14 Jun 2012 10:29:22 -0400 Received: by eaak11 with SMTP id k11so595060eaa.19 for ; Thu, 14 Jun 2012 07:29:21 -0700 (PDT) In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: On Thu, 2012-06-14 at 16:14 +0200, Jean-Michel Hautbois wrote: > ~# tc -s -d qdisc show dev eth1 > before_tc && sleep 10 && tc -s -d > qdisc show dev eth1 > after_tc && ./beforeafter before_tc after_tc > qdisc mq 0: root > Sent 3185900568 bytes 788681 pkt (dropped 0, overlimits 0 requeues 620) > backlog 0b 0p requeues 620 > > As you can see, 2.5Gbps without any difficulties :). > > Thanks, > JM I have no idea why throughput on ethernet link is changed. There is another bug elsewhere. Use a thousand of sockets instead of few, and you'll hit the bug. Orphaning skbs should not lower speed of the device, only drops excess packets, instead of blocking the application, waiting the socket wmem alloc being freed by destructors. Are you playing with process priorities ? If the ksoftirqd cannot run, this could explain the problem.