Contributed by
jose
on
from the yet-another-tedu-kernel-patch dept.
TedU has created yet another cool kernel patch. This one deals with
ethernet device polling
. As stated on the website,
Polling helps prevent livelock when the machine starts receving packets at
a high rate. Interrupts, especially one per packet, increase the
time spent processsing each packet. Interrupts are more efficient for
slower packet rates, however, so you don't waste time polling for
packets which don't exist. To use: enable option DEVICE_POLLING and
rebuild kernel.
Sounds like high performance networking users should check this out. As always, this is an unofficial patch and could cause massive system instability and is unsupported by the official project.
Forgive me if this is an ignant question, but why can't they combine the two practices, e.g. use interrupts when the network load is below a certain point and device polling when the load increases?
My understanding of this kernel patch is that polling will be used to the exclusion of interrupts for network packets.
By Anonymous Coward () on
By Ed White () - on http://info.iet.unipi.it/~luigi/polling/
And add a link to original code/author.
Posts:
(http://docs.freebsd.org/cgi/getmsg.cgi?fetch=24840+0+archive/2001/freebsd-net/20011209.freebsd-net)
(http://docs.freebsd.org/cgi/getmsg.cgi?fetch=326556+0+archive/2001/freebsd-net/20011028.freebsd-net)
Thanks.
By Joel () on
Forgive me if this is an ignant question, but why can't they combine the two practices, e.g. use interrupts when the network load is below a certain point and device polling when the load increases?
My understanding of this kernel patch is that polling will be used to the exclusion of interrupts for network packets.