Re: [vpp-dev] TCP performance - TSO - HW offloading in general.

2018-05-14 Thread Luca Muscariello (lumuscar)
.fd.io> Subject: Re: [vpp-dev] TCP performance - TSO - HW offloading in general. Hi Luca, Not really sure why the kernel is slow to reply to ping. Maybe it has to do with scheduling but it’s just guess work. I’ve never tried hping. Let me see if I understand your scenario: while running iperf

Re: [vpp-dev] TCP performance - TSO - HW offloading in general.

2018-05-14 Thread Florin Coras
ust be the reason. > > Luca > > > > From: Florin Coras <fcoras.li...@gmail.com> > Date: Friday 11 May 2018 at 23:02 > To: Luca Muscariello <lumuscar+f...@cisco.com> > Cc: "vpp-dev@lists.fd.io" <vpp-dev@lists.fd.io> > Subject: Re: [vpp-dev] T

Re: [vpp-dev] TCP performance - TSO - HW offloading in general.

2018-05-11 Thread Luca Muscariello
com> Date: Thursday 10 May 2018 at 13:52 To: Florin Coras <fcoras.li...@gmail.com> Cc: Luca Muscariello <lumuscar+f...@cisco.com>, "vpp-dev@lists.fd.io" <vpp-dev@lists.fd.io> Subject: Re: [vpp-dev] TCP performance - TSO - HW offloading in general. MTU had no eff

Re: [vpp-dev] TCP performance - TSO - HW offloading in general.

2018-05-10 Thread Luca Muscariello (lumuscar)
<lumus...@cisco.com> Cc: Luca Muscariello <lumuscar+f...@cisco.com>, "vpp-dev@lists.fd.io" <vpp-dev@lists.fd.io> Subject: Re: [vpp-dev] TCP performance - TSO - HW offloading in general. Hi Luca, We don’t yet support pmtu in the stack so tcp uses a fixed 1460 mtu, unle

Re: [vpp-dev] TCP performance - TSO - HW offloading in general.

2018-05-09 Thread Florin Coras
ready. > > Luca > > > From: Florin Coras <fcoras.li...@gmail.com> > Date: Monday 7 May 2018 at 22:23 > To: Luca Muscariello <lumus...@cisco.com> > Cc: Luca Muscariello <lumuscar+f...@cisco.com>, "vpp-dev@lists.fd.io" > <vpp-dev@lists.fd.io&

Re: [vpp-dev] TCP performance - TSO - HW offloading in general.

2018-05-09 Thread Luca Muscariello (lumuscar)
gt; Cc: Luca Muscariello <lumuscar+f...@cisco.com>, "vpp-dev@lists.fd.io" <vpp-dev@lists.fd.io> Subject: Re: [vpp-dev] TCP performance - TSO - HW offloading in general. Yes, the whole host stack uses shared memory segments and fifos that the session layer manages. For a brief descript

Re: [vpp-dev] TCP performance - TSO - HW offloading in general.

2018-05-07 Thread Luca Muscariello (lumuscar)
Hi Florin Thanks for the info. So, how do you explain VPP TCP stack beats Linux implementation by doubling the goodput? Does it come from vectorization? Any special memif optimization underneath? Luca On 7 May 2018, at 18:17, Florin Coras

Re: [vpp-dev] TCP performance - TSO - HW offloading in general.

2018-05-07 Thread Florin Coras
Hi Luca, We don’t yet support TSO because it requires support within all of vpp (think tunnels). Still, it’s on our list. As for crypto offload, we do have support for IPSec offload with QAT cards and we’re now working with Ping and Ray from Intel on accelerating the TLS OpenSSL engine also

[vpp-dev] TCP performance - TSO - HW offloading in general.

2018-05-07 Thread Luca Muscariello
Hi, A few questions about the TCP stack and HW offloading. Below is the experiment under test.   ++  +---+   |  +-+ DPDK-10GE|   |   |Iperf3| TCP |  ++  |TCP   Iperf3   |