Re: [vpp-dev] mheap performance issue and fixup

2018-07-02 Thread Kingwel Xie
ingwel From: Dave Barach (dbarach) Sent: Thursday, June 28, 2018 9:06 PM To: Kingwel Xie ; Damjan Marion Cc: vpp-dev@lists.fd.io Subject: RE: [vpp-dev] mheap performance issue and fixup Allocating a large number of 16 byte objects @ 64 byte alignment will never work very well. If you pad the

Re: [vpp-dev] mheap performance issue and fixup

2018-06-28 Thread Dave Barach via Lists.Fd.Io
calculation might be a brick shy of a load. D. From: vpp-dev@lists.fd.io On Behalf Of Kingwel Xie Sent: Thursday, June 28, 2018 2:25 AM To: Dave Barach (dbarach) ; Damjan Marion Cc: vpp-dev@lists.fd.io Subject: Re: [vpp-dev] mheap performance issue and fixup No problem. I’ll do that later

Re: [vpp-dev] mheap performance issue and fixup

2018-06-27 Thread Kingwel Xie
: Damjan Marion ; Kingwel Xie Cc: vpp-dev@lists.fd.io Subject: RE: [vpp-dev] mheap performance issue and fixup +1. It would be super-helpful if you were to add test cases to .../src/vppinfra/test_mheap.c, and push a draft patch so we can reproduce / fix the problem(s). Thanks... Dave From: vpp-dev

Re: [vpp-dev] mheap performance issue and fixup

2018-06-27 Thread Dave Barach via Lists.Fd.Io
-dev@lists.fd.io Subject: Re: [vpp-dev] mheap performance issue and fixup Dear Kingwei, We finally managed to look at your mheap patches, sorry for delay. Still we are not 100% convinced that there is a bug(s) in the mheap code. Please note that that mheap code is stable, not changed frequently

Re: [vpp-dev] mheap performance issue and fixup

2018-06-27 Thread Damjan Marion
t; Date: Thursday, 19 April 2018 at 03:19 > To: "Damjan Marion (damarion)" <mailto:damar...@cisco.com>> > Cc: "vpp-dev@lists.fd.io <mailto:vpp-dev@lists.fd.io>" <mailto:vpp-dev@lists.fd.io>> > Subject: Re: [vpp-dev] mheap performance issue and fix

Re: [vpp-dev] mheap performance issue and fixup

2018-04-23 Thread Kingwel Xie
23, 2018 3:25 PM To: Kingwel Xie ; Damjan Marion ; nranns Cc: vpp-dev Subject: Re: Re: [vpp-dev] mheap performance issue and fixup Hi Kingwel, After I merged the three patch ,there is a SIGSEGV when I startup vpp (not every time). And the error didn't appear before . Is there anything I c

Re: [vpp-dev] mheap performance issue and fixup

2018-04-23 Thread xyxue
77942ed0 in memclnt_process (vm=0x77926840 , node=0x7fffb6cec000, f=0x0) at /home/vpp/build-data/../src/vlibmemory/memory_vlib.c:952 #139 0x776a603c in vlib_process_bootstrap (_a=140736237530192) at /home/vpp/build-data/../src/vlib/main.c:1253 #140 0x76941570 in clib_callj

Re: [vpp-dev] mheap performance issue and fixup

2018-04-20 Thread Damjan Marion
Damjan Marion mailto:damar...@cisco.com>> Cc: vpp-dev@lists.fd.io<mailto:vpp-dev@lists.fd.io> Subject: RE: [vpp-dev] mheap performance issue and fixup Hi Damjan, We will do it asap. Actually we are quite new to vPP and even don’t know how to make bug report and code contribution or so.

Re: [vpp-dev] mheap performance issue and fixup

2018-04-20 Thread xyxue
Hi Kingwel, Thank you very much for your help. Thanks, Xyxue From: Kingwel Xie Date: 2018-04-20 17:29 To: Damjan Marion; Neale Ranns (nranns); 薛欣颖 CC: vpp-dev@lists.fd.io Subject: Re: [vpp-dev] mheap performance issue and fixup Hi, Finally I managed to create 3 patches to include all

Re: [vpp-dev] mheap performance issue and fixup

2018-04-20 Thread Kingwel Xie
. Regards, Kingwel From: Kingwel Xie Sent: Thursday, April 19, 2018 9:20 AM To: Damjan Marion Cc: vpp-dev@lists.fd.io Subject: RE: [vpp-dev] mheap performance issue and fixup Hi Damjan, We will do it asap. Actually we are quite new to vPP and even don’t know how to make bug report and code

