Date: Sat, 23 Jan 2016 16:54:52 -0200 From: "Marcus Cenzatti" <cenzatti@hush.com> To: "Navdeep Parhar" <nparhar@gmail.com> Cc: "Luigi Rizzo" <rizzo@iet.unipi.it>, freebsd-net@freebsd.org Subject: Re: Chelsio T520-SO-CR low performance (netmap tested) for RX Message-ID: <20160123185453.0FA7CA0128@smtp.hushmail.com> In-Reply-To: <20160123183836.GB4574@ox> References: <20160123053428.2091EA0121@smtp.hushmail.com> <20160123154052.GA4574@ox> <20160123171300.0F448A0121@smtp.hushmail.com> <CA%2BhQ2%2Bg4kU4LA4PexRPBv7z49ZWh-mDqdpw18SeoYaBueHyjZg@mail.gmail.com> <20160123174840.32B1DA0121@smtp.hushmail.com> <20160123183836.GB4574@ox>
next in thread | previous in thread | raw e-mail | index | archive | help
On 1/23/2016 at 4:38 PM, "Navdeep Parhar" <nparhar@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160123185453.0FA7CA0128>