Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Jan 2016 10:56:23 -0800
From:      Navdeep Parhar <nparhar@gmail.com>
To:        Marcus Cenzatti <cenzatti@hush.com>
Cc:        freebsd-net@freebsd.org
Subject:   Re: Chelsio T520-SO-CR low performance (netmap tested) for RX
Message-ID:  <20160123185623.GC4574@ox>
In-Reply-To: <20160123171300.0F448A0121@smtp.hushmail.com>
References:  <20160123053428.2091EA0121@smtp.hushmail.com> <20160123154052.GA4574@ox> <20160123171300.0F448A0121@smtp.hushmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jan 23, 2016 at 03:12:59PM -0200, Marcus Cenzatti wrote:
...
> intel# ./pkt-gen -i ix0 -f tx -d 00:07:43:33:8d:c1 -s 00:07:e9:44:d2:ba
> 267.767848 main [1715] interface is ix0
> 267.767990 extract_ip_range [291] range is 0.0.0.0:90 to 0.0.0.0:90
> 267.768006 extract_ip_range [291] range is 0.0.0.0:7 to 0.0.0.0:7

Does this mean the packets are being transmitted with source and
destination IP all 0?  Try to provide a more reasonable IP address
range.  The T5 receiver might be throwing away "obviously" bad frames.
(See my other email for how to check if it's dropping frames)

> 267.872796 main [1910] mapped 334980KB at 0x801c00000
> Sending on netmap:ix0: 8 queues, 1 threads and 1 cpus.
> 00 -> 00 (00:00:00:00:00:00 -> ff:ff:ff:ff:ff:ff)

This you've fixed already.  L2 broadcasts will get replicated by the
receiver and will be delivered to both the cxl and the ncxl interface.
The ncxl interface is set to drop on congestion but the cxl interface is
set to emit PAUSE on congestion.  cxl plugs into the stack, which is
slow at pps workloads, and so L2 broadcasts will result in PAUSE out of
the port and will slow down the transmitter.

Regards,
Navdeep



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160123185623.GC4574>