cvs commit: src/sys/dev/netif/bce if_bce.c
Sepherosa Ziehau
sephe at crater.dragonflybsd.org
Wed Nov 19 06:00:22 PST 2008
sephe 2008/11/19 05:57:49 PST
DragonFly src repository
Modified files:
sys/dev/netif/bce if_bce.c
Log:
Don't use "timeout" mode for RX HC. The "collect" mode gives much simpler
RX HC formula:
if (packets > rx_bds || time since 1st packet > rx_ticks)
generate interrupt
Adjust RX BDs to 128, and RX ticks to 125. This gives 12000~14000/s interrupt
rate across all ranges of packet size; this also gives good RX performance:
- 1GB line rate for bulk data (TCP/UDP)
- Peak packet per second rate of the hardware
Thank Brad <brad at comstyle.com> very much!
Revision Changes Path
1.21 +4 -10 src/sys/dev/netif/bce/if_bce.c
http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/bce/if_bce.c.diff?r1=1.20&r2=1.21&f=u
More information about the Commits
mailing list