Tuning virtual CPUs

Regardless of the number of its virtual CPUs, the CPU weight determines the shares of CPU time which is dedicated to a virtual server.

About this task

For more information about the CPU weight, see CPU weight.

Procedure

Use the cputune element to group CPU tuning elements.
You specify the CPU weight by using the shares element (see <shares>).
shares element: <CPU-weight>

Example

<domain>
    ...
    <cputune>
        <shares>2048</shares>
    </cputune>
    ...
</domain>