This is a cache of https://docs.okd.io/4.12/virt/vm_templates/virt-dedicated-resources-vm-template.html. It is a snapshot of the page at 2024-12-01T19:54:30.249+0000.
Enabling dedicated resources for a virtual machine <strong>template</strong> - Virtual machine <strong>template</strong>s | Virtualization | OKD 4.12
×

Virtual machines can have resources of a node, such as CPU, dedicated to them to improve performance.

About dedicated resources

When you enable dedicated resources for your virtual machine, your virtual machine’s workload is scheduled on CPUs that will not be used by other processes. By using dedicated resources, you can improve the performance of the virtual machine and the accuracy of latency predictions.

Prerequisites

  • The CPU Manager must be configured on the node. Verify that the node has the cpumanager = true label before scheduling virtual machine workloads.

Enabling dedicated resources for a virtual machine template

You enable dedicated resources for a virtual machine template in the Details tab. Virtual machines that were created from a Red Hat template can be configured with dedicated resources.

Procedure
  1. In the OKD console, click Virtualizationtemplates from the side menu.

  2. Select a virtual machine template to open the template details page.

  3. On the Scheduling tab, click the pencil icon beside Dedicated Resources.

  4. Select Schedule this workload with dedicated resources (guaranteed policy).

  5. Click Save.