Re: [dpdk-dev] [PATCH] mem: balanced allocation of hugepages

2017-04-10 Thread Ilya Maximets
On 10.04.2017 10:51, Sergio Gonzalez Monroy wrote: > On 10/04/2017 08:11, Ilya Maximets wrote: >> On 07.04.2017 18:44, Thomas Monjalon wrote: >>> 2017-04-07 18:14, Ilya Maximets: Hi All. I wanted to ask (just to clarify current status): Will this patch be included in current r

Re: [dpdk-dev] [PATCH] mem: balanced allocation of hugepages

2017-04-10 Thread Sergio Gonzalez Monroy
On 10/04/2017 08:11, Ilya Maximets wrote: On 07.04.2017 18:44, Thomas Monjalon wrote: 2017-04-07 18:14, Ilya Maximets: Hi All. I wanted to ask (just to clarify current status): Will this patch be included in current release (acked by maintainer) and then I will upgrade it to hybrid logic or I

Re: [dpdk-dev] [PATCH] mem: balanced allocation of hugepages

2017-04-10 Thread Ilya Maximets
On 07.04.2017 18:44, Thomas Monjalon wrote: > 2017-04-07 18:14, Ilya Maximets: >> Hi All. >> >> I wanted to ask (just to clarify current status): >> Will this patch be included in current release (acked by maintainer) >> and then I will upgrade it to hybrid logic or I will just prepare v3 >> with h

Re: [dpdk-dev] [PATCH] mem: balanced allocation of hugepages

2017-04-07 Thread Thomas Monjalon
2017-04-07 18:14, Ilya Maximets: > Hi All. > > I wanted to ask (just to clarify current status): > Will this patch be included in current release (acked by maintainer) > and then I will upgrade it to hybrid logic or I will just prepare v3 > with hybrid logic for 17.08 ? What is your preferred opt

Re: [dpdk-dev] [PATCH] mem: balanced allocation of hugepages

2017-04-07 Thread Ilya Maximets
Hi All. I wanted to ask (just to clarify current status): Will this patch be included in current release (acked by maintainer) and then I will upgrade it to hybrid logic or I will just prepare v3 with hybrid logic for 17.08 ? Best regards, Ilya Maximets. On 27.03.2017 17:43, Ilya Maximets wrote

Re: [dpdk-dev] [PATCH] mem: balanced allocation of hugepages

2017-03-27 Thread Ilya Maximets
On 27.03.2017 16:01, Sergio Gonzalez Monroy wrote: > On 09/03/2017 12:57, Ilya Maximets wrote: >> On 08.03.2017 16:46, Sergio Gonzalez Monroy wrote: >>> Hi Ilya, >>> >>> I have done similar tests and as you already pointed out, 'numactl >>> --interleave' does not seem to work as expected. >>> I ha

Re: [dpdk-dev] [PATCH] mem: balanced allocation of hugepages

2017-03-27 Thread Sergio Gonzalez Monroy
On 09/03/2017 12:57, Ilya Maximets wrote: On 08.03.2017 16:46, Sergio Gonzalez Monroy wrote: Hi Ilya, I have done similar tests and as you already pointed out, 'numactl --interleave' does not seem to work as expected. I have also checked that the issue can be reproduced with quota limit on hu

Re: [dpdk-dev] [PATCH] mem: balanced allocation of hugepages

2017-03-09 Thread Ilya Maximets
On 08.03.2017 16:46, Sergio Gonzalez Monroy wrote: > Hi Ilya, > > I have done similar tests and as you already pointed out, 'numactl > --interleave' does not seem to work as expected. > I have also checked that the issue can be reproduced with quota limit on > hugetlbfs mount point. > > I would

Re: [dpdk-dev] [PATCH] mem: balanced allocation of hugepages

2017-03-08 Thread Sergio Gonzalez Monroy
Hi Ilya, I have done similar tests and as you already pointed out, 'numactl --interleave' does not seem to work as expected. I have also checked that the issue can be reproduced with quota limit on hugetlbfs mount point. I would be inclined towards *adding libnuma as dependency* to DPDK to m

Re: [dpdk-dev] [PATCH] mem: balanced allocation of hugepages

2017-03-06 Thread Ilya Maximets
Hi all. So, what about this change? Best regards, Ilya Maximets. On 16.02.2017 16:01, Ilya Maximets wrote: > Currently EAL allocates hugepages one by one not paying > attention from which NUMA node allocation was done. > > Such behaviour leads to allocation failure if number of > available huge

Re: [dpdk-dev] [PATCH] mem: balanced allocation of hugepages

2017-02-16 Thread Ilya Maximets
On 16.02.2017 16:55, Ilya Maximets wrote: > Hi, > > On 16.02.2017 16:26, Tan, Jianfeng wrote: >> Hi, >> >>> -Original Message- >>> From: Ilya Maximets [mailto:i.maxim...@samsung.com] >>> Sent: Thursday, February 16, 2017 9:01 PM >>> To: dev@dpdk.org; David Marchand; Gonzalez Monroy, Serg

Re: [dpdk-dev] [PATCH] mem: balanced allocation of hugepages

2017-02-16 Thread Ilya Maximets
Hi, On 16.02.2017 16:26, Tan, Jianfeng wrote: > Hi, > >> -Original Message- >> From: Ilya Maximets [mailto:i.maxim...@samsung.com] >> Sent: Thursday, February 16, 2017 9:01 PM >> To: dev@dpdk.org; David Marchand; Gonzalez Monroy, Sergio >> Cc: Heetae Ahn; Yuanhan Liu; Tan, Jianfeng; Neil

Re: [dpdk-dev] [PATCH] mem: balanced allocation of hugepages

2017-02-16 Thread Bruce Richardson
On Thu, Feb 16, 2017 at 04:01:10PM +0300, Ilya Maximets wrote: > Currently EAL allocates hugepages one by one not paying > attention from which NUMA node allocation was done. > > Such behaviour leads to allocation failure if number of > available hugepages for application limited by cgroups > or h

Re: [dpdk-dev] [PATCH] mem: balanced allocation of hugepages

2017-02-16 Thread Tan, Jianfeng
Hi, > -Original Message- > From: Ilya Maximets [mailto:i.maxim...@samsung.com] > Sent: Thursday, February 16, 2017 9:01 PM > To: dev@dpdk.org; David Marchand; Gonzalez Monroy, Sergio > Cc: Heetae Ahn; Yuanhan Liu; Tan, Jianfeng; Neil Horman; Pei, Yulong; Ilya > Maximets; sta...@dpdk.org >

[dpdk-dev] [PATCH] mem: balanced allocation of hugepages

2017-02-16 Thread Ilya Maximets
Currently EAL allocates hugepages one by one not paying attention from which NUMA node allocation was done. Such behaviour leads to allocation failure if number of available hugepages for application limited by cgroups or hugetlbfs and memory requested not only from the first socket. Example: