I'm working on a system that has the following hugepages configuration: ## sudo dpdk-hugepages.py -s Node Pages Size Total 2 256 2Mb 512Mb 2 8 1Gb 8Gb 0 256 2Mb 512Mb 0 8 1Gb 8Gb 3 256 2Mb 512Mb 3 8 1Gb 8Gb 1 256 2Mb 512Mb 1 8 1Gb 8Gb Hugepages mounted on /dev/hugepages ##
If I try to allocate memory with rte_memzone_reserve_aligned(mem_name, 1024*1024, socket_id, RTE_MEMZONE_2MB | RTE_MEMZONE_SIZE_HINT_ONLY | RTE_MEMZONE_IOVA_CONTIG, RTE_CACHE_LINE_SIZE): it always allocate the memory on 1GB hugepage. If I remove RTE_MEMZONE_SIZE_HINT_ONLY flag, the allocation fails. Regards.
