Re: [dpdk-dev] Inconsistent behavior of mempool with regards to hugepage allocation

2020-01-09 Thread Olivier Matz
On Tue, Jan 07, 2020 at 01:06:01PM +, Burakov, Anatoly wrote: > On 27-Dec-19 11:11 AM, Olivier Matz wrote: > > Hi Bao-Long, > > > > On Fri, Dec 27, 2019 at 06:05:57PM +0800, Bao-Long Tran wrote: > > > Hi Olivier, > > > > > > > On 27 Dec 2019, at 4:11 PM, Olivier Matz wrote: > > > > > > > >

Re: [dpdk-dev] Inconsistent behavior of mempool with regards to hugepage allocation

2020-01-07 Thread Burakov, Anatoly
On 27-Dec-19 11:11 AM, Olivier Matz wrote: Hi Bao-Long, On Fri, Dec 27, 2019 at 06:05:57PM +0800, Bao-Long Tran wrote: Hi Olivier, On 27 Dec 2019, at 4:11 PM, Olivier Matz wrote: On Thu, Dec 26, 2019 at 04:45:24PM +0100, Olivier Matz wrote: Hi Bao-Long, On Mon, Dec 23, 2019 at 07:09:29PM

Re: [dpdk-dev] Inconsistent behavior of mempool with regards to hugepage allocation

2019-12-27 Thread Olivier Matz
Hi Bao-Long, On Fri, Dec 27, 2019 at 06:05:57PM +0800, Bao-Long Tran wrote: > Hi Olivier, > > > On 27 Dec 2019, at 4:11 PM, Olivier Matz wrote: > > > > On Thu, Dec 26, 2019 at 04:45:24PM +0100, Olivier Matz wrote: > >> Hi Bao-Long, > >> > >> On Mon, Dec 23, 2019 at 07:09:29PM +0800, Bao-Long T

Re: [dpdk-dev] Inconsistent behavior of mempool with regards to hugepage allocation

2019-12-27 Thread Bao-Long Tran
Hi Olivier, > On 27 Dec 2019, at 4:11 PM, Olivier Matz wrote: > > On Thu, Dec 26, 2019 at 04:45:24PM +0100, Olivier Matz wrote: >> Hi Bao-Long, >> >> On Mon, Dec 23, 2019 at 07:09:29PM +0800, Bao-Long Tran wrote: >>> Hi, >>> >>> I'm not sure if this is a bug, but I've seen an inconsistency in

Re: [dpdk-dev] Inconsistent behavior of mempool with regards to hugepage allocation

2019-12-27 Thread Olivier Matz
On Thu, Dec 26, 2019 at 04:45:24PM +0100, Olivier Matz wrote: > Hi Bao-Long, > > On Mon, Dec 23, 2019 at 07:09:29PM +0800, Bao-Long Tran wrote: > > Hi, > > > > I'm not sure if this is a bug, but I've seen an inconsistency in the > > behavior > > of DPDK with regards to hugepage allocation for r

Re: [dpdk-dev] Inconsistent behavior of mempool with regards to hugepage allocation

2019-12-26 Thread Olivier Matz
Hi Bao-Long, On Mon, Dec 23, 2019 at 07:09:29PM +0800, Bao-Long Tran wrote: > Hi, > > I'm not sure if this is a bug, but I've seen an inconsistency in the behavior > of DPDK with regards to hugepage allocation for rte_mempool. Basically, for > the > same mempool size, the number of hugepages al

[dpdk-dev] Inconsistent behavior of mempool with regards to hugepage allocation

2019-12-23 Thread Bao-Long Tran
Hi, I'm not sure if this is a bug, but I've seen an inconsistency in the behavior of DPDK with regards to hugepage allocation for rte_mempool. Basically, for the same mempool size, the number of hugepages allocated changes from run to run. Here's how I reproduce with DPDK 19.11. IOVA=pa (default