Re: [vpp-dev] Build: MacOS with Vagrant compiler crash in "vom"

2018-08-09 Thread justin pecqueur via Lists.Fd.Io
Hi Neale, Based on a suggestion from Burt Silverman, I tried changing MAKE_PARALLEL_JOBS to 1.  That triggered another build failure:     default:   CC vnet/bier/bier_disp_entry.lo     default:   CC vnet/bier/bier_disp_lookup_node.lo     default:   CC vnet/bier/bier_disp_dispatch_node.lo    

Re: [vpp-dev] Build: MacOS with Vagrant compiler crash in "vom"

2018-08-09 Thread Neale Ranns via Lists.Fd.Io
Hi Justin, It’s building packages. I imagine you can still ‘vagrant ssh’ despite that failure and do non VOM related things. If you want to build VOM then either, increase the memory or decrease the number of cores of your machine, or lower the number of parallel jobs. /neale -Original

Re: [vpp-dev] Build: MacOS with Vagrant compiler crash in "vom"

2018-08-09 Thread Neale Ranns via Lists.Fd.Io
Hi Justin, Note also you can control the number of paralle builds with: # /proc/cpuinfo does not exist on platforms without a /proc and on some # platforms, notably inside containers, it has no content. In those cases # we assume there's 1 processor; we use 2*ncpu for the -j option. # NB: GNU

Re: [vpp-dev] Build: MacOS with Vagrant compiler crash in "vom"

2018-08-09 Thread justin pecqueur via Lists.Fd.Io
Hi Neale, Here are the steps I took: git clone https://gerrit.fd.io/r/vpp cd vpp/build-root/vagrant source ./env.sh vagrant up I assume this includes building all the packages and doing a 'make test-ext'?  Are there other steps that will allow me to build vpp, but skip building VOM, or do I

Re: [vpp-dev] Build: MacOS with Vagrant compiler crash in "vom"

2018-08-09 Thread Neale Ranns via Lists.Fd.Io
Hi Justin, In the master branch VOM is only built when building packages and doing ‘make test-ext’, i.e. for release and for its own testing. There’s no finer avoidance control. /neale -Original Message- From: "Justin Pecqueur (jpecqueu)" Date: Thursday, 9 August 2018 at 15:07 To:

Re: [vpp-dev] #vpp Cavium ThunderX (ARM64)

2018-08-09 Thread Stanislav Chlebec
Just to inform: That error errno:-22 was caused by bad configuration of hugepages. Machine: Ubuntu 18.04.1 LTS , kernel 4.15.0-20-generic , gcc (Ubuntu/Linaro 5.5.0-12ubuntu1) 5.5.0 20171010 There was found the error in /var/log/kern.log : Jul 30 11:52:14 vppagent kernel: [ 3334.545602] Failed

Re: [vpp-dev] Build: MacOS with Vagrant compiler crash in "vom"

2018-08-09 Thread justin pecqueur via Lists.Fd.Io
Hi Neale, I suspected as much seeing as how it was occurring with some C++ code which can be very expensive to compile. Is there a way to avoid building this "vom" component? thanks, --justin On 8/9/18 5:07 AM, Neale Ranns (nranns) wrote: Hi Justin, Not enough memory for the number of

Re: [vpp-dev] Running VPP as non-root user

2018-08-09 Thread Dave Barach via Lists.Fd.Io
Which version of vpp are you running? This should work fine in 18.07 or master/latest... From: vpp-dev@lists.fd.io On Behalf Of Richard Throne Sent: Thursday, August 9, 2018 6:35 AM To: vpp-dev@lists.fd.io Subject: [vpp-dev] Running VPP as non-root user Hi, I need to run VPP as non-root user.

Re: [vpp-dev] Performance and CLI response degradation with inactive port

