How to create benchmark for DiskIo? How to confidently say that DiskIO is Optimum or not?

Saurabh, Tushar 21 Reputation points
2023-03-14T15:57:00.77+00:00

We recently migrated from on-prem to azure. I have been exploring disk-io. I executed DiskSpd tool that microsoft provides. Without cache (enabling software cache in DiskSpd) the on-prem performs multiple times better than Azure. The throughput and latency were better in on-prem. Then I enabled software cache and tested. The throughput was similar in both Azure and On-Prem, but latency was much better in On-Prem. On prem is esx storage. Azure is Premium SSD D8 VM series. Coming to Azure disk, I have two VMs one has host caching read/write enabled and other doesn't. The SSD storage which doesn't have host caching enabled, when I execute DiskSpd with software caching enabled, the latency was similar to On-Prem but throughput was slighty worse. If I disable software caching, both latency and throughput is bad.

  1. Is there a tool that can be used to test diskio on Azure SSD apart from DiskSpd. Do I have to write C/C++ tool to test DiskIo or is DiskSpd the tool to test. How different is Softwate cache compared to BlobCache which Premium SSD use?
  2. On Perfmon, I can see "Notify ChangeDirectory" event when host caching is enabled. The microsoft blog (on Premium SSD) says that call to flush from cache to disk is synchronous, does it mean Write caching has impact on performance of DiskIo
Azure Disk Storage
Azure Disk Storage
A high-performance, durable block storage designed to be used with Azure Virtual Machines and Azure VMware Solution.
571 questions
{count} votes

Accepted answer
  1. Sumarigo-MSFT 43,406 Reputation points Microsoft Employee
    2023-03-29T09:34:25.3266667+00:00

    @Saurabh, Tushar Welcome to Microsoft Q&A Forum, Thank you for posting your query here!

    DiskSpd is the recommended tool for benchmarking disks on Azure.

    It would be good to know the performance tier of the Azure disk, and the results when then customer follows guidance here:

    That way we can understand whether the Azure disk is performing as expected.

    This resource may also be helpful: Troubleshoot Azure virtual machine performance on Linux or Windows - Virtual Machines | Microsoft Learn

    Please let us know if you have any further queries. I’m happy to assist you further.


    Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.

    0 comments No comments

0 additional answers

Sort by: Most helpful