My question is:
1) does anybody have an experience with this technique ?
Yes.
what is the threshold (of k packets for a second) from which it
became efficinet
to use NAPI over usual non-NAPI solutions ?
(I am talking about Xeon processor ~2.4 Ghz , but also data on
other prcoessors can help)
That's the wrong question. The right question is - what is the
threshhold of packet per seconds (or interrupt per seconds) that I
should set NAPI to go to polling mode?
NAPI is adaptive, that's the entire idea - you can set the threshhold
yourself.
2) Specically regarding NAPI and Broadcom cards:
On many distrubutins, the Broadcom BCM5700 family of Network Drivers
uses the tg3 driver. ( Tigon3 ethernet driver, in /linux/drivers/net/tg3.c)
On broadcom website there is a driver for linux that they wrote for Linux.
http://www.broadcom.com/drivers/downloaddrivers.php
(the BCM57xx Drivers).
Is there any advantage of using the Broadcom drivers to using the tg3 driver ?
(and does the kernel version - 2.4 or 2.6 - has any importance in this respect?)
Basically, Broadcam wrote the BCM57xx driver first and it... ehm... did
not live up to kernel maintainers taste, so they hacked it up until it
looked like something that they are willing to accept into the tree,
whereupon it got renamed as tg3.
The only problem is that the Broadcom people update their BCM version
with newer versions of the chipset form time to time.
Basically, my rule to use either one is this - if your hardware works
with the tg3 drivers use that. Otherwise, use the BCM one.
Cheers,
Gilad
--
Gilad Ben-Yossef <[EMAIL PROTECTED]>
Codefidence. A name you can trust(tm)
Web: http://codefidence.com | SIP: [EMAIL PROTECTED]
IL: +972.9.8650475 ext. 201 | Fax: +972.9.8850643
US: +1.360.2275194 ext. 201 | Cel: +972.52.8260388
"I am Jack's Overwritten Stack Pointer"
-- Hackers Club, the movie
=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]