Posted in

Microsoft DiskSpd β€” The Storage Performance Tool Every Infra Engineer Should Know

πŸ”Ή 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

Microsoft Certified Trainer, Office 365, AWS, Azure and Cloud Expert-Architect. In the IT world for over than 20 years.

Apart from the main area of Microsoft Azure expert in the field of infrastructure servers Windows Server 2003-2019, Microsoft Active Directory, Hyper-V Private Cloud, IIS, System Center, SQL.

Private Cloud, System Center, Hyper-V, Open Stack Expert and all Microsoft products Expert. Linux Server administrator.

My Azure community projects:

https://mazeball.azurewebsites.net/
https://github.com/MariuszFerdyn?tab=repositories

More