
Resource Management
236
www.vmware.com
Managing CPU Resources from the Management Interface
You may also change settings from the Resource Editor page of the VMware
Management Interface. On the server’s Overview page, click Manage Resources. The
Resource Monitor page appears. Click Edit Resources under the name of the virtual
machine for which you want to change settings. Enter the desired settings, then click
Save Changes.
You must log in as root in order to change resource management settings using
either the management interface or procfs.
Managing CPU Resources from the Console Operating System
sched.cpu.shares = <nshares>
This configuration file option specifies the initial share allocation for a virtual machine
as <nshares> shares. The valid range of values for <nshares> is 1 to 100000,
enabling a large range of allocation ratios. The default allocation is 1,000 shares.
sched.cpu.affinity = <set>
This configuration file option specifies the initial processor affinity set for a virtual
machine. If <set> is all or default, then the affinity set contains all available
processors. The specified set may also be a comma-separated list of CPU numbers
such as 0,2,3.
Commenti su questo manuale