[PATCH] eal: allow worker lcore stacks to be allocated from hugepage memory
Morten Brørup
mb at smartsharesystems.com
Tue May 3 08:10:50 CEST 2022
> From: Don Wallwork [mailto:donw at xsightlabs.com]
> Sent: Monday, 2 May 2022 16.11
>
> Add support for using hugepages for worker lcore stack memory. The
> intent is to improve performance by reducing stack memory related TLB
> misses and also by using memory local to the NUMA node of each lcore.
>
> EAL option '--huge-worker-stack [stack-size-kbytes]' is added to allow
> the feature to be enabled at runtime. If the size is not specified,
> the system pthread stack size will be used.
>
> Signed-off-by: Don Wallwork <donw at xsightlabs.com>
> ---
> lib/eal/common/eal_common_options.c | 31 ++++++++++++++
> lib/eal/common/eal_internal_cfg.h | 4 ++
> lib/eal/common/eal_options.h | 2 +
> lib/eal/linux/eal.c | 65 ++++++++++++++++++++++++++++-
> 4 files changed, 100 insertions(+), 2 deletions(-)
>
Acked-by: Morten Brørup <mb at smartsharesystems.com>
More information about the dev
mailing list