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

Joshua Colp (JIRA) noreply at issues.asterisk.org
Mon Mar 19 06:14:13 CDT 2018


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

Joshua Colp closed ASTERISK-27747.
----------------------------------

    Resolution: Not A Bug

The options that you stated are the only ones that are available to tweak things and change conditions. There's nothing else available to do so.

Opus itself is just computationally expensive, which is why generally hardware devices also have limits on what they can do (for example only one call leg in a three way call can be Opus for some phones).

You may try other avenues such as the mailing list[1] or community site[2] to see if others have suggestions on how they may have tweaked things.

[1] http://lists.digium.com/mailman/listinfo/asterisk-users
[2] https://community.asterisk.org/

> 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 16GB 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