[vpp-dev] CPU load on containerized VPP instances #vpp

2019-02-17 Thread charlesboyo
Hello all.

I am attempting to run VPP in LXD managed containers with memif interfaces to 
the host VPP.
However I am finding that the VPP instances in the containers "own" a CPU core 
apiece, which I thought should happen only with the host VPP due to the use of 
PMD drivers.
Is there any way to avoid devoting a CPU core to each containerized VPP? That 
happens when the memif interface goes live, does it mean memif is like a PMD 
device?

In the event that I cannot use memif, giving the ratio of containers to 
available CPU resources, which is the lesser evil - tap or veth interfaces for 
the containers?
And how much is that going to cost me in terms of performance and stability?

Charles
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#12270): https://lists.fd.io/g/vpp-dev/message/12270
Mute This Topic: https://lists.fd.io/mt/29886564/21656
Mute #vpp: https://lists.fd.io/mk?hashtag=vpp&subid=1480452
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Re: [vpp-dev] CPU load on containerized VPP instances #vpp

2019-02-17 Thread Damjan Marion via Lists.Fd.Io
You need to switch memif to polling or adaptive mode, cli command is “set 
interface rx-mode  [polling|adaptive|interrupt]

— 
Damjan

> On Feb 17, 2019, at 9:37 AM, charlesb...@gmail.com wrote:
> 
> Hello all.
> 
> I am attempting to run VPP in LXD managed containers with memif interfaces to 
> the host VPP.
> However I am finding that the VPP instances in the containers "own" a CPU 
> core apiece, which I thought should happen only with the host VPP due to the 
> use of PMD drivers.
> Is there any way to avoid devoting a CPU core to each containerized VPP? That 
> happens when the memif interface goes live, does it mean memif is like a PMD 
> device?
> 
> In the event that I cannot use memif, giving the ratio of containers to 
> available CPU resources, which is the lesser evil - tap or veth interfaces 
> for the containers?
> And how much is that going to cost me in terms of performance and stability?
> 
> Charles
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> 
> View/Reply Online (#12270): https://lists.fd.io/g/vpp-dev/message/12270
> Mute This Topic: https://lists.fd.io/mt/29886564/675642
> Mute #vpp: https://lists.fd.io/mk?hashtag=vpp&subid=1480514
> Group Owner: vpp-dev+ow...@lists.fd.io
> Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [dmar...@me.com]
> -=-=-=-=-=-=-=-=-=-=-=-

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#12271): https://lists.fd.io/g/vpp-dev/message/12271
Mute This Topic: https://lists.fd.io/mt/29886564/21656
Mute #vpp: https://lists.fd.io/mk?hashtag=vpp&subid=1480452
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


[vpp-dev] [19.01] Multiple tests fail

2019-02-17 Thread jean-christophe manciot
On Ubuntu disco & Debian buster:
Testing with:
{code:java}
make V=0 PLATFORM=vpp TAG=vpp test-all
{code}
leads to:
{code:java}
...
==
JVPP Core Test Case
==
JVPP Acl Callback Api Test Case
ERROR [ temp dir used by test case: /tmp/vpp-unittest-TestJVpp-Qd4Mmr ]
JVPP Acl Future Api Test Case
ERROR [ temp dir used by test case: /tmp/vpp-unittest-TestJVpp-Qd4Mmr ]
JVPP Core Callback Api Test Case
 ERROR [ temp dir used by test case: /tmp/vpp-unittest-TestJVpp-Qd4Mmr ]
JVPP Core Future Api Test Case
 ERROR [ temp dir used by test case: /tmp/vpp-unittest-TestJVpp-Qd4Mmr ]
JVPP Ioamexport Callback Api Test Case
 ERROR [ temp dir used by test case: /tmp/vpp-unittest-TestJVpp-Qd4Mmr ]
JVPP Ioamexport Future Api Test Case
 ERROR [ temp dir used by test case: /tmp/vpp-unittest-TestJVpp-Qd4Mmr ]
JVPP Ioampot Callback Api Test Case
ERROR [ temp dir used by test case: /tmp/vpp-unittest-TestJVpp-Qd4Mmr ]
JVPP Ioampot Future Api Test Case
ERROR [ temp dir used by test case: /tmp/vpp-unittest-TestJVpp-Qd4Mmr ]
JVPP Ioamtrace Callback Api Test Case
ERROR [ temp dir used by test case: /tmp/vpp-unittest-TestJVpp-Qd4Mmr ]
JVPP Ioamtrace Future Api Test Case
ERROR [ temp dir used by test case: /tmp/vpp-unittest-TestJVpp-Qd4Mmr ]
JVPP Snat Callback Api Test Case
 ERROR [ temp dir used by test case: /tmp/vpp-unittest-TestJVpp-Qd4Mmr ]
JVPP Snat Future Api Test Case
 ERROR [ temp dir used by test case: /tmp/vpp-unittest-TestJVpp-Qd4Mmr
]==
ERROR: JVPP Acl Callback Api Test Case
--
Traceback (most recent call last):
  File
"/media/actionmystique/SAMSUNG5-Shared/home/actionmystique/src/VPP/git-vpp/test/test_jvpp.py",
line 40, in test_vpp_acl_callback_api
test_class_name="io.fd.vpp.jvpp.acl.test."
  File
"/media/actionmystique/SAMSUNG5-Shared/home/actionmystique/src/VPP/git-vpp/test/test_jvpp.py",
line 23, in invoke_for_jvpp_core
timeout=10)
  File
