Mastering Windows Server 2016 Hyper-V

(Romina) #1

storage performance, which were actually introduced in Windows Server 2012 R2.


PS C:\ > Measure‐VM ‐VMName VM1 | fl


VMId : 6c79b7c6–13cb-4e22-b528–870f92a8d373
VMName : VM1
CimSession : CimSession: .
ComputerName : SAVDALHV91
MeteringDuration :
AverageProcessorUsage : 242
AverageMemoryUsage : 2247
MaximumMemoryUsage : 4096
MinimumMemoryUsage : 4096
TotalDiskAllocation : 260096
AggregatedAverageNormalizedIOPS: 5
AggregatedAverageLatency : 1422
AggregatedDiskDataRead : 405
AggregatedDiskDataWritten : 77
AggregatedNormalizedIOCount : 67933
NetworkMeteredTrafficReport :
{Microsoft.HyperV.PowerShell.VMNetworkAdapterPortAclMeteringReport,
Microsoft.HyperV.PowerShell.VMNetworkAdapterPortAclMeteringReport,
Microsoft.HyperV.PowerShell.VMNetworkAdapterPortAclMeteringReport,
Microsoft.HyperV.PowerShell.VMNetworkAdapterPortAclMeteringReport...}
HardDiskMetrics : {Microsoft.HyperV.PowerShell.VHDMetrics,
Microsoft.HyperV.PowerShell.VHDMetrics}
AvgCPU : 242
AvgRAM : 2247
MinRAM : 4096
MaxRAM : 4096
TotalDisk: 260096


Most of the values shown are fairly self-explanatory. Information is given about the
average, minimum, and maximum memory usage in addition to the average processor
usage, which is measured in megahertz. You may wonder why the processor is shown
in megahertz instead of CPU percent. The reason is that virtual machines can move
between servers, so a percentage of a CPU depends entirely on the server on which the
virtual machine is running, whereas megahertz is a fairly consistent value, no matter
which servers the virtual machine is moved between.


You will notice that there seem to be duplicate values related to processor, memory,
and total disk allocation. AverageProcessorUsage is the same as AvgCPU,
AverageMemoryUsage is the same as AvgRAM, and so on. These are in fact the same
values. The reason for two different names is that the output from Measure-VM by
default will be in a table format, and the regular titles such as AverageProcessorUsage
would use up a lot of screen space and limit the data that’s visible. Therefore, the
short names are there to ensure that as much information as possible is shown when
viewing in table mode, as in this example:


PS C:\ > Measure‐VM ‐VMName savdalfs01


VMName AvgCPU(MHz) AvgRAM(M) MaxRAM(M) MinRAM(M) TotalDisk(M)

Free download pdf