numatop/0014-common-Increase-count-...

31 lines
917 B
Diff

From 6f6cc3b24d84c413556639b64a62aca6ad0b21cc Mon Sep 17 00:00:00 2001
From: Sandipan Das <sandipan.das@amd.com>
Date: Mon, 10 Oct 2022 14:55:45 +0530
Subject: [PATCH 14/15] common: Increase count of possible CPUs per-node
Upcoming AMD Zen 4 processors support up to 256 threads per
NUMA node in NPS1 configuration. Hence, increase the number
of possible CPUs per-node to 256.
Signed-off-by: Sandipan Das <sandipan.das@amd.com>
---
common/include/types.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/common/include/types.h b/common/include/types.h
index efe3055..05b411a 100644
--- a/common/include/types.h
+++ b/common/include/types.h
@@ -116,7 +116,7 @@ typedef enum {
#define UI_COUNT_NUM 5
#define NNODES_MAX 64
-#define NCPUS_NODE_MAX 128
+#define NCPUS_NODE_MAX 256
#define NCPUS_MAX (NNODES_MAX * NCPUS_NODE_MAX)
#define NPROCS_NAX 4096
#define LL_THRESH 128
--
2.31.1