Re: [vpp-dev] About the vppcom_epoll_wait function in vcl

2018-08-03 Thread Florin Coras
Hi Yalei, Are you testing with master latest? Yes, blocking mode will be properly supported. The reason it won’t block now is because we need to poll multiple message queues (vpp’s and cut-through sessions) and -1 is not interpreted as a large number. This will be fixed once we switch from

Re: [vpp-dev] Regarding VPP TCP Stack usage

2018-08-03 Thread Florin Coras
Hi Yalei, Pretty much. We supported nginx forking at one point, but that code was not maintained. I’m now working on refactoring vcl and in the process adding multiple worker support in both vcl and the stack. The high level plan is pretty much the one I’ve stated on the list. I don’t have

Re: [vpp-dev] Large memory spike during make verify on ARM machine ThunderX

2018-08-03 Thread Neale Ranns via Lists.Fd.Io
The C++ language bindings are all templates. It’s the VOM compilation (that uses those templates) that consumes the memory. VOM is already in extras and these days only compiled if you do ‘make test-ext’ or ‘make ’ /neale From: Ole Troan Date: Friday, 3 August 2018 at 12:51 To: Juraj Linkeš

Re: [vpp-dev] Large memory spike during make verify on ARM machine ThunderX

2018-08-03 Thread Neale Ranns via Lists.Fd.Io
Hi Juraj, Answers/comments inline with [nr] Regards, neale From: Juraj Linkeš Date: Friday, 3 August 2018 at 12:45 To: "Neale Ranns (nranns)" , "vpp-dev@lists.fd.io" Subject: RE: [vpp-dev] Large memory spike during make verify on ARM machine ThunderX Hi Neale, Yea they do require a lot of

Re: [vpp-dev] Large memory spike during make verify on ARM machine ThunderX

2018-08-03 Thread Ole Troan
Move the C++ language binding to extras? Ole > On 3 Aug 2018, at 12:45, Juraj Linkeš wrote: > > Hi Neale, > > Yea they do require a lot of memory - the same is true for x86. Is there a > way to specify the max number of these? Or is that done with -j? > > Would it be worthwhile to

Re: [vpp-dev] Large memory spike during make verify on ARM machine ThunderX

2018-08-03 Thread Juraj Linkeš
Hi Neale, Yea they do require a lot of memory - the same is true for x86. Is there a way to specify the max number of these? Or is that done with -j? Would it be worthwhile to investigate if it's possible to reduce the memory requirements of these? Is there a way to clear the cache so that I

[vpp-dev] About the vppcom_epoll_wait function in vcl

2018-08-03 Thread wylandrea
Hi, These days, I tested the vcl and get some confusion. I don't know whether I understand it right. Anyone could help me? looks like vppcom_epoll_wait implement in non-blocking mode, it will loop and check the fifo of the related sessions. Will vpp implement a blocking mode epoll_wait?

Re: [vpp-dev] CSIT - sw_interface_set_flags admin-up link-up failing

2018-08-03 Thread Peter Mikus via Lists.Fd.Io
Hello vpp-dev, Can you please take a look and advise? Currently 50-70% of CSIT tests on SKX (Ubuntu 18.04) are failing. About 10% affected on Haswell testbeds (Ubuntu 16.04). Thank you in advance. Peter Mikus Engineer – Software Cisco Systems Limited -Original Message- From: Vratko

Re: [vpp-dev] Regarding VPP TCP Stack usage

2018-08-03 Thread wylandrea
Hi Dave & Florin, I am curious about this line "(and only with single workers)." ? could you light me some more? do you mean vcl support the APP which has one worker now, the app could not 'fork'? And as you mentioned, refactoring VCL infrastructure, is there a detailed plan? will it be