tuning for high connection rates
Mike Tancsa
mike at sentex.net
Wed Dec 5 08:16:19 PST 2007
At 07:14 PM 12/4/2007, Philipp Wuensche wrote:
>The debug output of em0 looks like this:
>
>em0: CTRL = 0x40140248 RCTL = 0x8002
>em0: Packet buffer = Tx=20k Rx=12k
>em0: Flow control watermarks high = 10240 low = 8740
>em0: tx_int_delay = 66, tx_abs_int_delay = 66
>em0: rx_int_delay = 32, rx_abs_int_delay = 66
>em0: fifo workaround = 0, fifo_reset_count = 0
>em0: hw tdh = 183, hw tdt = 183
>em0: hw rdh = 139, hw rdt = 139
>em0: Num Tx descriptors avail = 223
>em0: Tx Descriptors not avail1 = 6225
>em0: Tx Descriptors not avail2 = 3
>em0: Std mbuf failed = 0
>em0: Std mbuf cluster failed = 0
>em0: Driver dropped packets = 0
>em0: Driver tx dma failure in encap = 0
If you do a
sysctl -w dev.em.0.stats=1
It will spit the nic stats to syslog. What are the results ? Also,
what does ifconfig em0 look like (i.e. what options do you have set, speed etc)
---Mike
More information about the freebsd-performance
mailing list