Skip to contentSkip to conversation

excessive interrupts on network cards

DISCUSSION Chris Newton 1 participant 1 message Sep 25, 2001

lore
Share & tools
lore
#0 lore raw

Even once I get this current problem worked out, I'd be interested in testing something along these lines. I'm working to build a nice, fast network monitor, and so, the performance of the box under high traffic load is very important.

Are these changes totally related to the card you are using, or can they be
applied more generally to other cards?

Chris

Quoted 23 lines

===== Original Message From Benjamin LaHaise <[email protected]> =====

Quoted 7 lines · Chris Newton

Yea, it is a single port card... I had meant to mention that in the email I sent out... ie: that it wasn't reporting correctly... but, I didnt really think it was related, since the eepro was doing the same thing.

As for comparing with ifconfig, I ran 'watch 1 ifconfig -a', and sure
enough, I have about ~7000-7500 packets coming in right now. And, the 'procinfo -D', reports ~21000-22000 interrupts per second.

This is heavily dependant on the interrupt mitigation features that a card has. At least for the ns83820 driver, I'm testing a technique where the driver essentially switches to polled mode once the interrupt load goes above a certain threshold, thereby limiting the load to ~2500 irq/sec. Combined with carefully placed data prefetching, I'm seeing a huge increase in performance. Of course, this comes at the expense of latency.

-ben
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/