πΉ Feature: Microsoft DiskSpd β The Storage Performance Tool Every Infra Engineer Should Know
πΉ What It Does: Open-source, Microsoft-maintained storage I/O load generator that benchmarks files, partitions, or disks with precise control over block size, queue depth, read/write mix, threads, and access patterns β plus XML output for automated analysis.
What Is It Giving You:
β
Validate Any Azure Disk SKU Before Production: Prove the IOPS/throughput/latency of Premium SSD v2, Ultra Disk, Standard SSD, or Azure NetApp Files from inside your VM β measure reality, not datasheets.
β
Simulate Real Workloads, Not Marketing Numbers: Model SQL Server OLTP, log writes, data warehouse scans, VDI boot storms, and backup throughput with independent control over block size, randomness, write ratio, threads, queue depth, and think time.
β
XML Output for Automation: Every run emits detailed XML β ready for PowerShell, pytest, Azure DevOps, GitHub Actions, or Power BI. Build historical baselines and trend them over time.
β
Essential for Storage Troubleshooting: When βthe database feels slow,β DiskSpd isolates the storage layer in minutes β before blaming SAN, hypervisor, VM size, or the app.
β
Includes VM Fleet: Companion framework for Windows Server Hyper-Converged (Storage Spaces Direct, Azure Local) environments β full-fleet characterization, not just a single VM.
β
Fine-Grained Control: CPU affinity, core pinning (P-core/E-core aware), completion routines vs I/O completion ports, synchronized runs, filesystem/bypass options, ETW tracing β the same tools Microsoftβs storage teams use.
β
Microsoft-Signed, MIT-Licensed, Zero Trust Friendly: Open source, no vendor lock-in, no third-party telemetry β download directly from https://aka.ms/getdiskspd.
Common Scenarios Worth Keeping Handy:
πΈ Azure migration validation β benchmark on-prem vs Azure VM disks pre-cutover.
πΈ SQL Server sizing β ensure Premium SSD v2 matches expected workload patterns.
πΈ VDI/AVD/Windows 365 sizing β validate storage under 100+ concurrent boot storms.
πΈ Azure Local / Storage Spaces Direct β model mixed-mode hyper-converged clusters at scale with VM Fleet.
πΈ Troubleshooting β isolate storage from compute/network quickly.
π Repo: https://github.com/microsoft/diskspd