Skip to contentSkip to conversation

usertools: suggest use of hwloc for new cpu

PATCH New Vipin Varghese 1 participant 1 message Aug 12, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 usertools: suggest use of hwloc for new cpu

Most modern processor now supports numa partitioning using sub NUMA CPU-IO & Last Level Cache within the same socket. As per the discussion in mailing list, suggesting the make use of hw-loc for such scenarios.

---

---
 usertools/cpu_layout.py | 10 ++++++++++
 1 file changed, 10 insertions(+)
usertools/cpu_layout.py +10 -0
index 891b9238fa..48c1f06d95 100755
@@ -29,6 +29,16 @@
         core_map[key] = []
     core_map[key].append(cpu)
 
+
+print("")
+print(format("=" * (55 + len(base_path))))
+print(" for more porcessors, which support sub Socket Numa & L3 Numa clustering, please use")
+print(format("=" * (55 + len(base_path))))
+print("  - lstopo-no-graphics  --no-io -.ascii (CPU Mapping)")
+print("  - lstopo-no-graphics  -.ascii --whole-io --no-caches (IO device Mapping)")
+print(format("=" * (55 + len(base_path))))
+print("")
+
 print(format("=" * (47 + len(base_path))))
 print("Core and Socket Information (as reported by '{}')".format(base_path))
 print("{}\n".format("=" * (47 + len(base_path))))
Signature · 1 line
2.34.1