Re: [vpp-dev] Number of interfaces configurable restriction

2017-10-29 Thread Jan Srnicek -X (jsrnicek - PANTHEON TECHNOLOGIES at Cisco)
Thanks for info Steven

Is there any upper boundary for „ulimit –n“, or is it just till i run out of 
memory ?

[banner11]



Jan Srnicek
Engineer - Software
jsrni...@cisco.com
Tel:

Cisco Systems, Inc.



Slovakia
cisco.com


[http://www.cisco.com/assets/swa/img/thinkbeforeyouprint.gif]Think before you 
print.

This email may contain confidential and privileged material for the sole use of 
the intended recipient. Any review, use, distribution or disclosure by others 
is strictly prohibited. If you are not the intended recipient (or authorized to 
receive for the recipient), please contact the sender by reply email and delete 
all copies of this message.
Please click 
here for 
Company Registration Information.


From: Steven Luong (sluong)
Sent: Friday, October 27, 2017 6:20 PM
To: Jan Srnicek -X (jsrnicek - PANTHEON TECHNOLOGIES at Cisco) 
; vpp-dev 
Subject: Re: [vpp-dev] Number of interfaces configurable restriction

Jan,

You have to use ulimit –n to raise the number of open files if you are going to 
create a lot of interfaces.

Steven

From: mailto:vpp-dev-boun...@lists.fd.io>> on 
behalf of "Jan Srnicek -X (jsrnicek - PANTHEON TECHNOLOGIES at Cisco)" 
mailto:jsrni...@cisco.com>>
Date: Friday, October 27, 2017 at 3:31 AM
To: vpp-dev mailto:vpp-dev@lists.fd.io>>
Subject: [vpp-dev] Number of interfaces configurable restriction

Hi

While doing some perf testing for honeycomb , i’ve came about something that 
seems like internal restriction of vpp.

While trying to configure as much Tap interfaces as possible, when i got to 
510, i started to get

Caused by: io.fd.vpp.jvpp.VppCallbackException: vppApi.tap_connect_reply 
failed: System call error #1 (error code: -11)

Is this internal restriction of vpp on number of interfaces or bug ?

Note: Happens for Vhost too

[anner11]



Jan Srnicek
Engineer - Software
jsrni...@cisco.com
Tel:

Cisco Systems, Inc.



Slovakia
cisco.com


[ttp://www.cisco.com/assets/swa/img/thinkbeforeyouprint.gif]Think before you 
print.

This email may contain confidential and privileged material for the sole use of 
the intended recipient. Any review, use, distribution or disclosure by others 
is strictly prohibited. If you are not the intended recipient (or authorized to 
receive for the recipient), please contact the sender by reply email and delete 
all copies of this message.
Please click 
here for 
Company Registration Information.


___
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

Re: [vpp-dev] Number of interfaces configurable restriction

2017-10-29 Thread Luke, Chris
# cat /proc/sys/fs/nr_open
1048576


That is the ceiling on what value can be set for the open files limit (aka 
RLIMIT_NOFILE) with Linux.

Chris.

From: vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] On 
Behalf Of Jan Srnicek -X (jsrnicek - PANTHEON TECHNOLOGIES at Cisco)
Sent: Sunday, October 29, 2017 11:17
To: Steven Luong (sluong) ; vpp-dev 
Subject: Re: [vpp-dev] Number of interfaces configurable restriction

Thanks for info Steven

Is there any upper boundary for „ulimit –n“, or is it just till i run out of 
memory ?

[banner11]



Jan Srnicek
Engineer - Software
jsrni...@cisco.com
Tel:

Cisco Systems, Inc.



Slovakia
cisco.com


[http://www.cisco.com/assets/swa/img/thinkbeforeyouprint.gif]Think before you 
print.

This email may contain confidential and privileged material for the sole use of 
the intended recipient. Any review, use, distribution or disclosure by others 
is strictly prohibited. If you are not the intended recipient (or authorized to 
receive for the recipient), please contact the sender by reply email and delete 
all copies of this message.
Please click 
here for 
Company Registration Information.


From: Steven Luong (sluong)
Sent: Friday, October 27, 2017 6:20 PM
To: Jan Srnicek -X (jsrnicek - PANTHEON TECHNOLOGIES at Cisco) 
mailto:jsrni...@cisco.com>>; vpp-dev 
mailto:vpp-dev@lists.fd.io>>
Subject: Re: [vpp-dev] Number of interfaces configurable restriction

Jan,

You have to use ulimit –n to raise the number of open files if you are going to 
create a lot of interfaces.

Steven

From: mailto:vpp-dev-boun...@lists.fd.io>> on 
behalf of "Jan Srnicek -X (jsrnicek - PANTHEON TECHNOLOGIES at Cisco)" 
mailto:jsrni...@cisco.com>>
Date: Friday, October 27, 2017 at 3:31 AM
To: vpp-dev mailto:vpp-dev@lists.fd.io>>
Subject: [vpp-dev] Number of interfaces configurable restriction

Hi

While doing some perf testing for honeycomb , i’ve came about something that 
seems like internal restriction of vpp.

While trying to configure as much Tap interfaces as possible, when i got to 
510, i started to get

Caused by: io.fd.vpp.jvpp.VppCallbackException: vppApi.tap_connect_reply 
failed: System call error #1 (error code: -11)

Is this internal restriction of vpp on number of interfaces or bug ?

Note: Happens for Vhost too

[anner11]



Jan Srnicek
Engineer - Software
jsrni...@cisco.com
Tel:

Cisco Systems, Inc.



Slovakia
cisco.com


[ttp://www.cisco.com/assets/swa/img/thinkbeforeyouprint.gif]Think before you 
print.

This email may contain confidential and privileged material for the sole use of 
the intended recipient. Any review, use, distribution or disclosure by others 
is strictly prohibited. If you are not the intended recipient (or authorized to 
receive for the recipient), please contact the sender by reply email and delete 
all copies of this message.
Please click 
here for 
Company Registration Information.


___
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

Re: [vpp-dev] VPP API for interface rx-mode polling

2017-10-29 Thread Steven Luong (sluong)
Jozel,

Here is the patch. Please help verifying it.

https://gerrit.fd.io/r/#/c/9094/

Steven

From:  on behalf of "Steven Luong (sluong)" 

Date: Friday, October 27, 2017 at 9:00 AM
To: Jozef Glončák , "vpp-dev@lists.fd.io" 

Subject: Re: [vpp-dev] VPP API for interface rx-mode polling

Jozef,

Sure. I’ll take care of this.

Steven

From:  on behalf of Jozef Glončák 

Date: Friday, October 27, 2017 at 3:01 AM
To: "vpp-dev@lists.fd.io" 
Subject: [vpp-dev] VPP API for interface rx-mode polling

Hello VPP gurus,

I need VPP API for this command

set interface rx-mode  polling.

I passed VPP *.api files but wasn't able to find corresponding API so I
assume that it doesn't exist.

Would it be possible to provide it?

Thanks

Jozef Glončák
Pantheon Technologies, s. r. o.
___
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

Re: [vpp-dev] nat44 address pool not fully used

2017-10-29 Thread Matus Fabian -X (matfabia - PANTHEON TECHNOLOGIES at Cisco)
Hi,

Are you on latest?
Could you please provide “show node counters” output.

Regards,
Matus


From: vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] On 
Behalf Of Yuliang Li
Sent: Saturday, October 28, 2017 8:48 PM
To: vpp-dev@lists.fd.io
Subject: [vpp-dev] nat44 address pool not fully used

Hi,

I use "nat44 add addr 10.1.1.2-10.1.1.254", in the hope that in2out traffic can 
use any of the source IP in the range.

However, when I generate in2out traffic composing 65536 different internal 
source IP (with the same source port), only 10.1.1.2 is used for external 
source IP, and allocated 20162 port number. That means only 20162 internal IP 
get translated, while the rest are dropped. I am wondering why it does not 
allocate other addresses in the pool (e.g., 10.1.1.3)?

Here are the output of show nat44 detail:
10.1.1.2
  tenant VRF independent
  0 busy udp ports
  20162 busy tcp ports
  0 busy icmp ports
10.1.1.3
  tenant VRF independent
  0 busy udp ports
  0 busy tcp ports
  0 busy icmp ports
 (all following shows 0 busy ports).

Thanks,
--
Yuliang Li
PhD student
Department of Computer Science
Yale University
___
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev