寻觅生命中的那一片浅草......

CPU拓扑查看工具:hwloc

如果要看CPU拓扑,lscpu,numastat都可以看,今天发现hwloc,会更直观些,下面摘抄官网介绍,简单点说,hwloc可以显示CPU拓扑,比较方面地查看CPU各级缓存以及各个核、物理CPU之间,可以共享哪一级别的CPU cache

The Portable Hardware Locality (hwloc) software package provides a portable abstraction (across OS, versions, architectures, …) of the hierarchical topology of modern architectures, including NUMA memory nodes, sockets, shared caches, cores and simultaneous multithreading.

简单使用

hwloc-ls

如果是文本界面,则会输出文字,如果是桌面环境,则会弹窗一个窗口

引用一张官方的图:

 

2024年五月
« 5月    
 12345
6789101112
13141516171819
20212223242526
2728293031