On 08-Jan-19 1:15 PM, chetan bhasin wrote:
Thanks Anatoly
On Tue, Jan 8, 2019, 16:01 Burakov, Anatoly <anatoly.bura...@intel.com
<mailto:anatoly.bura...@intel.com> wrote:
On 02-Jan-19 3:31 PM, chetan bhasin wrote:
> Hi,
>
> I am using DPDK 17.11.4 version . Do anybody have idea that DPDK
is using
> benefit of Transparent huge-pages in case of Madvise.
>
> Thanks,
> Chetan Bhasin
>
Hi,
DPDK does not use MADVISE flags to allocate its hugepages - it
allocates
hugepages explicitly [1] [2].
[1]
http://git.dpdk.org/dpdk/tree/lib/librte_eal/linuxapp/eal/eal_memalloc.c#n367
[2]
http://git.dpdk.org/dpdk/tree/lib/librte_eal/linuxapp/eal/eal_memory.c#n336
--
Thanks,
Anatoly
Apologies, i didn't notice that the question was about 17.11, so the
source code links are incorrect. However, the answer itself is still
correct - we always did allocate hugepages directly, and we never used
MADVISE flags.
--
Thanks,
Anatoly