Re: packets per second routing tests: mismatch between switch (~4M pps) and netstat (~10M pps) scores

2017-09-15 Thread Navdeep Parhar
The tx errors/drops are almost always due to software queue overflow. There isn't much that can go wrong once the frame has successfully been submitted to the hw for tx. Do you have a lot of PAUSE coming in during the tests where you see just 31Kpps tx? You can monitor the incoming PAUSE frames w

packets per second routing tests: mismatch between switch (~4M pps) and netstat (~10M pps) scores

2017-09-15 Thread Caraballo-Vega, Jordan A. (GSFC-6062)[COMPUTER SCIENCE CORP]
Hi all, We are currently running udp 1500 bytes pps tests through a Dell PE R530 and two Chelsio T62100-LP-CR NICs acting as a router. At the switch we are seeing ~4M pps, while with "netstat -w1 -d -h" we are seeing ~10M pps or ~31k in the same test. Any idea of why scores are so different? It co

Re: NATted outbound traffic sometimes uses backup CARP IP on LACP/LAGG interface

2017-09-15 Thread Dave Cottlehuber
On Thu, 14 Sep 2017, at 23:32, Kristof Provost wrote: > On 14 Sep 2017, at 16:21, Dave Cottlehuber wrote: > > Outgoing traffic (from a jail) via PF NAT over a LAGG/LACP sometimes > > has the *backup* CARP IP address assigned to it. > > > I think this is your problem. You’re telling pf to nat to th

Re: NATted outbound traffic sometimes uses backup CARP IP on LACP/LAGG interface

2017-09-15 Thread Kristof Provost
On 15 Sep 2017, at 11:31, Dave Cottlehuber wrote: Can you explain what $if:0 resolves to, for example how does it relate to to the primary ipv4/6 addresses bound to that interface? I couldn't find a reference in the usual ifconfig manpages about this (ifname:#) format, the BNF grammar for pf.co