Use this procedure to configure the AWS SBC SWe G3 Instance for transcoding. 

  1. Launch the instance from the template using G3.4xlarge instance type.
  2. Select the personality type of ISBC.
  3. The instance comes up with the assigned role in the default traffic profile.
  4. 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:

    • codec_a or codec_b can be one of the currently supported codecs on GPU: amr, amrwb, evrc, evrcb, g729, or g722
    • percent_a, percent_b, are the codec percents, which should add up to 100%
    • traffic_profile is standard_gpu_isbc_profile (personality type is ISBC)
Example
set system sweCodecMixProfile customCodecMix amrwb 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>