Pcornel
Windows · Windows Troubleshooting

Performance Troubleshooting

Cheat sheet · https://pcornel.dk/topic.php?topic=3397

Back to the Topic

Answer

Performance Troubleshooting is Windows end-to-end performance isolation across workload demand, CPU, memory, storage, network, contention, queues and dependencies using a baseline and time-correlated measurements.

Remember

  • High utilization is not automatically a bottleneck, and low utilization does not prove absence of latency or serialization. Performance conclusions require baseline, correlation and workload context.
  • Keep the symptom, observed state and inferred cause as separate statements.
  • Prefer evidence from the first failed boundary over broad configuration changes.
  • A successful local check does not automatically prove the next dependency or end-to-end workload.

First checks

  • Get-WinEvent -FilterHashtable @{LogName='System';Level=1,2;StartTime=(Get-Date).AddHours(-24)} — system errors last 24h
  • Get-WinEvent -FilterHashtable @{LogName='Application';Level=1,2;StartTime=(Get-Date).AddHours(-24)} — application errors
  • Get-ComputerInfo -Property OsName,OsBuildNumber,CsDomain — system context
  • Get-HotFix | Sort InstalledOn -Desc | Select -First 5 — recent updates

Commands

Get-Counter '\Processor(_Total)\% Processor Time' -SampleInterval 1 -MaxSamples 10
Operational command for Sample Windows total CPU utilization. Focus fields: timestamp, counter path and cooked value ac…

Verify in this order

symptom → resources → process → cause → fix

Where it usually breaks

First mismatch in source/package/image/device identity → servicing/setup configuration → installation/activation → reboot/boot/runtime → system/component health → user/workload validation; preserve identity/native error/pre-state before mutation.

Windows Troubleshooting → Performance Troubleshooting reference map

BoundaryMeaningEvidence limit
SymptomWhat the user/workload reportsStarting point, not root cause
Local stateWhat Windows reports at this boundaryDoes not prove adjacent dependency
Correlated evidenceMultiple sources agree in one timelineStrengthens hypothesis, not automatic causation
VerificationOriginal test succeeds after controlled changeRequired to close the troubleshooting loop

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3397

Confirmation

Confirm action

Continue?