A new key in the node configuration file (node.cfg) will allow to specify the algorithm to be applied for choosing the GPU to be used for hardware encoding a new session. This key, named 'GPULoadBalancingAlgorithm', can be used in conjunction with another new key, GPUDedicatedDevice, to force all sessions using a certain GPU.
The new keys apply only to NVIDIA GPUs.
Keys' description and their usage:
#
# Specify the algorithm for selecting the GPU to be used for hardware
# encoding a new session (for NVIDIA GPUs only).
#
# none: a new session uses the encoder of the first available
# GPU. This is the default.
#
# round-robin: sessions are distributed among GPUs according to a
# plain round-robin algorithm in a circular way.
#
# load-based: the GPU with a lesser workload is chosen for each new
# session.
#
# selected: all sessions are forced to use only the GPU specified
# in the GPUDedicatedDevice key.
#
#GPULoadBalancingAlgorithm none
#
# Specify by UUID the NVIDIA GPU to be used for hardware encoding
# when 'selected' is enabled in the GPULoadBalancingAlgorithm key.
# NoMachine falls back to 'none' if the given UUID cannot be found.
#
# GPUDedicatedDevice GPU-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
This Feature Request is the server counterpart of:
https://www.nomachine.com/FR07N03131
and:
https://www.nomachine.com/FR07Q03854