Re: [vpp-dev] mheap performance issue and fixup

2018-04-19 Thread Kingwel Xie
: Re: [vpp-dev] mheap performance issue and fixup Hi Kingwei, The instructions are here: https://wiki.fd.io/view/VPP/Pulling,_Building,_Running,_Hacking_and_Pushing_VPP_Code#Pushing you can also file a bug report here: https://jira.fd.io but we don’t insist on bug reports when making changes

Re: [vpp-dev] mheap performance issue and fixup

2018-04-19 Thread Neale Ranns
From: on behalf of Kingwel Xie Date: Thursday, 19 April 2018 at 03:19 To: "Damjan Marion (damarion)" Cc: "vpp-dev@lists.fd.io" Subject: Re: [vpp-dev] mheap performance issue and fixup Hi Damjan, We will do it asap. Actually we are quite new to vPP and even don’t know how

Re: [vpp-dev] mheap performance issue and fixup

2018-04-18 Thread Kingwel Xie
Cc: vpp-dev@lists.fd.io Subject: Re: [vpp-dev] mheap performance issue and fixup Dear Kingwel, Thank you for your email. It will be really appreciated if you can submit your changes to gerrit, preferably each point in separate patch. That will be best place to discuss those changes... Thanks in

Re: [vpp-dev] mheap performance issue and fixup

2018-04-18 Thread Damjan Marion
Dear Kingwel, Thank you for your email. It will be really appreciated if you can submit your changes to gerrit, preferably each point in separate patch. That will be best place to discuss those changes... Thanks in Advance, -- Damjan On 16 Apr 2018, at 10:13, Kingwel Xie mailto:kingwel@er

[vpp-dev] mheap performance issue and fixup

2018-04-16 Thread Kingwel Xie
Hi all, We recently worked on GTPU tunnel and our target is to create 2M tunnels. It is not as easy as it looks like, and it took us quite some time to figure it out. The biggest problem we found is about mheap, which as you know is the low layer memory management function of vPP. We believe it

Re: [vpp-dev] mheap performance

2017-09-08 Thread Dave Barach (dbarach)
om] Sent: Friday, September 8, 2017 10:39 AM To: Dave Barach (dbarach) Cc: vpp-dev@lists.fd.io; Michał Dubiel Subject: Re: [vpp-dev] mheap performance Hi Dave, The perf backtrace (taken from "control-only" lcore 0) is as follows: - 91.87% vpp_main libvppinfra.so.0.0.0[.

Re: [vpp-dev] mheap performance

2017-09-08 Thread Jacek Siuda
Hi Ole, I need roughly the amount of tunnels I ended up testing with - ~300-500k. I thought about extending generic VPP API with a (blocking?) method accepting burst (array) of messages and returning burst of responses. One of the challenges in map is that to configure a tunnel I need two reques

Re: [vpp-dev] mheap performance

2017-09-08 Thread Jacek Siuda
t; > > > *From:* vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] *On > Behalf Of *Jacek Siuda > *Sent:* Tuesday, September 5, 2017 9:08 AM > *To:* vpp-dev@lists.fd.io > *Subject:* [vpp-dev] mheap performance > > > > Hi, > > I'm conductin

Re: [vpp-dev] mheap performance

2017-09-05 Thread Ole Troan
Jacek, It's also been on my list for a while to add a better bulk add for MAP domains / rules. Any idea of the scale you are looking at here? Best regards, Ole > On 5 Sep 2017, at 15:07, Jacek Siuda wrote: > > Hi, > > I'm conducting a tunnel test using VPP (vnet) map with the following > p

Re: [vpp-dev] mheap performance

2017-09-05 Thread Dave Barach (dbarach)
:08 AM To: vpp-dev@lists.fd.io Subject: [vpp-dev] mheap performance Hi, I'm conducting a tunnel test using VPP (vnet) map with the following parameters: ea_bits_len=0, psid_offset=16, psid=length, single rule for each domain; total number of tunnels: 30, total number of control messages:

[vpp-dev] mheap performance

2017-09-05 Thread Jacek Siuda
Hi, I'm conducting a tunnel test using VPP (vnet) map with the following parameters: ea_bits_len=0, psid_offset=16, psid=length, single rule for each domain; total number of tunnels: 30, total number of control messages: 600k. My problem is with simple adding tunnels. After adding more than ~