Use it when choosing processors, tuning BIOS power settings for latency or efficiency, and diagnosing machine-check errors or throttling.
CPU
The CPU executes the workload; in servers it also contains the memory controllers and PCIe root complex. Cores, SMT threads, cache size and sustained frequency under the chosen power profile decide performance.
1. Is the CPU throttling (temperature, power limit)?
2. Are there machine-check events?
3. Which BIOS power profile is active?
4. Is microcode current for this CPU?
BIOS profile → P-states/turbo and C-states → OS governor → cores and SMT threads → caches/memory → MCE reporting to OS and BMC
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
journalctl -k | grep -i -E 'mce|machine check|hardware error'Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Read-only Verification Verify boundary
lscpu
grep -m1 'model name' /proc/cpuinfo; grep microcode /proc/cpuinfo | sort -u
# Frequencies, C-state residency, temperature and power (root; Intel/AMD support varies)
sudo turbostat --quiet --interval 5 --num_iterations 1
# Hardware errors
journalctl -k | grep -i -E 'mce|machine check|hardware error'
sudo ras-mc-ctl --summary
On Windows, look for WHEA-Logger events in the System event log and Get-CimInstance Win32_Processor | Select Name, NumberOfCores, NumberOfLogicalProcessors, CurrentClockSpeed.
Step 2 Common mistakes Narrow the fault
- Counting SMT threads as cores when sizing.
- Ignoring corrected machine-check errors.
- Different BIOS power profiles on cluster nodes.
- Outdated microcode because only the OS, not the firmware, is patched (or the reverse).
Step 3 Troubleshooting Narrow the fault
CPU clocks low under load. Thermal throttling (blocked airflow, failed fan, high inlet temperature) or a power-capping policy in BIOS/BMC.
Random reboots with MCE in logs. Decode the bank and address; a memory-controller bank points to DIMMs, a cache bank to the CPU. Check the BMC SEL for the same timestamp.
Latency spikes on an idle-then-busy system. Deep C-states waking up; test a performance profile.
Performance lower after a firmware update. New microcode with security mitigations or a changed default power profile.
Threads are not cores: SMT adds throughput, not double performance. Power profiles change latency. Machine-check errors (MCE) come from the hardware — read them, don't ignore them. Keep microcode current; it fixes errata and security issues.
lscpu— model, sockets, cores per socket, threads per core, caches, flags.grep MHz /proc/cpuinfo/turbostat— current frequencies and C-states (root).journalctl -k | grep -i -E 'mce|machine check'— hardware errors.ras-mc-ctl --summary— recorded MCE/memory events (rasdaemon).grep microcode /proc/cpuinfo | sort -u— loaded microcode revision.
ReferenceWhat it is2 sections · depth on demand
Direct Answer
A server CPU combines cores (often with two hardware threads each — SMT/Hyper-Threading), several levels of cache, the memory controllers and the PCIe lanes. Its real performance depends on how many cores are busy, how high they can clock under the power and thermal limits, and on BIOS power settings. When hardware fails, the CPU reports machine-check exceptions (MCE) to the OS and the BMC; those messages identify the failing bank — CPU cache, memory, or interconnect — and are the first evidence to collect.
Scope and canonical references
- Platform overview: Server Architecture; memory locality: NUMA.
- OS monitoring: CPU (Linux), CPU (Windows).
- Virtual CPUs and pinning: CPU Virtualization.
- Error handling path: Hardware Diagnostics.
ReferenceImportant terms & boundaries1 section · depth on demand
In depth
Cores, threads and caches
| Term | Meaning |
|---|---|
| Socket | Physical CPU package |
| Core | Independent execution unit |
| SMT thread | Second logical CPU sharing a core's resources; useful for throughput, can be disabled for latency or isolation |
| L1/L2 cache | Per core |
| L3 cache | Shared by a group of cores (on AMD EPYC per CCD/CCX, on Intel per die/tile) |
Operating systems count logical CPUs: 2 sockets × 32 cores × 2 threads = 128 logical CPUs. Per-core software licensing usually counts physical cores.
Frequency and power states
- P-states — frequency/voltage steps; turbo/boost raises frequency when power and thermal budget allow.
- C-states — idle states; deeper states save power but add wake-up latency.
- Power profiles in BIOS (performance, balanced, OS-controlled) set limits and who controls the states. Latency-sensitive workloads (trading, real-time, some databases) often use performance profiles with deep C-states disabled; general workloads gain efficiency from balanced or OS control.
- Throttling happens when temperature or power limits are reached; it shows as lower frequency and is logged by the BMC and in OS counters.
Microcode
CPU microcode fixes errata and security issues (for example speculative-execution mitigations). It is loaded from BIOS/UEFI and can be updated early in boot by the OS (intel-microcode/amd64-microcode packages, Windows updates). Keep firmware and OS microcode current.
Machine-check errors
The CPU's machine-check architecture reports hardware errors from caches, memory controllers and interconnects. Corrected errors (CE) are logged; uncorrected errors (UE) may crash the system. Linux logs them in the kernel log and, with rasdaemon, in a database (ras-mc-ctl); Windows logs WHEA events in the System log. The BMC usually records the same event in its SEL. Repeated corrected errors from the same bank predict a failure.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Deep reference
Healthy vs suspicious evidence
Output interpretation
lscpu flags show virtualization (vmx/svm) and features the hypervisor or workload depends on; a microcode revision in /proc/cpuinfo that differs between identical nodes points at different BIOS/microcode baselines.
turbostat: Bzy_MHz well below the rated turbo under load, high PkgWatt near the power limit or PkgTmp near the thermal limit indicate power or thermal throttling; deep C-state residency (C6%) during latency-sensitive work explains wake-up jitter.
MCE/RAS: corrected errors logged repeatedly for the same CPU or bank are a hardware trend to act on; an uncorrected machine check usually coincides with a crash or reboot.
Design & tradeoffs
Design decisions
Cores vs clock: more cores suit parallel and virtualization workloads; higher clocks suit per-thread-bound or per-core-licensed software.
Power profiles: OS- or BIOS-controlled performance profiles trade energy for latency; latency-sensitive systems often limit deep C-states, at higher power cost.
SMT: usually on for throughput; some security or licensing contexts require it off — measure the impact.
Microcode ships in BIOS updates and OS packages; keep both on a tested baseline.