[asterisk-bugs] [JIRA] (ASTERISK-27747) codec opus performance issue

Aaron An (JIRA) noreply at issues.asterisk.org
Mon Mar 19 06:05:13 CDT 2018


     [ https://issues.asterisk.org/jira/browse/ASTERISK-27747?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aaron An updated ASTERISK-27747:
--------------------------------

    Description: 
when transcoding from opus to others (for example g711), asterisk have a 800% cpu used when concurrent calls is only 60-70. All 8 core cpu were used, this make the choppy sound.

my codec.conf:
[myopus]
type=opus
packet_loss=5
complexity=6
max_bandwidth=narrow
signal=voice
application=voip
max_playback_rate=8000
bitrate=12000
cbr=1
fec=1
dtx=0

and then i change the option complexity to 0(lowest cpu), when 60-70 concurrent calls, cpu used decrease to around 300%. is there any suggestions to increase the performance? I have read the article about opus before, it say that opus load is 3X to g729, is that true? how to improve?


  was:
when transcoding from opus to others (for example g711), asterisk have a 800% cpu used when concurrent calls is only 60-70. All 8 core cpu were used, this make the choppy sound.

my codec.conf:
[myopus]
type=opus
packet_loss=5
complexity=6
max_bandwidth=narrow
signal=voice
application=voip
max_playback_rate=8000
bitrate=12000
cbr=1
fec=1
dtx=0

and then i change the option complexity to 0(lowest cpu), when 60-70 concurrent calls, cpu used decrease to around 300%. is there any suggestions to increase the calls? I have read the article about opus before, it say that opus load is 3X to g729,is that true? how to improve?



> codec opus performance issue
> ----------------------------
>
>                 Key: ASTERISK-27747
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27747
>             Project: Asterisk
>          Issue Type: Improvement
>      Security Level: None
>          Components: Codecs/codec_opus
>    Affects Versions: 13.16.0
>         Environment: AWS EC2 C4.2xLarge 8 core CPU and 8GB memory
>            Reporter: Aaron An
>            Severity: Critical
>
> when transcoding from opus to others (for example g711), asterisk have a 800% cpu used when concurrent calls is only 60-70. All 8 core cpu were used, this make the choppy sound.
> my codec.conf:
> [myopus]
> type=opus
> packet_loss=5
> complexity=6
> max_bandwidth=narrow
> signal=voice
> application=voip
> max_playback_rate=8000
> bitrate=12000
> cbr=1
> fec=1
> dtx=0
> and then i change the option complexity to 0(lowest cpu), when 60-70 concurrent calls, cpu used decrease to around 300%. is there any suggestions to increase the performance? I have read the article about opus before, it say that opus load is 3X to g729, is that true? how to improve?



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list