DragonFly commits List (threaded) for 2008-11
DragonFly BSD
DragonFly commits List (threaded) for 2008-11
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/sys/dev/netif/bce if_bce.c


From: Sepherosa Ziehau <sephe@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 19 Nov 2008 05:57:49 -0800 (PST)

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@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]