linux CPUスレッド情報の表示

2167 ワード

linux CPUスレッド情報の表示
定義#テイギ#
-マルチプロセッサとは、同じマザーボードに搭載された複数のプロセッサを指します.-マルチコアは、単一のプロセッサに複数の完全なコンピューティングエンジン(カーネル)が含まれています.-マルチスレッドは、ハードウェア上で複数のスレッドを同時に実行するテクノロジーを指します.
プロセッサ情報
$cat /proc/cpuinfo
processor   : 0
......
processor   : 23
vendor_id   : GenuineIntel
cpu family  : 6
model       : 44
model name  : Intel(R) Xeon(R) CPU E5645 @ 2.40GHz
stepping    : 2
microcode   : 5
cpu MHz     : 1600.000
cache size  : 12288 KB
physical id : 1
siblings    : 12
core id     : 9
cpu cores   : 6
apicid      : 51
initial apicid  : 51
fpu             : yes
fpu_exception   : yes
cpuid level     : 11
wp              : yes
flags           : 
bogomips        : 4798.16
clflush size    : 64
cache_alignment : 64
address sizes   : 40 bits physical, 48 bits virtual
power management:

要約表
processor
core id
physical id
0
0
0
1
0
1
2
8
0
3
8
1
4
2
0
5
2
1
6
10
0
7
10
1
8
1
0
9
1
1
10
9
0
11
9
1
12
0
0
13
0
1
14
8
0
15
8
1
16
2
0
17
2
1
18
10
0
19
10
1
まとめ
-2つのプロセッサ(2つのphysical id)-各プロセッサは6コア(同じphysical idには6つのcore idがある)-各コアには2つのスレッド(同じphysical idとcore idには2つの論理プロセッサがある)-マシンには24のCPUスレッドがある