I am trying to allocate 32Gb memory via rte_calloc applying config changes advised in https://bugs.dpdk.org/show_bug.cgi?id=608. I am using 1Gb hugepages. However, in order to success, the system requires to reserve 66 pages which is too much - we just don't have enough RAM on our production hosts. Please advise.
Btw if its by design or difficult to fix could you please tell if I can use other methods to allocate? Say, directly mmap hugepage via something like: mmap(NULL, memory_size_, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANONYMOUS | MAP_HUGETLB, -1, 0); ?