Re: [dpdk-dev] [RFC] mempool: implement index-based per core cache

2021-11-08 Thread Jerin Jacob
On Mon, Nov 8, 2021 at 9:34 PM Morten Brørup wrote: > > > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Honnappa > > Nagarahalli > > Sent: Monday, 8 November 2021 16.46 > > > > > > > > > > > > > > > > > Current mempool per core cache implementation is > > > > based > > > > > > > >

Re: [dpdk-dev] [RFC] mempool: implement index-based per core cache

2021-11-08 Thread Morten Brørup
> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Honnappa > Nagarahalli > Sent: Monday, 8 November 2021 16.46 > > > > > > > > > > > > > Current mempool per core cache implementation is > > > based > > > > > > > > on > > > > > > > > pointer > > > > > > > > For mos

Re: [dpdk-dev] [RFC] mempool: implement index-based per core cache

2021-11-08 Thread Honnappa Nagarahalli
> > > > > > > > > Current mempool per core cache implementation is > > based > > > > > > > on > > > > > > > pointer > > > > > > > For most architectures, each pointer consumes 64b > > > > > > > Replace > > > > it > > > > > > > with > > > > > > > inde

Re: [dpdk-dev] [RFC] mempool: implement index-based per core cache

2021-11-08 Thread Morten Brørup
> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Honnappa > Nagarahalli > Sent: Monday, 8 November 2021 16.29 > > > > > > > > > Current mempool per core cache implementation is > based > > > > > > on > > > > > > pointer > > > > > > For most architectures, each p

Re: [dpdk-dev] [RFC] mempool: implement index-based per core cache

2021-11-08 Thread Honnappa Nagarahalli
> > > > > Current mempool per core cache implementation is based > > > > > on > > > > > pointer > > > > > For most architectures, each pointer consumes 64b > > > > > Replace > > it > > > > > with > > > > > index-based implementation, where in each b

Re: [dpdk-dev] [RFC] mempool: implement index-based per core cache

2021-11-07 Thread Morten Brørup
> From: Honnappa Nagarahalli [mailto:honnappa.nagaraha...@arm.com] > Sent: Monday, 8 November 2021 05.33 > > > > > > > Current mempool per core cache implementation is based on > > > > pointer > > > > For most architectures, each pointer consumes 64b Replace > it > > > >

Re: [dpdk-dev] [RFC] mempool: implement index-based per core cache

2021-11-07 Thread Honnappa Nagarahalli
> > > Current mempool per core cache implementation is based on > > > pointer > > > For most architectures, each pointer consumes 64b Replace it > > > with > > > index-based implementation, where in each buffer is > > > addressed > > > by > > >

Re: [dpdk-dev] [RFC] mempool: implement index-based per core cache

