Thread (31 messages) 31 messages, 3 authors, 2012-06-12

Re: Difficulties to get 1Gbps on be2net ethernet card

flat view

From: Jean-Michel Hautbois <hidden>
Date: 2012-05-30 10:06:49

2012/5/30 Eric Dumazet [off-list ref]:
On Wed, 2012-05-30 at 11:40 +0200, Jean-Michel Hautbois wrote:
quoted
I used vmstat in order to see the differences between the two kernels.
The main difference is the number of interrupts per second.
I have an average of 87500 on 3.2 and 7500 on 2.6, 10 times lower !
I suspect the be2net driver to be the main cause, and I checkes the
/proc/interrupts file in order to be sure.

I have for eth1-tx on 2.6.26 about 2200 interrupts per second and 23000 on 3.2.
BTW, it is named eth1-q0 on 3.2 (and tx and rx are the same IRQ)
whereas there is eth1-rx0 and eth1-tx on 2.6.26.
Might be different coalescing params :

ethtool -c eth1
Yes, as stated in my first e-mail, this is different, in 2.6.26 the
adaptive-tx coalescing is off, while it is on for 3.4 (sorry, I said
3.2 before but it is 3.4).
But I can't change this setting since commit 10ef9ab...
JM
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help