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

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,

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

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

2017-06-30 Thread Hui Xiang
t;Bodireddy, Bhanuprakash" <bhanuprakash.bodire...@intel.com>, " > ovs-discuss@openvswitch.org" <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'

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

2017-06-30 Thread Darrell Ball
From: Hui Xiang <xiangh...@gmail.com> Date: Thursday, June 29, 2017 at 6:57 PM To: Darrell Ball <db...@vmware.com> Cc: "Bodireddy, Bhanuprakash" <bhanuprakash.bodire...@intel.com>, "ovs-discuss@openvswitch.org" <ovs-discuss@openvswitch.org> Subject:

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. > >

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

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

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

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

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

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