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 
> wrote:

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 with QAT cards.

Regards,
Florin

On May 7, 2018, at 7:53 AM, Luca Muscariello 
> wrote:

Hi,

A few questions about the TCP stack and HW offloading.
Below is the experiment under test.

  ++  +---+
  |  +-+ DPDK-10GE|   |
  |Iperf3| TCP |  ++  |TCP   Iperf3
  |  ++Nexus Switch+--+   +
  |LXC   | VPP||  ++  |VPP |LXC   |
  ++  DPDK-10GE   +---+


Using the Linux kernel w/ or w/o TSO I get an iperf3 goodput of 9.5Gbps or 
4.5Gbps.
Using VPP TCP stack I get 9.2Gbps, say max goodput as Linux w/ TSO.

Is there any TSO implementation already in VPP one can take advantage of?

Side question. Is there any crypto offloading service available in VPP?
Essentially  for the computation of RSA-1024/2048, EDCSA 192/256 signatures.

Thanks
Luca





Re: [vpp-dev] NOTIFICATION: FD.io Maintenance

2018-05-07 Thread Vanessa Valderrama
*Reminder of upcoming maintenance*


On 04/26/2018 10:02 AM, Vanessa Valderrama wrote:
>
> Please let me know if the following maintenance schedule conflicts
> with your projects.
>
> *Nexus 2018-05-08 - **1700 UTC*
>
> The Nexus maintenance will require a restart of Nexus to bump up the
> JVM and run scheduled tasks to clean up the VPP CentOS repositories. 
> The size of the repositories, specifically master is causing
> intermittent timeouts and slowness.  There is risk in crashing the JVM
> when we run the scheduled tasks.
>
> *JIRA & OpenGrok AWS Migration 2018-05-09 - **2100 UTC to 0100 UTC*
>
> Services will be unavailable for approximately 2-3 hours depending on
> data transfer.
>
> *Gerrit 2018-05-15 - 2100 UTC to 0100 UTC*
>
> Gerrit will be unavailable for approximately 2-3 hours depending on
> data transfer.  Jenkins will be placed in shutdown mode 1 hour prior
> to the start of maintenance.
>
> *Sonar 2018-05-16 - **2100 UTC to 0100 UTC*
>
> Sonar will be unavailable for approximately 2-3 hours depending on
> data transfer.
>



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 with QAT cards. 

Regards, 
Florin

> On May 7, 2018, at 7:53 AM, Luca Muscariello  wrote:
> 
> Hi,
>
> A few questions about the TCP stack and HW offloading.
> Below is the experiment under test.
>
>   ++  +---+
>   |  +-+ DPDK-10GE|   |
>   |Iperf3| TCP |  ++  |TCP   Iperf3
>   |  ++Nexus Switch+--+   +
>   |LXC   | VPP||  ++  |VPP |LXC   |
>   ++  DPDK-10GE   +---+
>
>
> Using the Linux kernel w/ or w/o TSO I get an iperf3 goodput of 9.5Gbps or 
> 4.5Gbps.
> Using VPP TCP stack I get 9.2Gbps, say max goodput as Linux w/ TSO.
>
> Is there any TSO implementation already in VPP one can take advantage of?
>
> Side question. Is there any crypto offloading service available in VPP?
> Essentially  for the computation of RSA-1024/2048, EDCSA 192/256 signatures.
> 
> Thanks
> Luca
>
> 



[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

  |  ++Nexus Switch+--+   +

  |LXC   | VPP||  ++  |VPP |LXC   |

  ++  DPDK-10GE   +---+

 

 

Using the Linux kernel w/ or w/o TSO I get an iperf3 goodput of 9.5Gbps or 
4.5Gbps.

Using VPP TCP stack I get 9.2Gbps, say max goodput as Linux w/ TSO.

 

Is there any TSO implementation already in VPP one can take advantage of?

 

Side question. Is there any crypto offloading service available in VPP?

Essentially  for the computation of RSA-1024/2048, EDCSA 192/256 signatures.


   

Thanks

Luca

 



[vpp-dev] nat

2018-05-07 Thread Gulakh
Hi,
I have used linux iptables for NAT, but now I want VPP nat.

could you please give me some examples corresponding to the iptables one on
how to use VPP nat?

e.g.  iptables rule :  ,vpp rule: yy

thanks


Re: [vpp-dev] How to add plugin's statistics into stats thread

2018-05-07 Thread Ni, Hongjun
Hi Jerome,

We would like to add LB plugin statistics, including per- VIP connections and 
per-AS connections for each VIP.
Frequency is configurable, 1 second is better.
Data of volume depends on the number of VIPs and Ass.
Please refer to below patch for details:
https://gerrit.fd.io/r/#/c/12146/2/src/plugins/lb/lb.api

Thank you,
Hongjun

From: Jerome Tollet (jtollet) [mailto:jtol...@cisco.com]
Sent: Monday, May 7, 2018 3:15 PM
To: Ni, Hongjun ; vpp-dev 
Cc: Mori, Naoyuki ; Yusuke Tatsumi 

Subject: Re: [vpp-dev] How to add plugin's statistics into stats thread

Hi Hongjun,
Could you elaborate a bit on the kind of statistics you’d like to create?
Frequency and volume of data may be interesting inputs.
Jerome

De : > au nom de "Ni, Hongjun" 
>
Date : lundi 7 mai 2018 à 07:43
À : vpp-dev >
Cc : "Mori, Naoyuki" >, 
Yusuke Tatsumi >
Objet : [vpp-dev] How to add plugin's statistics into stats thread

Hi all,

We want to add plugin’s statistics into VPP stats thread.
But it seems that current stats thread only support codebase (i.e. vnet) 
statistics.
Is there some mechanism to support adding plugin’s statistics into stats thread?

Thanks,
Hongjun




Re: [vpp-dev] How to add plugin's statistics into stats thread

2018-05-07 Thread Jerome Tollet
Hi Hongjun,
Could you elaborate a bit on the kind of statistics you’d like to create?
Frequency and volume of data may be interesting inputs.
Jerome

De :  au nom de "Ni, Hongjun" 
Date : lundi 7 mai 2018 à 07:43
À : vpp-dev 
Cc : "Mori, Naoyuki" , Yusuke Tatsumi 

Objet : [vpp-dev] How to add plugin's statistics into stats thread

Hi all,

We want to add plugin’s statistics into VPP stats thread.
But it seems that current stats thread only support codebase (i.e. vnet) 
statistics.
Is there some mechanism to support adding plugin’s statistics into stats thread?

Thanks,
Hongjun




[vpp-dev] IKEV2

2018-05-07 Thread xulang
Hi all,
Do we have plan to make IKEV2 support the role sponsor?


Regards,
xulang