Merge "docs: Follow up for persistent mdevs"

This commit is contained in:
Zuul
2024-05-27 11:01:32 +00:00
committed by Gerrit Code Review
2 changed files with 9 additions and 3 deletions
+6 -1
View File
@@ -31,7 +31,7 @@ To enable virtual GPUs, follow the steps below:
Enable GPU types (Compute) Enable GPU types (Compute)
-------------------------- --------------------------
#. Enable virtual functions on NVIDIA GPUs. #. For NVIDIA GPUs that support SR-IOV, enable the virtual functions.
.. code-block:: bash .. code-block:: bash
@@ -86,6 +86,11 @@ Enable GPU types (Compute)
$ systemctl enable nvidia-sriov-manage@0000:41:00.0.service $ systemctl enable nvidia-sriov-manage@0000:41:00.0.service
.. note::
This is only an example and it is important to consult the relevant
vendor documentation for the specific devices that you have.
#. Specify which specific GPU type(s) the instances would get. #. Specify which specific GPU type(s) the instances would get.
Edit :oslo.config:option:`devices.enabled_mdev_types`: Edit :oslo.config:option:`devices.enabled_mdev_types`:
@@ -5,7 +5,8 @@ features:
.. note:: .. note::
After a compute host reboots, the virtual functions for the GPU must be After a compute host reboots, if you have a GPU that supports SR-IOV,
enabled again before instances will be able to use their vGPUs. then the virtual functions for the GPU must be enabled again before
instances will be able to use their vGPUs.
Please see https://docs.openstack.org/nova/latest/admin/virtual-gpu.html Please see https://docs.openstack.org/nova/latest/admin/virtual-gpu.html
for more information. for more information.