2016年4月3日 星期日

Ubuntu 查詢 NUMA設定

1. Linux系統支援NUMA架構,使用者可以透過numactl與numastat命令來查看NUMA的狀況
$ numactl --show
policy: default
preferred node: current
physcpubind: 0 1
cpubind: 0 
nodebind: 0 
membind: 0
$ numastat
                           node0
numa_hit                  644854
numa_miss                      0
numa_foreign                   0
interleave_hit             15423
local_node                644854
other_node                     0
上圖顯示,physcpubind: 0 1 表示系統擁有2個核心,nodebind: 0 表示目前只設定成單一node
2. 參考來源
Linux系統效能分析與探討 - [19] 多核心的記憶體管理狀態 - numactl與numastat
https://access.redhat.com/documentation/zh-TW/Red_Hat_Enterprise_Linux/6/html/Performance_Tuning_Guide/main-cpu.html#s-cpu-numa-topology

沒有留言:

張貼留言