Pcornel
Windows · Performance Monitoring

Disk

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

Back to the Topic

Answer

Disk monitoring on Windows uses counters like Avg. Disk sec/Read and sec/Write, Disk Queue Length and % Idle Time. Latency above about 20 ms on HDD or a few ms on SSD indicates a disk bottleneck.

Remember

  • Avg. Disk sec/Read and sec/Write show latency.
  • Queue length shows waiting I/O.
  • % Idle Time is more reliable than % Disk Time.

First checks

  • Get-Counter '\Processor(_Total)\% Processor Time' -SampleInterval 2 -MaxSamples 5 — CPU
  • Get-Counter '\Memory\Available MBytes','\Memory\Pages/sec' — memory
  • Get-Counter '\PhysicalDisk(*)\Avg. Disk sec/Transfer','\PhysicalDisk(*)\Current Disk Queue Length' — disk latency/queue
  • Get-Counter '\Network Interface(*)\Bytes Total/sec' — network
  • resmon — Resource Monitor

Verify in this order

I/O requests → queue → latency

Where it usually breaks

First mismatch in definition/configuration → security context → service/task/process creation → runtime state → output/side effect → event/performance evidence; preserve identity/native error/pre-state before mutation.

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

Confirmation

Confirm action

Continue?