Thread (6 messages) flat view 6 messages, 5 authors, 2011-02-20

Re: Question about tg3 and bnx2 driver suppliers

From: Stephen Hemminger <hidden>
Date: 2011-02-20 20:41:20

On Sun, 20 Feb 2011 20:17:00 +0100
Eric Dumazet [off-list ref] wrote:
Le dimanche 20 février 2011 à 19:19 +0100, Micha Nelissen a écrit :
quoted
Eric Dumazet wrote:
quoted
One possible cause of packet drops is when softirqs are disabled for too
long periods, even if NIC has a big RX ring (check ethtool -g eth0)
Why aren't the softirqs converted to workqueues? Wouldn't that cut 
dependencies to other softirq users and improve latency?
Because it was done like that in the old days.

Its a bit less important these days, now typical machines have 8+ cpus.
Each device interrupt can be handled by its own cpu :)
The latency to schedule a work queue is still much higher
than the latency to do a softirq. Last time I played around with it,
things like loopback performance dropped 10% if using work queue.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help