7.0

Table Of Contents
Configuring AMD Multiuser GPU Using vDGA
You use the esxcfg-module command-line command to configure such parameters as the number of users
who can share the GPU, the amount of frame buffer allocated to each user, and some performance control.
Syntax
esxcfg-module -s "adapter1_conf=bus#,device#,function#,number_of_VFs,FB_size,time_slice,mode"
amdgpuv
Usage Notes
The vicfg-module command supports setting and retrieving VMkernel module options on an ESXi host. For
general reference information about this command, go to
http://pubs.vmware.com/vsphere-60/topic/com.vmware.vcli.ref.doc/vicfg-module.html.
Required Flags
You must specify several flags when configuring AMD Multiuser GPU Using vDGA. If the command does
not include all the required flags, no error message is provided, but the configuration defaults to a simple 4
SR-IOV device configuration.
Table 1214. Flags for Configuring AMD SR-IOV
Flag Description
bus#
Bus number in decimal format.
device# PCIe device ID for the supported AMD card, in decimal format. To see a list, use the command lspci
| grep -i display.
For example, for a system that has two AMD GPU cards, you might see the following output when
you run this command:
[root@host:~] lspci | grep -i display
0000:04:00.0 Display controller:
0000:82:00.0 Display controller:
In this example, the PCIe device IDs are 04 and 82. Note that these IDs are listed in hexadecimal
format and must be converted to decimal format for use in the vicfg-module command .
AMD S7150 cards support only a single GPU per card, and so the device ID and function ID are 0 for
these cards.
function#
Function number in decimal format.
number_of_VFs
Number of VFs (virtual functions), from 2 to 15. This number represents the number users who will
share the GPU.
FB_size
Amount of fame buffer memory, in MB, allocated to each VF. To determine the size, take the overall
amount of video memory on the card and divide that amount by the number of VFs. Then round that
number to the nearest number that is a multiple of 8. For example, for an AMD S7150 card, which has
8000 MB, you could use the following settings;
n
For 2 VFs, use 4096.
n
For 4 VFs, use 2048.
n
For 8 VFs, use 1024.
n
For 15 VFs, use 544.
time_slice
Interval between VF switches, in microseconds. This setting adjusts the delay in queuing and
processing commands between the SR-IOV devices. Use a value between 3000 and 40000. Adjust this
value if you see significant stuttering when multiple SR-IOV desktops are active.
mode
Following are the valid values: 0 = reclaimed performance; 1 = fixed percentage performance.
IMPORTANT After you run the esxcfg-module command, you must reboot the ESXi host for the settings to
take effect.
Chapter 12 Provisioning Desktop Pools
VMware, Inc. 155