Specifications

VMware, Inc. 341
Chapter 12 VMware ESX Server Resource Management
! none!!Each!CPU!of!the!virtual!machine!requires!an!entire!physical!CPU!(two!
logical!CPUs)!of!the!server!to!operate.!This!prevents!the!virtual!machine!from!
operating!with!the!shared!system!resources!provided!by!HyperThreading,!
and!can!reduce!performance.
! internal!!Each!CPU!of!the!virtual!machine!can!share!logical!CPUs!with!the!
second!CPU!in!the!same!virtual!machine,!but!not!with!CPUs!from!other!
virtual!machines.!This!mode!switches!to!none!for!virtual!machines!with!one!
CPU.
/proc/vmware/vm/<vcpuid>/cpu/status
Reading!from!this!file!reports!current!status!information!for!the!virtual
!CPU!identified!
by!<vcpuid>,!including!the!specified!shares!and!affinity!parameters;!and!the!virtual!
machine!name,!state!(running,!ready,!waiting),! current!CPU!assignment,!and!
cumulative!CPU!usage!in!seconds.!
/proc/vmware/sched/cpu
Reading!from!this!file!reports!the!status!information!for!all!virtual!machines!in!the!
entire!system.!Each!virtual!CPU!is!displayed
!on!its!own!line,!with!information!
including!uptime,!time!used,!and!resource!management!parameters.
/proc/vmware/config/Cpu/SharesPerVcpuLow
Specifies!the!a!numerical!value!for!the!low!value.!By!default,!this!number!is!500.!
Because!this!value!is!expressed!in!shares!per!virtual!CPU,!the!allocation!for!a!
uniprocessor!virtual!machine!is!500!shares,!or!
1000!shares!for!a!dualvirtual!CPU!
(SMP)!virtual!machine.
/proc/vmware/config/Cpu/SharesPerVcpuNormal
Specifies!the!a!numerical!value!for!the!normal!value.!By!default,!this!number!is!1000.!
For!a!uniprocessor!virtual!machine,!the!default!allocation!is!1000!shares,!or!2000!shares!
for!a!dualvirtual!CPU!(SMP)!virtual!machine.
/proc/vmware/config/Cpu/SharesPerVcpuHigh
Specifies!the!a!numerical!
value!for!the!high!value.!By!default,!this!number!is!2000.!For!
a!uniprocessor!virtual!machine,!the!default!allocation!is!2000!shares,!or!4000!shares!for!
a!dualvirtual!CPU!(SMP)!virtual!machine.
N
OTE Only!SMP!virtual!machines!can!use!multiple!virtual!CPUs.