Chelsio T520-SO-CR low performance (netmap tested) for RX
Marcus Cenzatti
cenzatti at hush.com
Sat Jan 23 18:54:55 UTC 2016
On 1/23/2016 at 4:38 PM, "Navdeep Parhar" <nparhar at gmail.com> wrote:
>
>On Sat, Jan 23, 2016 at 03:48:39PM -0200, Marcus Cenzatti wrote:
>...
>>
>> woops, my bad, yes probably we had some drop, with -S and -D now
>I get 1.2Mpps.
>
>Run "netstat -hdw1 -i cxl<n>" on the receiver during your test.
>Do you
>see errs and/or idrops incrementing? The input "packets" counter
>should
>match what the transmitter is claiming to transmit at.
>
>Also check the output of this:
># sysctl -n dev.t5nex.0.misc.tp_err_stats
>It is ok if you see tnlCongDrops, but any of the Errs counter
>going up
>is not good -- it means the incoming frames had errors.
>
>Do you know if the transmitter will pad up so as not to put runts
>on the
>wire? If not then you might want to bump up the size of the frame
>explicitly (there's some pkt-gen knob for this).
>
>Regards,
>Navdeep
>
the size frames I sent based on luigi's suggestions show some particular behaviour as you see it?
here is the output for netstat when I pkt-gen -f tx un-throttled (14Mpps):
input (Total) output
packets errs idrops bytes packets errs bytes colls drops
900k 0 0 55M 3 0 550 0 0
900k 0 0 55M 3 0 422 0 0
900k 0 0 55M 3 0 422 0 0
900k 0 0 55M 3 0 422 0 0
900k 0 0 55M 9 0 2.4K 0 0
900k 0 0 55M 3 0 422 0 0
900k 0 0 55M 3 0 422 0 0
900k 0 0 55M 3 0 422 0 0
900k 0 0 55M 3 0 422 0 0
900k 0 0 55M 3 0 422 0 0
as for the error stats:
# sysctl -n dev.t5nex.0.misc.tp_err_stats
channel 0 channel 1 channel 2 channel 3
macInErrs: 292496 0 0 0
hdrInErrs: 0 0 0 0
tcpInErrs: 0 0 0 0
tcp6InErrs: 0 0 0 0
tnlCongDrops: 30750953 0 0 0
tnlTxDrops: 0 0 0 0
ofldVlanDrops: 0 0 0 0
ofldChanDrops: 0 0 0 0
ofldNoNeigh: 0
ofldCongDefer: 0
More information about the freebsd-net
mailing list