[dpdk-dev] [PATCH] config: increase default maximum number of NUMA nodes

Jerin Jacob jerinjacobk at gmail.com
Thu Feb 4 07:19:57 CET 2021


On Thu, Feb 4, 2021 at 2:49 AM Thomas Monjalon <thomas at monjalon.net> wrote:
>
> AMD CPU can present a high number of NUMA nodes.
> The default should be 32 for better compatibility.

The typical configuration is 4 nodes[1] for AMD. Just wondering, Is it
an exception case? if so, Do we need to consume more memory for normal
cases?

[1]
https://developer.amd.com/wp-content/resources/56308-NUMA%20Topology%20for%20AMD%20EPYC%E2%84%A2%20Naples%20Family%20Processors.PDF

>
> Signed-off-by: Thomas Monjalon <thomas at monjalon.net>
> ---
>  meson_options.txt | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meson_options.txt b/meson_options.txt
> index 5c382487da..6eff62e47d 100644
> --- a/meson_options.txt
> +++ b/meson_options.txt
> @@ -26,7 +26,7 @@ option('max_ethports', type: 'integer', value: 32,
>         description: 'maximum number of Ethernet devices')
>  option('max_lcores', type: 'integer', value: 128,
>         description: 'maximum number of cores/threads supported by EAL')
> -option('max_numa_nodes', type: 'integer', value: 4,
> +option('max_numa_nodes', type: 'integer', value: 32,
>         description: 'maximum number of NUMA nodes supported by EAL')
>  option('enable_trace_fp', type: 'boolean', value: false,
>         description: 'enable fast path trace points.')
> --
> 2.30.0
>


More information about the dev mailing list