Lib*_*bux 7 debian central-processing-unit kernel hp smp
我已经在 Debian 上运行了几台旧的 HP 机器一段时间了,直到最近才注意到它们只能“识别”并使用一个处理器。cat /proc/cpuinfo
只显示处理器 #0 的输出,与top
等相同。当我拉下系统盖并感觉到散热器时,每个散热器中只有一个是热的。我很确定每个中的第二个处理器没有死,因为它们两个的问题都是一样的。
有人告诉我,我需要安装 SMP 内核(顺便说一下,这些系统是 32 位的,因为它们已经很旧了)但是当我这样做时uname -a
,我得到:
Linux DL360-G3-3 2.6.32-5-686 #1 SMP Mon Feb 25 01:04:36 UTC 2013 i686 GNU/Linux
Run Code Online (Sandbox Code Playgroud)
这SMP
部分让我相信在我的内核中启用了 SMP,但系统仍然只显示和使用 1 个处理器。
有人知道这里出了什么问题吗?
编辑:
的输出ls /sys/devices/system/cpu
:
cpu0 cpufreq cpuidle kernel_max offline online perf_events possible present
Run Code Online (Sandbox Code Playgroud)
输出dmidecode
(剪切到 CPU 信息):
Processor Information
Socket Designation: Proc 1
Type: Central Processor
Family: Xeon
Manufacturer: Intel
ID: 29 0F 00 00 FF FB EB BF
Signature: Type 0, Family 15, Model 2, Stepping 9
Flags:
FPU (Floating-point unit on-chip)
VME (Virtual mode extension)
DE (Debugging extension)
PSE (Page size extension)
TSC (Time stamp counter)
MSR (Model specific registers)
PAE (Physical address extension)
MCE (Machine check exception)
CX8 (CMPXCHG8 instruction supported)
APIC (On-chip APIC hardware supported)
SEP (Fast system call)
MTRR (Memory type range registers)
PGE (Page global enable)
MCA (Machine check architecture)
CMOV (Conditional move instruction supported)
PAT (Page attribute table)
PSE-36 (36-bit page size extension)
CLFSH (CLFLUSH instruction supported)
DS (Debug store)
ACPI (ACPI supported)
MMX (MMX technology supported)
FXSR (Fast floating-point save and restore)
SSE (Streaming SIMD extensions)
SSE2 (Streaming SIMD extensions 2)
SS (Self-snoop)
HTT (Hyper-threading technology)
TM (Thermal monitor supported)
PBE (Pending break enabled)
Version: Not Specified
Voltage: 1.5 V
External Clock: 533 MHz
Max Speed: 3600 MHz
Current Speed: 3066 MHz
Status: Populated, Idle
Upgrade: ZIF Socket
L1 Cache Handle: 0x0716
L2 Cache Handle: 0x0726
L3 Cache Handle: 0x0736
Handle 0x0400, DMI type 4, 32 bytes
Processor Information
Socket Designation: Proc 2
Type: Central Processor
Family: Xeon
Manufacturer: Intel
ID: 25 0F 00 00 FF FB EB BF
Signature: Type 0, Family 15, Model 2, Stepping 5
Flags:
FPU (Floating-point unit on-chip)
VME (Virtual mode extension)
DE (Debugging extension)
PSE (Page size extension)
TSC (Time stamp counter)
MSR (Model specific registers)
PAE (Physical address extension)
MCE (Machine check exception)
CX8 (CMPXCHG8 instruction supported)
APIC (On-chip APIC hardware supported)
SEP (Fast system call)
MTRR (Memory type range registers)
PGE (Page global enable)
MCA (Machine check architecture)
CMOV (Conditional move instruction supported)
PAT (Page attribute table)
PSE-36 (36-bit page size extension)
CLFSH (CLFLUSH instruction supported)
DS (Debug store)
ACPI (ACPI supported)
MMX (MMX technology supported)
FXSR (Fast floating-point save and restore)
SSE (Streaming SIMD extensions)
SSE2 (Streaming SIMD extensions 2)
SS (Self-snoop)
HTT (Hyper-threading technology)
TM (Thermal monitor supported)
PBE (Pending break enabled)
Version: Not Specified
Voltage: 1.5 V
External Clock: 533 MHz
Max Speed: 3600 MHz
Current Speed: 3066 MHz
Status: Populated, Enabled
Upgrade: ZIF Socket
L1 Cache Handle: 0x0710
L2 Cache Handle: 0x0720
L3 Cache Handle: 0x0730
Handle 0x0716, DMI type 7, 19 bytes
Run Code Online (Sandbox Code Playgroud)
如您所见,第一个处理器的状态为“已填充,空闲”,而第二个处理器的状态为“已填充,已启用”。我很确定这意味着这是一个内核问题。还有其他人有其他想法吗?
好吧,过了这么久,事实证明,由于某种原因,它刚刚“开始工作”。事实上,它可能一直在工作,只是我没有意识到。这有点奇怪,但是 CPU 2 和 4 完成了大约 90% 的工作,而 CPU 1 和 3 完成了大约 10% 的工作,这可以解释为什么当我拆开机器时我会感觉到处理器温度的物理差异。尽管如此,还是感谢您的所有回答。