[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1339491345.22704.22.camel@edumazet-glaptop>
Date: Tue, 12 Jun 2012 10:55:45 +0200
From: Eric Dumazet <eric.dumazet@...il.com>
To: Jean-Michel Hautbois <jhautbois@...il.com>
Cc: Sathya.Perla@...lex.com, netdev@...r.kernel.org
Subject: Re: Difficulties to get 1Gbps on be2net ethernet card
On Tue, 2012-06-12 at 10:24 +0200, Jean-Michel Hautbois wrote:
> 2012/6/8 Jean-Michel Hautbois <jhautbois@...il.com>:
> > 2012/6/8 Eric Dumazet <eric.dumazet@...il.com>:
> >> On Fri, 2012-06-08 at 10:14 +0200, Jean-Michel Hautbois wrote:
> >>> 2012/6/8 Eric Dumazet <eric.dumazet@...il.com>:
> >>> > 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 ?
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists