[PATCH v7] eal: allow worker lcore stacks to be allocated from hugepage memory

David Marchand david.marchand at redhat.com
Thu Jun 23 22:32:45 CEST 2022


On Thu, Jun 23, 2022 at 1:21 PM Don Wallwork <donw at xsightlabs.com> wrote:
>
> 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-in-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>
> Acked-by: Morten Brørup <mb at smartsharesystems.com>
> Acked-by: Chengwen Feng <fengchengwen at huawei.com>

Applied, thanks Don.


-- 
David Marchand



More information about the dev mailing list