Re: [vpp-dev] [vppsb-dev] vpp router plugin threads? (vpp + router + netlink + FRRouting)

2018-12-12 Thread ko
Hello Brian, If you believe that some process interferes with your worker threads, try and isolates some CPUs from the kernel scheduler (isolcpus on linux kernel), and set the CPU affinity from /etc/vpp/startup.conf (corelist-workers & main-core). Korian On 12/12/18 4:17 AM, Brian Dickson

Re: [vpp-dev] 2MB vs 1GB hugepages on ARM ThunderX

2018-12-12 Thread Gorka Garcia
I am not sure on the reason for this, but it is documented here: https://github.com/contiv/vpp/blob/master/docs/arm64/MANUAL_INSTALL_CAVIUM.md “To mention the most important thing from DPDK setup instructions you need to setup 1GB hugepages. The allocation of hugepages should be done at boot

Re: [vpp-dev] Any tricks in IP reassembly ?

2018-12-12 Thread mik...@yeah.net
W...What??? So the only way to make ip reassembly working correctly is to keep one or more interfaces attached to a single worker thread? That does not sound efficient .. mik...@yeah.net From: Klement Sekera Date: 2018-12-11 20:39 To: Mikado; vpp-dev Subject: Re: [vpp-dev] Any tricks in

Re: [vpp-dev] Any tricks in IP reassembly ?

2018-12-12 Thread pvinci
Hi Klement. Is there a way to write a test case that documents that behavior?  Does the test framework have the ability to split fragments across threads? -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#11583):

Re: [vpp-dev] Any tricks in IP reassembly ?

2018-12-12 Thread Ole Troan
> W...What??? So the only way to make ip reassembly working correctly is to > keep one or more interfaces attached to a single worker thread? > That does not sound efficient …… Or just ensure all parts of a fragment chain gets delivered to the same worker. Any good ECMP algorithm should do

Re: [vpp-dev] vppinfra vec alignment

2018-12-12 Thread Damjan Marion via Lists.Fd.Io
That should be corrected to: Users may specify the alignment for first data element via the vec*_aligned macros. Other elementa will be alligned only is data structure is alligned, i.e. By CLIB_CACHELINE_ALIGN_MARK(...) macro... — Damjan > On Dec 12, 2018, at 2:04 PM, Mohammed Alshohayeb

[vpp-dev] vppinfra vec alignment

2018-12-12 Thread Mohammed Alshohayeb
Hello everyone, >From what I understand and see that the vec_*_aligned restriction is for the vector hdr/userhdr not the individual elements, however, this page says Typically, the user header is not

Re: [vpp-dev] vpp router plugin threads? (vpp + router + netlink + FRRouting)

2018-12-12 Thread Brian Dickson
On Wed, Dec 12, 2018 at 4:12 AM John Biscevic wrote: > Hi Brian, > > > I've successfully built the router plugin on 18.10 and "19.01" > > > What errors are you encountering when you attempt to build it? > When following the instructions (doing the steps for running make, found in

Re: [vpp-dev] vpp router plugin threads? (vpp + router + netlink + FRRouting)

2018-12-12 Thread Brian Dickson
FYI: I have tried to build these in the last couple of days. The current "version" of vppsb/netlink and vppsb/router seem to not compile with any version. I'm not sure who is maintaining the code or updating the repo, but it doesn't appear to be using git branches at all, and they are breaking

Re: [vpp-dev] Timer expiry spikes in TW timer implementation

2018-12-12 Thread shaligram.prakash
Thanks Dave!!!. I could see precision was indeed the problem. I think it is because the slots are missed due to below check in tw_timer_expire_timers_internal(...) when now time is behind the calculated next_run_time. * /* Shouldn't happen */* * if (PREDICT_FALSE (now < tw->next_run_time))* *

Re: [vpp-dev] Any tricks in IP reassembly ?

2018-12-12 Thread Klement Sekera via Lists.Fd.Io
That's as it is now. A rework of the code is planned, no ETA yet... Quoting mik...@yeah.net (2018-12-12 02:05:40) >W...What??? So the only way to make ip reassembly working correctly is to >keep one or more  interfaces attached to a single worker thread? >That does not sound efficient

Re: [vpp-dev] 2MB vs 1GB hugepages on ARM ThunderX

2018-12-12 Thread Juraj Linkeš
It would be great if we could figure out the reason. The contiv-vpp documentation needed to spell out that you need 1GB hugepages precisely because 2MB pages don't work. And there's also dpdk documentation [0] which doesn't mention the hugepages problem, making it seem like it shoudn't be an

Re: [vpp-dev] 2MB vs 1GB hugepages on ARM ThunderX

2018-12-12 Thread Juraj Linkeš
Thanks Damjan. Nitin, Gorka, do you have any input on this? Juraj From: Damjan Marion via Lists.Fd.Io [mailto:dmarion=me@lists.fd.io] Sent: Tuesday, December 11, 2018 5:21 PM To: Juraj Linkeš Cc: vpp-dev@lists.fd.io Subject: Re: [vpp-dev] 2MB vs 1GB hugepages on ARM ThunderX Dear Juraj,

[vpp-dev] Enable arm vpp master testing in ci

2018-12-12 Thread Juraj Linkeš
Hello, We're trying to enable testing for vpp master on ARM in CI. Here's the patch: https://gerrit.fd.io/r/#/c/15251/ All of the affected jobs have been tested in sandbox and are working well. Please review the patch and give it a +1 if you think it's okay so that Ed can finally merge it.

Re: [vpp-dev] vpp router plugin threads? (vpp + router + netlink + FRRouting)

2018-12-12 Thread JB
Hi Brian, I've successfully built the router plugin on 18.10 and "19.01" What errors are you encountering when you attempt to build it? Kind regards, John Biscevic Systems Architect, Bahnhof AB Mobile: +46 76 111 01 24 E-mail: john.bisce...@bahnhof.net

[vpp-dev] Up-to-date documentation for classifiers?

2018-12-12 Thread JB
Hello everyone, I've been looking for some documentation surrounding the classify feature of VPP. Any documentation or any decent information I've stumbled upon seems to be outdated with syntax that's no longer applicable. Do we have anything that I've missed? -=-=-=-=-=-=-=-=-=-=-=- Links: