LinuxでCPUステッピングを取得する

LinuxでCPUステッピングを取得する

トピックが示すように、CPUを正しくインポートするにはステッピングコードが必要です。 Wikipediaによると、同様のステップコードがあります。A0A2B0したがって、Linux(ubuntu 16.04)のコマンドは以下を提供します。

# dmidecode -t 4 | grep Stepping | awk '{ printf $8": "$9"\n" }'
# Stepping: 2

# lscpu | grep Stepping
# Stepping: 2

# cpuid | grep stepping
# stepping id = 0x2 (2)

# cat /proc/cpuinfo | grep stepping
# stepping: 2

全出力:cat /proc/cpuinfo(コア1個):

processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 44
model name      : Intel(R) Xeon(R) CPU           E5620  @ 2.40GHz
stepping        : 2
microcode       : 0x13
cpu MHz         : 2400.208
cache size      : 12288 KB
physical id     : 0
siblings        : 4
core id         : 0
cpu cores       : 4
apicid          : 0
initial apicid  : 0
fpu             : yes
fpu_exception   : yes
cpuid level     : 11
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid dca sse4_1 sse4_2 popcnt lahf_lm epb kaiser tpr_shadow vnmi flexpriority ept vpid dtherm ida arat
bugs            :
bogomips        : 4800.41
clflush size    : 64
cache_alignment : 64
address sizes   : 40 bits physical, 48 bits virtual
power management:
...

CPUID(一部):

...
family          = Intel Pentium Pro/II/III/Celeron/Core/Core 2/Atom, AMD Athlon/Duron, Cyrix M2, VIA C3 (6)
...
(simple synth)  = Intel Core i7-900 (Gulftown B1) / Core i7-980X (Gulftown B1) / Xeon Processor 3600 (Westmere-EP B1) / Xeon Processor 5600 (Westmere-EP B1), 32nm
...

dmidecode -t 4(一部):

...
Signature: Type 0, Family 6, Model 44, Stepping 2
...

インターネットの一部のスクリーンショットCPU-Zプログラム:

改訂版E0?

インターネットの一部のスクリーンショットCPU-Gプログラム:

ステップ4?

だから何ですか?0x2または2? Wikipediaに記載されているA0またはB1ではないのはなぜですか?ステップ番号の前にこの手紙を受け取るには?

ありがとう、V7

ベストアンサー1

CPUの情報のみを使用してステップ番号をステップ名にマップする方法はありません。 Intelの仕様の更新を確認したいと思います。これには、さまざまなCPUリビジョンで修正された正誤表の説明が含まれており、さまざまな手順を識別できる識別情報も含まれています。

たとえば、E8500の場合、仕様の更新2つのリビジョンがリストされています。 C0とE0、C0はプロセッサ署名10676hに対応し、E0はプロセッサ署名1067Ahに対応します(16ページの表1を参照)。この署名の最後の4ビットは、/proc/cpuinfoCPU-Zのステップフィールドに提供されているステップ値と同じです。lscpu数値とステップ名の間には明確な相関関係はありません(6はE8500ステップC0、Aを表します)。 E8500 ステップ E0 を示します)。 CPU-Zなどのツールにはこれらすべての識別情報が含まれており、それを使用してGUIにステップ名を提供します。

おすすめ記事