[dpdk-dev] [PATCH] EAL: Take reserved hugepages into account

Stephen Hemminger stephen at networkplumber.org
Thu Apr 17 05:22:57 CEST 2014


On Wed, 16 Apr 2014 11:11:12 +0000
"Burakov, Anatoly" <anatoly.burakov at intel.com> wrote:

> Some applications reserve hugepages for later use, but DPDK doesn't take reserved pages into account when calculating number of available number of hugepages. This patch adds reading from "resv_hugepages" file in addition to "free_hugepages".
> ---
>  lib/librte_eal/linuxapp/eal/eal_hugepage_info.c | 16 +++++++++++++++-
>  1 file changed, 15 insertions(+), 1 deletion(-)

Would it be worth using libhuge instead of doing heavy lifting in DPDK?
>  



More information about the dev mailing list