Hi @Thomas , I understand that you're trying to get better disk performance for your VM.
For VM type Standard_NV12s_v3, Max uncached disk throughput: 20k IOPS or 200 MB/s. By default, cache setting for data disk is ReadOnly, which means the cache is used for "Read" operation. It reflects in your chart above: when moving files from the VM to the filestorage, throughput can reach 387 MB/s -> this is cached performance, as your VM is reading from cache (temporary local disk, 320GB for NV12s_v3). When you move files to the VM, it requires "Write" operation, the VM writes directly to the disk. The uncached disk throughput applies - max is 20k IOPS or 200 MB/s. As your Premium SSD can handle up to 7500 IOPS or 250MB/s, the limiting factor is your VM. The "jagged" chart you're seeing shows that the VM is trying to catch up, it sends a signal to slow down to clear up the I/O queue, and after the queue is gone, it sends a signal to gradually ramp up again.
Your options to improve performance:
- Configure host-cache for data disk as ReadWrite. However, this has a caveat: only if your application properly handles writing cached data to persistent disks when needed. Using ReadWrite cache with an application that doesn't handle persisting the required data can lead to data loss, if the VM crashes. This page has a screenshot of how to change host cache setting.
- Change your VM type to the one with higher I/O throughput - is it a requirement to use Nvidia Tesla M60, or is there any other GPU that you can use e.g. NCv2 or NCv3 series (Tesla P/V100), although pricing should be a consideration factor, too.
General reference: