Re: [vpp-dev] VPP As A Router Between Namespaces - 10ms latency

2018-03-13 Thread Sara Gittlin
get sw_if_index or hw_if_index > from user specified interface name.-John > > -Original Message- > From: vpp-dev@lists.fd.io [mailto:vpp-dev@lists.fd.io] On Behalf Of Sara > Gittlin > Sent: Monday, March 12, 2018 11:22 AM > To: vpp-dev@lists.fd.io > Subject

Re: [vpp-dev] VPP As A Router Between Namespaces - 10ms latency

2018-03-12 Thread John Lo (loj)
: vpp-dev@lists.fd.io [mailto:vpp-dev@lists.fd.io] On Behalf Of Sara Gittlin Sent: Monday, March 12, 2018 11:22 AM To: vpp-dev@lists.fd.io Subject: Re: [vpp-dev] VPP As A Router Between Namespaces - 10ms latency btw - is there (like in linux) a vpp function helper "interface-name-to-if-

Re: [vpp-dev] VPP As A Router Between Namespaces - 10ms latency

2018-03-12 Thread Sara Gittlin
btw - is there (like in linux) a vpp function helper "interface-name-to-if-index" - which its input is interface-name and output is vpp-if-index ? Thank you -Sara On Mon, Mar 12, 2018 at 5:16 PM, Sara Gittlin wrote: > Thank you Jon > This indeed very helpful ! >

Re: [vpp-dev] VPP As A Router Between Namespaces - 10ms latency

2018-03-12 Thread Sara Gittlin
Thank you Jon This indeed very helpful ! Cheers -Sara On Mon, Mar 12, 2018 at 5:01 PM, Jon Loeliger wrote: > > > On Mon, Mar 12, 2018 at 3:57 AM, Sara Gittlin > wrote: >> >> Dear Florin, >> >> When using the command " create tap rx-ring-size 4096

Re: [vpp-dev] VPP As A Router Between Namespaces - 10ms latency

2018-03-12 Thread Jon Loeliger
On Mon, Mar 12, 2018 at 3:57 AM, Sara Gittlin wrote: > Dear Florin, > > When using the command " create tap rx-ring-size 4096 tx-ring-size 4096 " > VPP create the devices with default names tap0, tap1, ..tapn. > > Is it possible for the user to set the name in the

Re: [vpp-dev] VPP As A Router Between Namespaces - 10ms latency

2018-03-12 Thread Sara Gittlin
ts.fd.io> On Behalf Of Sara Gittlin > Sent: Wednesday, March 7, 2018 2:02 PM > To: vpp-dev@lists.fd.io > Cc: vpp-dev@lists.fd.io > Subject: Re: [vpp-dev] VPP As A Router Between Namespaces - 10ms latency > > > > Thank you Hau > > i tested w iperf got similar results. I c

Re: [vpp-dev] VPP As A Router Between Namespaces - 10ms latency

2018-03-08 Thread Florin Coras
gt;>> >>> >>> D. >>> >>> >>> >>> From: vpp-dev@lists.fd.io <vpp-dev@lists.fd.io> On Behalf Of Sara Gittlin >>> Sent: Wednesday, March 7, 2018 2:02 PM >>> To: vpp-dev@lists.fd.io >>> Cc: vpp-dev@lists.fd

Re: [vpp-dev] VPP As A Router Between Namespaces - 10ms latency

2018-03-08 Thread Sara Gittlin
imeout value. >> >> >> >> D. >> >> >> >> From: vpp-dev@lists.fd.io <vpp-dev@lists.fd.io> On Behalf Of Sara Gittlin >> Sent: Wednesday, March 7, 2018 2:02 PM >> To: vpp-dev@lists.fd.io >> Cc: vpp-dev@lists.fd.io >> Subject: Re: [v

Re: [vpp-dev] VPP As A Router Between Namespaces - 10ms latency

2018-03-08 Thread Sara Gittlin
the epoll_pwait timeout value. > > > > D. > > > > From: vpp-dev@lists.fd.io <vpp-dev@lists.fd.io> On Behalf Of Sara Gittlin > Sent: Wednesday, March 7, 2018 2:02 PM > To: vpp-dev@lists.fd.io > Cc: vpp-dev@lists.fd.io > Subject: Re: [vpp-dev] VPP As A Ro

Re: [vpp-dev] VPP As A Router Between Namespaces - 10ms latency

2018-03-07 Thread Dave Barach
pp-dev@lists.fd.io Cc: vpp-dev@lists.fd.io Subject: Re: [vpp-dev] VPP As A Router Between Namespaces - 10ms latency Thank you Hau i tested w iperf got similar results. I cannot find iperf2. Anyway ns to ns directly without vpp is perfect 50 gbps throughput and 10us latency. Tested w iperf3. This i

Re: [vpp-dev] VPP As A Router Between Namespaces - 10ms latency

2018-03-07 Thread Florin Coras
Could you try again with taps and large rings? create tap rx-ring-size 4096 tx-ring-size 4096 create tap rx-ring-size 4096 tx-ring-size 4096 Configure then the two taps in your namespaces and run iperf again. Hope this helps, Florin > On Mar 7, 2018, at 11:01 AM, Sara Gittlin

Re: [vpp-dev] VPP As A Router Between Namespaces - 10ms latency

2018-03-07 Thread Sara Gittlin
Thank you Hau i tested w iperf got similar results. I cannot find iperf2. Anyway ns to ns directly without vpp is perfect 50 gbps throughput and 10us latency. Tested w iperf3. This is very bothering since we decided to go w vpp instead of ovs Thanks in advance -Sara בתאריך 6 במרץ 2018 20:00,‏

Re: [vpp-dev] VPP As A Router Between Namespaces - 10ms latency

2018-03-06 Thread Hao Fu (haof)
I encountered the similar issue before. Try replacing iperf3 with iperf2. Hao On 3/6/18, 8:34 AM, "vpp-dev@lists.fd.io on behalf of Sara Gittlin" wrote: Also the throughput is very poor - iperf3 TCP ~ 2Mbps what is wrong here ?

Re: [vpp-dev] VPP As A Router Between Namespaces - 10ms latency

2018-03-06 Thread Sara Gittlin
Also the throughput is very poor - iperf3 TCP ~ 2Mbps what is wrong here ? On Tue, Mar 6, 2018 at 6:20 PM, Sara Gittlin wrote: > Hi, > i have 2 namespaces connected with veth-pairs to vpp - see setup here >

[vpp-dev] VPP As A Router Between Namespaces - 10ms latency

2018-03-06 Thread Sara Gittlin
Hi, i have 2 namespaces connected with veth-pairs to vpp - see setup here [https://wiki.fd.io/view/VPP/Configure_VPP_As_A_Router_Between_Namespaces] i see very big latency ~10ms when i ping between the 2 namespaces i expected to see latency in the order of 10's us