<shares>

Specifies the initial CPU weight.

The CPU shares of a virtual server are calculated from the CPU weight of all virtual servers running on the host. For example, a virtual server that is configured with value 2048 gets twice as much CPU time as a virtual server that is configured with value 1024.

Text content

Natural number specifying the CPU weight.
  • Valid values are in the natural numbers between 2 and 262144.
  • The default value is 1024.

Selected attributes

None.

Usage

Parent elements

<cputune>

Child elements

None.

Example

<cputune>
   <shares>2048</shares>
</cputune>