Re: [vpp-dev] vpp's memory is leaking

2018-05-29 Thread xulang
Hi all, I closed transparent hugepage function, then the RES memory does not increase anymore, is that ok? echo never > /sys/kernel/mm/transparent_hugepage/enabled echo never > /sys/kernel/mm/transparent_hugepage/defrag Regards 在 2018-05-29 16:01:27,"xulang" 写道: Hi all, My version is 17.04

Re: [vpp-dev] gdb break point of plugin not hit

2018-05-29 Thread Harish Patil
Hi Damjan, Some observations: #1 gdb) set args unix { interactive cli-listen /run/vpp/cli.sock full-coredump } plugin_path /home/harish/vpp_0524/vpp/build-root/install-vpp_debug-native/sample-plugin/lib64/vpp_plugins dpdk { uio-driver igb_uio dev :07:00.0 dev :07:00.1 } (gdb) r Starting p

Re: [vpp-dev] gdb break point of plugin not hit

2018-05-29 Thread Harish Patil
Hi Damjan, Thanks. Yes I do see show run hitting the sample plugin. I sent one ping packet request. sample active 1 1 0 2.67e41.00 I would like to stick to current version of VPP. Is there a known issue

Re: [vpp-dev] VPP Vnet crash with vhost-user interface

2018-05-29 Thread Ravi Kerur
Steve, Thanks for inputs on debugs and gdb. I am using gdb on my development system to debug the issue. I would like to have reliable core generation on the system on which I don't have access to install gdb. I installed corekeeper and it still doesn't generate core. I am running vpp inside a VM (

Re: [vpp-dev] VPP Vnet crash with vhost-user interface

2018-05-29 Thread steven luong
Ravi, I install corekeeper and the core file is kept in /var/crash. But why not use gdb to attach to the VPP process? To turn on VPP vhost-user debug, type "debug vhost-user on" at the VPP prompt. Steven On 5/29/18, 9:10 AM, "vpp-dev@lists.fd.io on behalf of Ravi Kerur" wrote: Hi Marco

Re: [vpp-dev] VPP Vnet crash with vhost-user interface

2018-05-29 Thread Ravi Kerur
Hi Marco, On Tue, May 29, 2018 at 6:30 AM, Marco Varlese wrote: > Ravi, > > On Sun, 2018-05-27 at 12:20 -0700, Ravi Kerur wrote: >> Hello, >> >> I have a VM(16.04.4 Ubuntu x86_64) with 2 cores and 4G RAM. I have >> installed VPP successfully on it. Later I have created vhost-user >> interfaces v

[vpp-dev] VCL and LD Preload

2018-05-29 Thread Kapanen, Ville (Nokia - FI/Espoo)
Hi! I have been trying to test VPP's potential for TCP/IP latency optimization. When I run socket_test.sh without any special parameters (so just comparison between native-kernel, native-vcl and native-preload) it seems that preload around six times worse than kernel. I have also tried this sam

Re: [vpp-dev] VPP Vnet crash with vhost-user interface

2018-05-29 Thread Marco Varlese
Ravi, On Sun, 2018-05-27 at 12:20 -0700, Ravi Kerur wrote: > Hello, > > I have a VM(16.04.4 Ubuntu x86_64) with 2 cores and 4G RAM. I have > installed VPP successfully on it. Later I have created vhost-user > interfaces via > > create vhost socket /var/run/vpp/sock1.sock server > create vhost so

Re: [vpp-dev] Support for TCP flag

2018-05-29 Thread Rubina Bianchi
Thanks a lot for your prompt answer. :) From: Andrew 👽 Yourtchenko Sent: Tuesday, May 29, 2018 1:10 PM To: Rubina Bianchi Cc: vpp-dev@lists.fd.io Subject: Re: [vpp-dev] Support for TCP flag Hi Rubina, I designed the stateful mode to be just a bit more than the AC

Re: [vpp-dev] Rx stuck to 0 after a while

2018-05-29 Thread Rubina Bianchi
Dear Andrew I cleaned everything and created a new deb packages by your patch once again. With your patch I never see deadlock again, but still I have throughput problem in my scenario. -Per port stats table ports | 0 | 1 -

Re: [vpp-dev] Support for TCP flag

2018-05-29 Thread Andrew Yourtchenko
Hi Rubina, I designed the stateful mode to be just a bit more than the ACL, with a "diode" state, rather than going for the fully fledged firewall model - as a balance between the simplicity and the functionality. The full tracking of the TCP state machine was not in scope - getting into that ter

[vpp-dev] Support for TCP flag

2018-05-29 Thread Rubina Bianchi
Hi I have a question about vpp stateful mode. It seems that vpp stateful mode hasn't implemented completely. I mean there aren't any feature same as contrack in linux kernel. So, vpp doesn't have any mechanism to handle TCP sessions based on different flags. For example I sent TCP three way hand

[vpp-dev] How to trigger perf test and compare the results

2018-05-29 Thread Zhiyong Yang
Hi Guys, I need CSIT perf testing to test patch. I have known that vpp-verify-perf-l2 can trigger perf test, but I only see the X520 results. My questions are : 1. how to trigger XL710 perf test? 2. What do we compare it to ... have the nightly build results?

Re: [vpp-dev] Rx stuck to 0 after a while

2018-05-29 Thread Andrew Yourtchenko
Dear Rubina, thank you for quickly checking it! Judging by the logs the VPP quits, so I would say there should be a core file, could you check ? If you find it (doublecheck by the timestamps that it is indeed the fresh one), you can load it in gdb (using gdb 'path-to-vpp-binary' 'path-to-core')

[vpp-dev] vpp's memory is leaking

2018-05-29 Thread xulang
Hi all, My version is 17.04, I encountered a memory leaking problem, the RES memory of VPP is increasing slowly and continuously. I shutdown all interfaces and set break points on memory allocate functions, such as malloc,calloc,realloc, mmap, vmalloc, clib_mem_alloc, mheap_alloc_with_flags.

Re: [vpp-dev] Rx stuck to 0 after a while

2018-05-29 Thread Rubina Bianchi
Dear Andrew I tested your patch and my problem still exist, but my service status changed and now there isn't any information about deadlock problem. Do you have any idea about how I can provide you more information? root@MYRB:~# service vpp status * vpp.service - vector packet processing engin