Note

An SBC instance spawned using G3 instance only supports the following codecs:

  • G.711
  • G.729
  • G.722
Note

An SBC instance spawned using P3 instance only supports the following codecs at this time:

  • G.711
  • G.729
  • G.722
  • AMR-WB
  • AMR

 

The procedure for configuring the AWS SBC SWe GPU Instance for transcoding is as follows. 

  1. Launch the instance from the template using G3.4xlarge or p3.2xlarge instance type.
  2. The instance comes up with the assigned role in the default traffic profile.
  3. Apply the following CLI configuration on the active instance for activating the required traffic profile:
set system sweCodecMixProfile customCodecMix <codec_a> p20 percentage <percent_codec_a>
set system sweCodecMixProfile customCodecMix <codec_b> p20 percentage <percent_codec_b>
.
.
.
set system sweTrafficProfiles <traffic_profile> transcodingCodecProfile customCodecMix
set system sweActiveProfile name <traffic_profile>


Where:

    • For g3.4xlarge, codec_a or codec_b can be one of the currently supported codecs on GPU: G.711, G.729, or G.722.
    • For p3.2xlarge, codec_a or codec_b can be one of the currently supported codecs on GPU: G.711, G.729, G.722, AMR-WB, AMR.
    • percent_a, percent_b, are the codec percents, which should add up to 100%.
    • traffic_profile should be set to standard_gpu_isbc_profile.
Example
set system sweCodecMixProfile customCodecMix g711 p20 percentage 50
set system sweCodecMixProfile customCodecMix g729 p20 percentage 50
set system sweTrafficProfiles standard_gpu_isbc_profile transcodingCodecProfile customCodecMix
set system sweActiveProfile name standard_gpu_isbc_profile


5. The instance goes for a reboot, and comes up in the required profile, which can be checked using the following command:

admin@vsbc1> show table system sweActiveProfile
name            standard_gpu_isbc_profile;
stateChangeTime 2018-04-22T02:41:41-00:00;
[ok][2018-04-23 03:21:04]
admin@vsbc1>

6. Once the load is run to check the number of calls running on the GPU, use CLI command.

This command will the number of calls running on the GPU.

admin@vsbc1> show table system gpuTranscodeStatus
                    G729                AMR                 AMR
SYSTEM      GPU     AB     G729 AB      NB     AMR NB       WB     AMR WB       EVRCB0  EVRCB0       EVRC0  EVRC0        G722   G722
NAME        NUMBER  TOTAL  UTILIZATION  TOTAL  UTILIZATION  TOTAL  UTILIZATION  TOTAL   UTILIZATION  TOTAL  UTILIZATION  TOTAL  UTILIZATION
---------------------------------------------------------------------------------------------------------------------------------------------
vsbcSystem  1       0      0            0      0            1536   52           0       0            0      0            0      0
[ok][2018-05-02 14:19:06]
admin@vsbc1>