Re: [dpdk-dev] [PATCH] mempool: fix slow allocation of large mempools

2020-01-17 Thread Olivier Matz
Hi, On Fri, Jan 10, 2020 at 12:53:24PM +0300, Andrew Rybchenko wrote: > On 1/9/20 4:27 PM, Olivier Matz wrote: > > When allocating a mempool which is larger than the largest > > available area, it can take a lot of time: > > > > a- the mempool calculate the required memory size, and tries > >

Re: [dpdk-dev] [PATCH] mempool: fix slow allocation of large mempools

2020-01-10 Thread Andrew Rybchenko
On 1/9/20 4:27 PM, Olivier Matz wrote: > When allocating a mempool which is larger than the largest > available area, it can take a lot of time: > > a- the mempool calculate the required memory size, and tries >to allocate it, it fails > b- then it tries to allocate the largest available area

Re: [dpdk-dev] [PATCH] mempool: fix slow allocation of large mempools

2020-01-09 Thread Olivier Matz
natoly Burakov > > ; sta...@dpdk.org > > Subject: [dpdk-dev] [PATCH] mempool: fix slow allocation of large mempools > > > > When allocating a mempool which is larger than the largest available area, > > it > > can take a lot of time: > > > > a- the mempool

Re: [dpdk-dev] [PATCH] mempool: fix slow allocation of large mempools

2020-01-09 Thread Ali Alnubani
Hi Olivier, > -Original Message- > From: dev On Behalf Of Olivier Matz > Sent: Thursday, January 9, 2020 3:28 PM > To: dev@dpdk.org > Cc: Andrew Rybchenko ; Anatoly Burakov > ; sta...@dpdk.org > Subject: [dpdk-dev] [PATCH] mempool: fix slow allocation of lar

Re: [dpdk-dev] [PATCH] mempool: fix slow allocation of large mempools

2020-01-09 Thread Burakov, Anatoly
On 09-Jan-20 1:27 PM, Olivier Matz wrote: When allocating a mempool which is larger than the largest available area, it can take a lot of time: a- the mempool calculate the required memory size, and tries to allocate it, it fails b- then it tries to allocate the largest available area (this

[dpdk-dev] [PATCH] mempool: fix slow allocation of large mempools

2020-01-09 Thread Olivier Matz
When allocating a mempool which is larger than the largest available area, it can take a lot of time: a- the mempool calculate the required memory size, and tries to allocate it, it fails b- then it tries to allocate the largest available area (this does not request new huge pages) c- add th