Media Server 25.1
Media Server Help

# Use a GPU for Analysis

This section describes how to use a GPU to accelerate analysis tasks.

To use a GPU to accelerate analysis tasks

1. Open the Media Server configuration file in a text editor.

2. In the `[Server]` section, set the following configuration parameters:

   CUDAVersion | Specifies whether to enable GPU support for analysis and which CUDA version to use. Set this parameter to `10` or `11`.
   GPUDeviceID | (Optional) If the server has more than one GPU, set this parameter to the device ID of the GPU to use. You can find the device ID for each graphics card in the application log when Media Server starts. To find out which GPU device ID corresponds to which GPU, match the PCI Bus ID logged by Media Server to the PCI Bus ID output by the `nvidia-smi` command, which also provides the GPU name.

   For example:

       [Server]
       ...
       CUDAVersion=10

3. Save and close the configuration file.

## Verify that Media Server is Using the GPU

To determine whether Media Server is using a GPU for analysis, start Media Server and open the application log. The log should show the following after Media Server starts:

    GPU devices available for use
    GPU deviceID 0 (Hex PCIBusId: ..)
    GPU deviceID 1 (Hex PCIBusId: ..)
    GPU deviceID 2 (Hex PCIBusId: ..)
    GPU deviceID 3 (Hex PCIBusId: ..)
    GPU mode used for MediaServer
    GPU Memory: ... bytes free ... bytes total
    GPU deviceID currently used: 2 (Hex PCIBusId: ..)

If installation was unsuccessful, Media Server does not start and logs the reason to the application log.

Copyright 2024 Open Text
Version 25.1 | Last updated January 2025

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery Media Server 25.1

Topic Title: Use a GPU for Analysis