"/media/actionmystique/SAMSUNG5-Shared/home/actionmystique/src/VPP/git-vpp/test/test_jvpp.py",
line 141, in jvpp_connection_test
.format(command, self.process.returncode, os.linesep, err))
TypeError: __init__() takes at least 3 arguments (2
given)==
ERROR: JVPP Acl Future Api Test Case
--
Traceback (most recent call last):
  File
"/media/actionmystique/SAMSUNG5-Shared/home/actionmystique/src/VPP/git-vpp/test/test_jvpp.py",
line 46, in test_vpp_acl_future_api
test_class_name="io.fd.vpp.jvpp.acl.test."
  File
"/media/actionmystique/SAMSUNG5-Shared/home/actionmystique/src/VPP/git-vpp/test/test_jvpp.py",
line 23, in invoke_for_jvpp_core
timeout=10)
  File
"/media/actionmystique/SAMSUNG5-Shared/home/actionmystique/src/VPP/git-vpp/test/test_jvpp.py",
line 141, in jvpp_connection_test
.format(command, self.process.returncode, os.linesep, err))
TypeError: __init__() takes at least 3 arguments (2
given)==
ERROR: JVPP Core Callback Api Test Case
--
Traceback (most recent call last):
  File
"/media/actionmystique/SAMSUNG5-Shared/home/actionmystique/src/VPP/git-vpp/test/test_jvpp.py",
line 28, in test_vpp_core_callback_api
test_class_name="io.fd.vpp.jvpp.core.test."
  File
"/media/actionmystique/SAMSUNG5-Shared/home/actionmystique/src/VPP/git-vpp/test/test_jvpp.py",
line 23, in invoke_for_jvpp_core
timeout=10)
  File
"/media/actionmystique/SAMSUNG5-Shared/home/actionmystique/src/VPP/git-vpp/test/test_jvpp.py",
line 141, in jvpp_connection_test
.format(command, self.process.returncode, os.linesep, err))
TypeError: __init__() takes at least 3 arguments (2
given)==
ERROR: JVPP Core Future Api Test Case
--
Traceback (most recent call last):
  File
"/media/actionmystique/SAMSUNG5-Shared/home/actionmystique/src/VPP/git-vpp/test/test_jvpp.py",
line 34, in test_vpp_core_future_api
test_class_name="io.fd.vpp.jvpp.core.test."
  File
"/media/actionmystique/SAMSUNG5-Shared/home/actionmystique/src/VPP/git-vpp/test/test_jvpp.py",
line 23, in invoke_for_jvpp_core
timeout=10)
  File
"/media/actionmystique/SAMSUNG5-Shared/home/actionmystique/src/VPP/git-vpp/test/test_jvpp.py",
line 141, in jvpp_connection_test
.format(command, self.process.returncode, os.linesep, err))
TypeError: __init__() takes at least 3 arguments (2
given)==
ERROR: JVPP Ioamexport

Re: [vpp-dev] questions about SCTP feature in VPP

2019-02-17 Thread Marco Varlese
Hi,

On 2/15/19 7:07 AM, Dong, Yao wrote:
> Dear expert,
> 
>  
> 
> I’m a developer of wireless base station on 5G NR. I have a stupid
> question about SCTP:
> 
> 1.   Is SCTP fully supported by VPP? Which sub function is not
> supported yet?
Multiple sub-connections support is not implemented yet.
> 
> 2.   Is it running in kernel space or user space?
User-space
> 
> 3.   Is it support multiple connections? (1 node can connect to
> multiple peer nodes with separate SCTP connection)
No, as above, it's a missing feature right now.
> 
>  
> 
> Thank you and looking forward to your response.
> 
>  
> 
> BRs,
> 
> Dong Yao (WWID 11605191)
> 
>  
> 
> 
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> 
> View/Reply Online (#12266): https://lists.fd.io/g/vpp-dev/message/12266
> Mute This Topic: https://lists.fd.io/mt/29859930/675056
> Group Owner: vpp-dev+ow...@lists.fd.io
> Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [mvarl...@suse.de]
> -=-=-=-=-=-=-=-=-=-=-=-
> 

-- 
Marco Varlese, Architect Developer Technologies, SUSE Labs
SUSE LINUX GmbH | GF: Felix Imendörffer, Jane Smithard, Graham Norton
HRB 21284 (AG Nürnberg) Maxfeldstr. 5, D-90409, Nürnberg



signature.asc
Description: OpenPGP digital signature
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#12273): https://lists.fd.io/g/vpp-dev/message/12273
Mute This Topic: https://lists.fd.io/mt/29859930/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-