2021-11-04 Thread Morten Brørup
+ Ring library maintainers (@Honnappa and @Konstantin) for my rants about its documentation. > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Dharmik Thakkar > Sent: Thursday, 4 November 2021 05.42 > > > On Nov 3, 2021, at 10:52 AM, Morten Brørup > wrote: > > > >> From: dev [mailto:dev-bo

Re: [dpdk-dev] [RFC] mempool: implement index-based per core cache

2021-11-03 Thread Dharmik Thakkar
> On Nov 3, 2021, at 10:52 AM, Morten Brørup wrote: > >> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Dharmik Thakkar >> Sent: Wednesday, 3 November 2021 16.13 >> >> Hi, >> >> Thank you everyone for the comments! I am currently working on making >> the global pool ring’s implementatio

Re: [dpdk-dev] [RFC] mempool: implement index-based per core cache

2021-11-03 Thread Morten Brørup
> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Dharmik Thakkar > Sent: Wednesday, 3 November 2021 16.13 > > Hi, > > Thank you everyone for the comments! I am currently working on making > the global pool ring’s implementation as index based. > Once done, I will send a patch for community

Re: [dpdk-dev] [RFC] mempool: implement index-based per core cache

2021-11-03 Thread Dharmik Thakkar
Hi, Thank you everyone for the comments! I am currently working on making the global pool ring’s implementation as index based. Once done, I will send a patch for community review. I will also make it as a compile time option. > On Oct 31, 2021, at 3:14 AM, Morten Brørup wrote: > >> From: Mor

Re: [dpdk-dev] [RFC] mempool: implement index-based per core cache

2021-10-31 Thread Morten Brørup
> From: Morten Brørup > Sent: Saturday, 30 October 2021 12.24 > > > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Honnappa > > Nagarahalli > > Sent: Monday, 4 October 2021 18.36 > > > > > > > > > > > > > > > > Current mempool per core cache implementation is based on > > pointer > > > > >

Re: [dpdk-dev] [RFC] mempool: implement index-based per core cache

2021-10-30 Thread Morten Brørup
> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Honnappa > Nagarahalli > Sent: Monday, 4 October 2021 18.36 > > > > > > > > > > > Current mempool per core cache implementation is based on > pointer > > > > > For most architectures, each pointer consumes 64b Replace it > with > > > > > inde

Re: [dpdk-dev] [RFC] mempool: implement index-based per core cache

2021-10-04 Thread Honnappa Nagarahalli
> > > > > > Current mempool per core cache implementation is based on pointer > > > > For most architectures, each pointer consumes 64b Replace it with > > > > index-based implementation, where in each buffer is addressed by > > > > (pool address + index) > > > > > > I don't think it is going to

Re: [dpdk-dev] [RFC] mempool: implement index-based per core cache

2021-10-02 Thread Ananyev, Konstantin
> > > Current mempool per core cache implementation is based on pointer For > > > most architectures, each pointer consumes 64b Replace it with > > > index-based implementation, where in each buffer is addressed by (pool > > > address + index) > > > > I don't think it is going to work: > > On 64-

Re: [dpdk-dev] [RFC] mempool: implement index-based per core cache

2021-10-01 Thread Honnappa Nagarahalli
> > > Current mempool per core cache implementation is based on pointer For > > most architectures, each pointer consumes 64b Replace it with > > index-based implementation, where in each buffer is addressed by (pool > > address + index) > > I don't think it is going to work: > On 64-bit systems

Re: [dpdk-dev] [RFC] mempool: implement index-based per core cache

2021-10-01 Thread Ananyev, Konstantin
> Current mempool per core cache implementation is based on pointer > For most architectures, each pointer consumes 64b > Replace it with index-based implementation, where in each buffer > is addressed by (pool address + index) I don't think it is going to work: On 64-bit systems difference betwee

Re: [dpdk-dev] [RFC] mempool: implement index-based per core cache

2021-10-01 Thread Jerin Jacob
On Fri, Oct 1, 2021 at 11:02 PM Jerin Jacob wrote: > > On Fri, Oct 1, 2021 at 9:14 PM Honnappa Nagarahalli > wrote: > > > > > > > > > > > > On Thu, Sep 30, 2021 at 10:57 PM Dharmik Thakkar > > > wrote: > > > > > > > > Current mempool per core cache implementation is based on pointer For > > > >

Re: [dpdk-dev] [RFC] mempool: implement index-based per core cache

2021-10-01 Thread Honnappa Nagarahalli
> > > > > > > > On Thu, Sep 30, 2021 at 10:57 PM Dharmik Thakkar > > > wrote: > > > > > > > > Current mempool per core cache implementation is based on pointer > > > > For most architectures, each pointer consumes 64b Replace it with > > > > index-based implementation, where in each buffer is add

Re: [dpdk-dev] [RFC] mempool: implement index-based per core cache

2021-10-01 Thread Jerin Jacob
On Fri, Oct 1, 2021 at 9:14 PM Honnappa Nagarahalli wrote: > > > > > > > On Thu, Sep 30, 2021 at 10:57 PM Dharmik Thakkar > > wrote: > > > > > > Current mempool per core cache implementation is based on pointer For > > > most architectures, each pointer consumes 64b Replace it with > > > index-b

Re: [dpdk-dev] [RFC] mempool: implement index-based per core cache

2021-10-01 Thread Honnappa Nagarahalli
> > On Thu, Sep 30, 2021 at 10:57 PM Dharmik Thakkar > wrote: > > > > Current mempool per core cache implementation is based on pointer For > > most architectures, each pointer consumes 64b Replace it with > > index-based implementation, where in each buffer is addressed by (pool > > address +

Re: [dpdk-dev] [RFC] mempool: implement index-based per core cache

2021-10-01 Thread Jerin Jacob
On Thu, Sep 30, 2021 at 10:57 PM Dharmik Thakkar wrote: > > Current mempool per core cache implementation is based on pointer > For most architectures, each pointer consumes 64b > Replace it with index-based implementation, where in each buffer > is addressed by (pool address + index) > It will re

[dpdk-dev] [RFC] mempool: implement index-based per core cache

2021-09-30 Thread Dharmik Thakkar
Current mempool per core cache implementation is based on pointer For most architectures, each pointer consumes 64b Replace it with index-based implementation, where in each buffer is addressed by (pool address + index) It will reduce memory requirements L3Fwd performance testing reveals minor imp