2018-08-09 Thread Dave Barach via Lists.Fd.Io
You might consider sending e-mail to the dpdk mailing list, or e.g. Ray Kinsella @ Intel. Pretty clearly a [dpdk] driver / HW issue. From: vpp-dev@lists.fd.io On Behalf Of j...@yeager1.com Sent: Wednesday, August 8, 2018 6:46 PM To: vpp-dev@lists.fd.io Subject: Re: [vpp-dev] Performance and CLI

Re: [vpp-dev] [Bug] VPP crashes using deterministic CGN

2018-08-09 Thread Matus Fabian -X (matfabia - PANTHEON TECHNOLOGIES@Cisco) via Lists.Fd.Io
There is fix https://gerrit.fd.io/r/#/c/14106/ Matus From: vpp-dev@lists.fd.io On Behalf Of Matus Fabian -X (matfabia - PANTHEON TECHNOLOGIES@Cisco) via Lists.Fd.Io Sent: Thursday, August 9, 2018 1:51 PM To: arsalan.sag...@xflowresearch.com; vpp-dev@lists.fd.io Cc: vpp-dev@lists.fd.io

Re: [vpp-dev] [Bug] VPP crashes using deterministic CGN

2018-08-09 Thread Matus Fabian -X (matfabia - PANTHEON TECHNOLOGIES@Cisco) via Lists.Fd.Io
Hi, There is bug in snat_interface_add_del, it should not enable nat44-hairpinning node, I will fix it Matus From: vpp-dev@lists.fd.io On Behalf Of arsalan.sag...@xflowresearch.com Sent: Thursday, August 9, 2018 1:16 PM To: vpp-dev@lists.fd.io Cc: 'Fazal-e-Rehman Khan' Subject: [vpp-dev]

[vpp-dev] [Bug] VPP crashes using deterministic CGN

2018-08-09 Thread Arsalan
Hi, I am using 1807 build in CentOS 7.5 and am facing a crash in VPP while using the CGNAT plugin. When using the deterministic CGN and using nat {deterministic} option in the startup.conf, VPP crashes when VM (with vhost-user interface) starts and all the configurations of VPP are removed.

[vpp-dev] [Bug] VPP crashes using deterministic CGN

2018-08-09 Thread arsalan.saghir
Hi, I am using 1807 build in CentOS 7.5 and am facing a crash in VPP while using the CGNAT plugin. When using the deterministic CGN and using nat {deterministic} option in the startup.conf, VPP crashes when VM (with vhost-user interface) starts and all the configurations of VPP are removed.

[vpp-dev] Compiling warning with GCC 7

2018-08-09 Thread Lijian Zhang
Hi, Is there anyone who tried compiling VPP with GCC 7? There's fall-through warning from DPDK code, but there's already FALLTHROUGH comments in DPDK code to suppress the warning and -Wimplicit-fallthrough=2 in DPDK makefile, but somehow I'm still getting the warnings when compiling VPP. I have

[vpp-dev] make wipe

2018-08-09 Thread Vratko Polak -X (vrpolak - PANTHEON TECHNOLOGIES at Cisco) via Lists.Fd.Io
At the root of local VPP git repository (current master), this is what "make help" has to say about the "wipe" target: wipe- wipe all products of debug build But currently (I think) "all" does not include dpdk/. I believe "make -C dpdk clean" should be inserted somewhere, but I

[vpp-dev] Running VPP as non-root user

2018-08-09 Thread Richard Throne
Hi, I need to run VPP as non-root user. It runs fine as root but when I run as a non-root user I run into problems. Using same config that works for root, I ran and hit a mounting error: vpp[29340]: dpdk_config: mount failed 1 I was expecting permissions error and thought I could solve them

Re: [vpp-dev] Build: MacOS with Vagrant compiler crash in "vom"

2018-08-09 Thread Neale Ranns via Lists.Fd.Io
Hi Justin, Not enough memory for the number of CPUs/parallel jobs. Here’s my vagrant VM on OSx: vagrant@ ~/vpp (master) $ free totalusedfree shared buff/cache available Mem:4146932 2320260 947376 16732 879296 1765252 Swap: