The SBC can leverage Graphics Processing Units (GPUs) for increased transcoding capacity of T-SBC instances deployed in OpenStack cloud environments (Newton and above). GPU acceleration significantly increases transcoding capacity of virtual instances, which otherwise would have a limited scale. In many cases a GPU-accelerated solution performs better than specialized DSP hardware-based solutions. GPU-based solutions have the following benefits:

  • GPUs are ubiquitous, they are being offered as Commercial Off-the-Shelf (COTS) solutions by major hardware and cloud vendors.
  • GPU-based solutions leverage the steep rise in computing power delivered by increased industry investments in GPU technology.
  • GPUs have diverse applications. Unlike specialized DSP hardware, GPU devices can be reused for other applications.
  • GPUs can be leveraged by cloud-based virtual instances.


GPU Transcoding

Prior to SBC 8.0 release, for GPU-based solutions, the SBC could not offer more than one transcodable codec in the outgoing offer for following reasons:

  • Unlike CPU-based DSP that supports all the codecs, the GPU-based DSP supports specific codecs.
  • For GPU, if the configured codecs do not reside on the same DSP process, they cannot be used with a single DSP allocation.
  • Unaware of the cluster capabilities, the signaling SBC removes the codecs from the outgoing offer, which cannot be supported by the reserved DSP.


The SBC is enhanced to offer all the configured transcodable codecs that the SBC supports, in the outgoing offer and address the above GPU gaps.

The configured codecs include:

  • Codecs configured for transcoding
  • Codecs supported by same T-SBC instance that supports codecs received in the offer.

Supported Deployment Scenarios

GPU acceleration is supported on SBC SWe T-SBC instances and I-SBC instances, on OpenStack (Newton and above). The T-SBC is a component in Distributed SBC architecture that provides transcoding service.

It is also on I-SBC. 

GPU devices are attached to the SBC SWe instances through PCIe pass-through – a single GPU device can be used by only one instance at a time. The process of enabling PCIe pass-through in OpenStack is detailed later in this document. For performance considerations, NUMA locality of devices should be ensured.

 

NVIDIA GRID is not supported.

Supported GPU Devices

The following NVIDIA GPU devices are supported.

GPU Device NamePCI Vendor IDPCI Device IDReleases supportedRemarks
Tesla V100 PCIe 16GB10DE1DB47.0.0 onwardsrecommended
Tesla V100 SXM2 16GB10DE1DB17.2.0 onwards

Supported Codecs

  • AMR-NB
  • G.729AB
  • G722
  • AMR-WB
  • EVRC
  • EVRCB

In addition, G.711 is supported for GPU instances, but only when G.711 is being transcoded to a non-G.711 codec. You cannot currently configure transcoding from G.711 to G.711 on GPU instances. The coding rates and packetization times for the supported codecs are shown in the tables on the Audio Codecs page.


Note for Releases Prior to 8.0

The GPU transcoding solution currently does not support more than one non-G711 transcodable codec per leg on a trunk group. Therefore when configuring Packet Service Profiles, do not configure multiple non-G711 codecs on a single leg (This Leg/Other Leg parameters) when specifying the Codecs Allowed For Transcoding within Packet To Packet Control. Refer to Packet Service Profile - CLI or Packet To Packet Control - Codecs Allowed For Transcoding (EMA).

Note for Releases 8.x/9.x

Following issues exist in 8.x/9.x releases:

  • If  the first transcodable codec in the SDP offered by SBC is G.711, and the answer comes for non-G711 codec, then the SBC continues to use CPU resources for non-G711 transcoding.
  • If the first transcodable codec in the SDP offered by SBC is non-G711 and the answer comes for G711, then the SBC continues to use GPU resources for G.711 transcoding.



Feature Differences between CPU and GPU

Feature

CPU

GPU

Native Frame Size (for Encoder)

10ms

20ms

Packetization Times Supported

10ms, 20ms, 30ms, 40ms, 50ms, 60ms

20ms, 40ms and 60ms

Feature Comparison of CPU and GPU T-SBC Solutions

While GPU-based SBC SWes offer marked increase in scale when compared to CPU-based T-SBCs, there are some caveats with the GPU solution that are highlighted in the following table. 


Feature comparison of CPU and GPU T-SBC solution

Feature
CPU Solution
GPU Solution
ProvisioningCodecs are not provisioned during instantiation.

Codecs and their relative percentages are provisioned during instantiation using fields in the Heat template.

Inband Tone DetectionYesYes (except in G722 - AMRWB transcoding scenario)
RFC2833YesYes
Fax Tone DetectionYesNo
LRBT(TPAD)YesNo
G711 Silence SupressionYesYes