From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Dumazet Subject: Re: Difficulties to get 1Gbps on be2net ethernet card Date: Tue, 12 Jun 2012 10:55:45 +0200 Message-ID: <1339491345.22704.22.camel@edumazet-glaptop> References: <1338360536.2760.85.camel@edumazet-glaptop> <1338361587.2760.94.camel@edumazet-glaptop> <3367B80B08154D42A3B2BC708B5D41F647C678B73F@EXMAIL.ad.emulex.com> <1338980484.2760.4219.camel@edumazet-glaptop> <1339072289.3494.3.camel@edumazet-glaptop> <1339135709.6001.22.camel@edumazet-glaptop> <1339143759.6001.53.camel@edumazet-glaptop> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Cc: Sathya.Perla@emulex.com, netdev@vger.kernel.org To: Jean-Michel Hautbois Return-path: Received: from mail-ee0-f46.google.com ([74.125.83.46]:64266 "EHLO mail-ee0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752170Ab2FLIzt (ORCPT ); Tue, 12 Jun 2012 04:55:49 -0400 Received: by eeit10 with SMTP id t10so2112605eei.19 for ; Tue, 12 Jun 2012 01:55:48 -0700 (PDT) In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: On Tue, 2012-06-12 at 10:24 +0200, Jean-Michel Hautbois wrote: > 2012/6/8 Jean-Michel Hautbois : > > 2012/6/8 Eric Dumazet : > >> On Fri, 2012-06-08 at 10:14 +0200, Jean-Michel Hautbois wrote: > >>> 2012/6/8 Eric Dumazet : > >>> > On Thu, 2012-06-07 at 14:54 +0200, Jean-Michel Hautbois wrote: > >>> > > >>> >> eth1 Link encap:Ethernet HWaddr 68:b5:99:b9:8d:d4 > >>> >> UP BROADCAST RUNNING SLAVE MULTICAST MTU:4096 Metric:1 > >>> >> RX packets:0 errors:0 dropped:0 overruns:0 frame:0 > >>> >> TX packets:15215387 errors:0 dropped:0 overruns:0 carrier:0 > >>> >> collisions:0 txqueuelen:1000 > >>> >> RX bytes:0 (0.0 B) TX bytes:61476524359 (57.2 GiB) > >>> > > >>> >> qdisc mq 0: dev eth1 root > >>> >> Sent 61476524359 bytes 15215387 pkt (dropped 45683472, overlimits 0 > >>> >> requeues 17480) > >>> > > >>> > OK, and "tc -s -d cl show dev eth1" > >>> > > >>> > (How many queues are really used) > >>> > > >>> > > >>> > > >>> > >>> tc -s -d cl show dev eth1 > >>> class mq :1 root > >>> Sent 9798071746 bytes 2425410 pkt (dropped 3442405, overlimits 0 requeues 2747) > >>> backlog 0b 0p requeues 2747 > >>> class mq :2 root > >>> Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) > >>> backlog 0b 0p requeues 0 > >>> class mq :3 root > >>> Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) > >>> backlog 0b 0p requeues 0 > >>> class mq :4 root > >>> Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) > >>> backlog 0b 0p requeues 0 > >>> class mq :5 root > >>> Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) > >>> backlog 0b 0p requeues 0 > >>> class mq :6 root > >>> Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) > >>> backlog 0b 0p requeues 0 > >>> class mq :7 root > >>> Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) > >>> backlog 0b 0p requeues 0 > >>> class mq :8 root > >>> Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) > >>> backlog 0b 0p requeues 0 > >> > >> > >> Do you have the same distribution on old kernels as well ? > >> (ie only queue 0 is used) > >> > >> > >> > > > > On the old kernel, there is nothing returned by this command. > > > > JM > > I used perf in order to get more information. What happens if you force some traffic in the other way (say 50.000 (small) packets per second in RX) while doing your tests ?