Configure a vGPU resource pool

  1. On the top navigation bar, click Services, and then select iRS from the navigation pane.

  1. Click Add iRS Service, enter a service name and description, select vGPU from the Resource Type list, and then click Next.

 

  1. Select the target vGPU pool name, select the vGPUs to be assigned to the vGPU pool, and then click Next.

You can add only vGPUs of the same model to one GPU resource pool.

 

 

  1. Click Add to add service VMs.

 

Parameter

Description

VMs

Select one or multiple VMs in shutdown state. If you select multiple VMs, the VMs are assigned to a VM group that provides the same service.

Service Template

Select a service template.

A service template defines the priority of VMs that use the service template to use physical resources and the total ratio of resources that all VMs using the service template can use. You must specify a service template for each VM.

To assign a high priority to a VM in using vGPU resources, select a service template with a high priority for the VM.

UIS Manager allocates vGPU resources according to the following rules:

  • Allocates vGPU resources in the VM boot sequence if VMs use service templates with the same priority.

  • Allocates vGPU resources in priority order if idle vGPUs are fewer than the VMs to boot.

  • Reclaims vGPU resources from some low-priority VMs and assigns the vGPU resources to high-priority VMs when the following conditions are met:

  • Idle vGPUs are fewer than the high-priority VMs to boot.

  • The VMs that use the same low-priority service template occupy more resources than the resource ratio specified in the service template.

Driver Type

Type of the driver used by the VM. Only VFIO is available.

Exclusive Mode

Select whether the VM can exclusively use the specified GPU/vGPU resources. If you select Yes, the GPU/vGPU resources cannot be used by any other VMs. This feature is available only when the host has available GPU/vGPU resources that have been added to the selected GPU resource pool. To migrate a VM when this feature is enabled, make sure sufficient GPU/vGPU resources are available on the target host and the VM is powered off.

Resource Count

Set the maximum number of GPU/vGPU resources that can be used by the VM. The value depends on the resource pool type and state of the exclusive mode feature:

  • If you select a vGPU resource pool, only 1 is available.

  • If you select a GPU resource pool and exclusive mode is disabled, the value is the maximum number of GPUs on a single host in the resource pool. For example, if the resource pool has three hosts, and the hosts have three, two, and two GPUs, respectively, the value is 3.

  • If you select a GPU resource pool and exclusive mode is enabled, the value is the number of available GPUs on the host attached to the VM.

 

  1. Click the  icon for the VM field, select service VMs, and then click OK.

The selected VMs must be in shutdown state. If you select multiple service VMs, they will be assigned the same service template and priority. You can perform the add operation again to assign a different service template to another group of service VMs.

 

  1. Click the  icon for the Service Template field, select a service template, and then click OK.

By default, a predefined non-linear editing service template and a transcoding service template exist in the system. You can add more service templates as needed, but you must make sure the sum of the resource allocation ratios of all service templates, including the default templates does not exceed 100%.

 

  1. Click Finish.

  1. From the left navigation pane, select the added vGPU pool.

  1. On the VMs tab, select the VMs to boot, right-click on the VM list, select Start, and then click OK in the dialog box that opens.

  1. Right-click a VM and select Console from the shortcut menu, and then wait for the VM to start up.

  1. On the VM, open Device Manager, and then select Display adapters to verify that a vGPU has been attached to the VM.