Using measure-vm to plan iops requirements

0
measure-vm

Measure-vm is a fantastic way to measure the amount of IOPS any VM is using/requires to operate. I use it to plan the amount of IOPS new storage systems will require for Hyper-V clusters.

D:\Downloads\2020-05-13 16_15_10-IOPS.xlsx - Excel.png
measure-vm
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
$VMName = "DC1"

#Enable Hyper-V Resource Monitoring
Enable-VMResourceMetering -VMName $VMName
$RunTime = 0
Start-VM Name $VMName

while ($RunTime -lt 30) {
write-Host "Test $RunTime"
get-vm $VMName | measure-VM |select AggregatedAverageNormalizedIOPS | Format-List | Out-File "IOPS.txt" -Append -NoClobber
$RunTime++
Start-Sleep -Milliseconds 20000
}

Stop-VM Name $VMName

Found priceless insights in this blog? Support the author’s creativity – buy them a coffee!

Leave a Reply

Your email address will not be published. Required fields are marked *