Re: [ovs-discuss] max mega flow 64k per pmd or per dpcls?

2017-07-03 Thread Hui Xiang
Your help was greatly appreciated, thanks Bodireddy. On Mon, Jul 3, 2017 at 10:57 PM, Bodireddy, Bhanuprakash < bhanuprakash.bodire...@intel.com> wrote: > >>What is your use case(s) ? > >>My usecase might be setup a VBRAS VNF with OVS-DPDK as an NFV normal > >>case, and it requires a good perform

Re: [ovs-discuss] max mega flow 64k per pmd or per dpcls?

2017-07-03 Thread Bodireddy, Bhanuprakash
>>What is your use case(s) ? >>My usecase might be setup a VBRAS VNF with OVS-DPDK as an NFV normal >>case, and it requires a good performance, however, OVS-DPDK seems still >not >>reach its needs compared with  hardware offloading, we are evaluating VPP >as >>well, >As you mentioned VPP here, It's

Re: [ovs-discuss] max mega flow 64k per pmd or per dpcls?

2017-07-03 Thread Hui Xiang
Thanks much Bodireddy again! comment inline. On Mon, Jul 3, 2017 at 5:00 PM, Bodireddy, Bhanuprakash < bhanuprakash.bodire...@intel.com> wrote: > It’s a long weekend in US and will try answering some of your questions in > Darrell's absence. > > >Why do think having more than 64k per PMD would be

Re: [ovs-discuss] max mega flow 64k per pmd or per dpcls?

2017-07-03 Thread Bodireddy, Bhanuprakash
It’s a long weekend in US and will try answering some of your questions in Darrell's absence. >Why do think having more than 64k per PMD would be optimal ? >I originally thought that the bottleneck in classifier because it is saturated >full >so that look up has to be going to flow table, so I t

Re: [ovs-discuss] max mega flow 64k per pmd or per dpcls?

2017-06-30 Thread Hui Xiang
Thanks Darrell, comment inline. On Sat, Jul 1, 2017 at 1:02 AM, Darrell Ball wrote: > > > > > *From: *Hui Xiang > *Date: *Thursday, June 29, 2017 at 6:57 PM > *To: *Darrell Ball > *Cc: *"Bodireddy, Bhanuprakash" , " > ovs-discuss@openvswitch.org"

Re: [ovs-discuss] max mega flow 64k per pmd or per dpcls?

2017-06-30 Thread Darrell Ball
From: Hui Xiang Date: Thursday, June 29, 2017 at 6:57 PM To: Darrell Ball Cc: "Bodireddy, Bhanuprakash" , "ovs-discuss@openvswitch.org" Subject: Re: [ovs-discuss] max mega flow 64k per pmd or per dpcls? I am interested about how to define 'reasonable' here, h

Re: [ovs-discuss] max mega flow 64k per pmd or per dpcls?

2017-06-30 Thread Hui Xiang
Thank you very much, Bodireddy, appreciated your reply. On Fri, Jun 30, 2017 at 5:19 PM, Bodireddy, Bhanuprakash < bhanuprakash.bodire...@intel.com> wrote: > > > >Thanks Bodireddy. > > > >Sorry I am a bit confused about the EMC occupied size per PMD, here[1] > has a > >different story. > > Init

Re: [ovs-discuss] max mega flow 64k per pmd or per dpcls?

2017-06-30 Thread Bodireddy, Bhanuprakash
> >Thanks Bodireddy. > >Sorry I am a bit confused about the EMC occupied size per PMD, here[1] has a >different story. Initially EMC had 1024 entries and the patch [1] increased it to 8k. By doing so in simple test scenarios, most of the flows will hit EMC and we can achieve wire speed for smal

Re: [ovs-discuss] max mega flow 64k per pmd or per dpcls?

2017-06-29 Thread Hui Xiang
I am interested about how to define 'reasonable' here, how it is got and what what is the 'many case'? is there any document/link to refer this information, please shed me some light. On Thu, Jun 29, 2017 at 10:47 PM, Darrell Ball wrote: > Q: “how it is calculated in such an exact number? “ > >

Re: [ovs-discuss] max mega flow 64k per pmd or per dpcls?

2017-06-29 Thread Hui Xiang
Thanks Bodireddy. Sorry I am a bit confused about the EMC occupied size per PMD, here[1] has a different story. Do you mean in real scenarios OVS-DPDK can be memory bound on EMC? I thought EMC should be totally fit in LLC. If the megaflows just part in LLC, then the cost of copy between memory a

Re: [ovs-discuss] max mega flow 64k per pmd or per dpcls?

2017-06-29 Thread Darrell Ball
Q: “how it is calculated in such an exact number? “ A: It is a reasonable number to accommodate many cases. Q: “If there are more ports added for polling, for avoid competing can I increase the 64k size into a bigger one?” A: If a larger number is needed, it may imply that adding another PMD an

Re: [ovs-discuss] max mega flow 64k per pmd or per dpcls?

2017-06-29 Thread Bodireddy, Bhanuprakash
> >I guess the answer is now the general LLC is 2.5M per core so that there is 64k >flows per thread. AFAIK, the no. of flows here may not have to do anything with LLC. Also there is EMC cache(8k entries) of ~4MB per PMD thread. Yes the performance will be nice with simple test cases (P2P with 1

Re: [ovs-discuss] max mega flow 64k per pmd or per dpcls?

2017-06-29 Thread Hui Xiang
I guess the answer is now the general LLC is 2.5M per core so that there is 64k flows per thread. On Fri, Jun 23, 2017 at 11:15 AM, Hui Xiang wrote: > Thanks Darrell, > > More questions: > Why not allocating 64k for each dpcls? does the 64k just fit in L3 cache > or anywhere? how it is calculate

Re: [ovs-discuss] max mega flow 64k per pmd or per dpcls?

2017-06-22 Thread Hui Xiang
Thanks Darrell, More questions: Why not allocating 64k for each dpcls? does the 64k just fit in L3 cache or anywhere? how it is calculated in such an exact number? If there are more ports added for polling, for avoid competing can I increase the 64k size into a bigger one? Thanks. Hui. _

Re: [ovs-discuss] max mega flow 64k per pmd or per dpcls?

2017-06-22 Thread Darrell Ball
From: on behalf of Hui Xiang Date: Thursday, June 22, 2017 at 2:22 AM To: "ovs-discuss@openvswitch.org" Subject: Re: [ovs-discuss] max mega flow 64k per pmd or per dpcls? Anyone could help to answer it? On Tue, Jun 20, 2017 at 6:22 PM, Hui Xiang mailto:xiangh...@gmail.com>&

Re: [ovs-discuss] max mega flow 64k per pmd or per dpcls?

2017-06-22 Thread Hui Xiang
Anyone could help to answer it? On Tue, Jun 20, 2017 at 6:22 PM, Hui Xiang wrote: > Hello guys, > > I have seen that there will be one dpcls instance for each port per pmd, > and seems flow table max entries num is 64k per pmd other than per dpcls, > my question is if there are several dpcls i