From official doc VMware:
the following vcpu:pcpu ratios can be considered a good starting point for a design:
- 1:1 to 3:1 is not typically an issue
- With 3:1 to 5:1, you might begin to see performance degradation
- 6:1 or greater is often going to cause a significant problem for VM performance
I have found this script in VMware Community Site:Foreach($esx in Get-VMHost){ $vCPU = Get-VM -Location $esx | Measure-Object -Property NumCpu -Sum | select -ExpandProperty Sum $esx | Select Name,@{N=‘pCPU’;E={$_.NumCpu}}, @{N=‘vCPU’;E={$vCPU}}, @{N=‘Ratio’;E={[math]::Round($vCPU/$_.NumCpu,1)}} }
Output is:
Name | pCPU | vCPU | Ratio |
---|---|---|---|
phesx01.pre.lab | 16 | 26 | 1.6 |
© 版权声明
文章版权归作者所有,未经允许请勿转载。
相关文章
暂无评论...