Hi all,, I have found that the CPU usage with users WebRTC + OPUS is high. With 2vCPUs, 10 users use 25% of CPU. Anyone know if this load is normal? Thank you, *PRESENCE TECHNOLOGY* *Agustí Ubalde Bellot* Chief Developer C/ Comte Urgell 240 3A Barcelona 08036 aubalde@presenceco.com Ph: +34 93 10 10 300 Fx: +34 93 10 10 333 *www.presenceco.com* <http://www.presenceco.com/> *Follow us on:* *[image: tw]* <http://twitter.com/presencetech>*[image: yt]* <http://www.youtube.com/PresenceTechnology>*[image: in]* <http://www.linkedin.com/groups?mostPopular=&gid=2898558>*[image: ss]* <http://www.slideshare.net/PresenceTech>*[image: fb]* <http://www.facebook.com/presencetech> For additional information, please visit our website *www.presenceco.com* <http://www.presenceco.com/> -- *Presence Technology - DisclaimerThis message, its content and any file attached thereto is for the intended recipient only and is confidential and /or privileged. If you have received this e-mail in error or had access to it, you should note that the information in it is private and any use thereof is unauthorized. In such an event please notify us by e-mail or by telephone (+ 34 93 10 10 300). Any reproduction of this e-mail by whatsoever means and any transmission or dissemination thereof to other persons is prohibited. It should be deleted immediately from your system. Presence Technology reserves the right to take legal action against any persons unlawfully gaining access to the content of any external message it has emitted.* *For additional information, please visit our website **www.presenceco.com <http://www.presenceco.com/>*
I've seen estimates that opus is up to twice as heavy as g729. webrtc encryption adds some (although not huge) load on top of that. 20 opus sessions per cpu seems low, are these particularly slow processors or virtual processors?
On Apr 7, 2016, at 12:25 PM, Agustí Ubalde <aubalde@presenceco.com> wrote:
Hi all,,
I have found that the CPU usage with users WebRTC + OPUS is high. With 2vCPUs, 10 users use 25% of CPU. Anyone know if this load is normal?
In my tests OPUS transcoding seems to consume 5-6 times more CPU then G.711 or G.722. On Thu, Apr 7, 2016 at 9:39 AM, Michael Jerris <mike@jerris.com> wrote:
I've seen estimates that opus is up to twice as heavy as g729. webrtc encryption adds some (although not huge) load on top of that. 20 opus sessions per cpu seems low, are these particularly slow processors or virtual processors?
On Apr 7, 2016, at 12:25 PM, Agustí Ubalde <aubalde@presenceco.com> wrote:
Hi all,,
I have found that the CPU usage with users WebRTC + OPUS is high. With 2vCPUs, 10 users use 25% of CPU. Anyone know if this load is normal?
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Hi; I want to set up Webrtc Demo using freeswitch with media switching or media transcode. Setup is chrome (sip.js) ->fs->chrome (sip.js), but end up with fail. Can you share your successful case using Webrtc + opus. (SIP preferred to Verto as signal). Thanks Smile From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Oleg Stolyar Sent: Friday, April 08, 2016 12:50 AM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] OPUS and CPU load In my tests OPUS transcoding seems to consume 5-6 times more CPU then G.711 or G.722. On Thu, Apr 7, 2016 at 9:39 AM, Michael Jerris <mike@jerris.com<mailto:mike@jerris.com>> wrote: I've seen estimates that opus is up to twice as heavy as g729. webrtc encryption adds some (although not huge) load on top of that. 20 opus sessions per cpu seems low, are these particularly slow processors or virtual processors?
On Apr 7, 2016, at 12:25 PM, Agustí Ubalde <aubalde@presenceco.com<mailto:aubalde@presenceco.com>> wrote:
Hi all,,
I have found that the CPU usage with users WebRTC + OPUS is high. With 2vCPUs, 10 users use 25% of CPU. Anyone know if this load is normal?
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org [This e-mail is confidential and may be privileged. If you are not the intended recipient, please kindly notify us immediately and delete the message from your system; please do not copy or use it for any purpose, nor disclose its contents to any other person. Thank you.] ---ST Electronics Group---
Can someone explain why sip would be preferred in this scenario? Is there any real reason? On Friday, April 8, 2016, Quan Huo Sheng <quanhs@stee.stengg.com> wrote:
Hi;
I want to set up Webrtc Demo using freeswitch with media switching or media transcode. Setup is chrome (sip.js) ->fs->chrome (sip.js), but end up with fail.
Can you share your successful case using Webrtc + opus. (SIP preferred to Verto as signal).
Thanks
Smile
*From:* freeswitch-users-bounces@lists.freeswitch.org <javascript:_e(%7B%7D,'cvml','freeswitch-users-bounces@lists.freeswitch.org');> [mailto:freeswitch-users-bounces@lists.freeswitch.org <javascript:_e(%7B%7D,'cvml','freeswitch-users-bounces@lists.freeswitch.org');>] *On Behalf Of *Oleg Stolyar *Sent:* Friday, April 08, 2016 12:50 AM *To:* FreeSWITCH Users Help *Subject:* Re: [Freeswitch-users] OPUS and CPU load
In my tests OPUS transcoding seems to consume 5-6 times more CPU then G.711 or G.722.
On Thu, Apr 7, 2016 at 9:39 AM, Michael Jerris <mike@jerris.com <javascript:_e(%7B%7D,'cvml','mike@jerris.com');>> wrote:
I've seen estimates that opus is up to twice as heavy as g729. webrtc encryption adds some (although not huge) load on top of that. 20 opus sessions per cpu seems low, are these particularly slow processors or virtual processors?
On Apr 7, 2016, at 12:25 PM, Agustí Ubalde <aubalde@presenceco.com <javascript:_e(%7B%7D,'cvml','aubalde@presenceco.com');>> wrote:
Hi all,,
I have found that the CPU usage with users WebRTC + OPUS is high. With 2vCPUs, 10 users use 25% of CPU. Anyone know if this load is normal?
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <javascript:_e(%7B%7D,'cvml','consulting@freeswitch.org');> http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <javascript:_e(%7B%7D,'cvml','FreeSWITCH-users@lists.freeswitch.org');> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
[This e-mail is confidential and may be privileged. If you are not the intended recipient, please kindly notify us immediately and delete the message from your system; please do not copy or use it for any purpose, nor disclose its contents to any other person. Thank you.] ---ST Electronics Group---
I just want to study a successful case for the Webrtc demo (using media mode) in the chapter 6 of book “FreeSwitch 1.6 Cookbook” which uses sip.js (sip-0.7.0.js) in Chrome. So far I fail until now. Please refer to the thread “Webrtc [err] mod_sofia.c 2299 codec negotiation error. Sdp” Regards Smile From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Michael Jerris Sent: Friday, April 08, 2016 3:13 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] OPUS and CPU load Can someone explain why sip would be preferred in this scenario? Is there any real reason? On Friday, April 8, 2016, Quan Huo Sheng <quanhs@stee.stengg.com<mailto:quanhs@stee.stengg.com>> wrote: Hi; I want to set up Webrtc Demo using freeswitch with media switching or media transcode. Setup is chrome (sip.js) ->fs->chrome (sip.js), but end up with fail. Can you share your successful case using Webrtc + opus. (SIP preferred to Verto as signal). Thanks Smile From: freeswitch-users-bounces@lists.freeswitch.org<javascript:_e(%7B%7D,'cvml','freeswitch-users-bounces@lists.freeswitch.org');> [mailto:freeswitch-users-bounces@lists.freeswitch.org<javascript:_e(%7B%7D,'cvml','freeswitch-users-bounces@lists.freeswitch.org');>] On Behalf Of Oleg Stolyar Sent: Friday, April 08, 2016 12:50 AM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] OPUS and CPU load In my tests OPUS transcoding seems to consume 5-6 times more CPU then G.711 or G.722. On Thu, Apr 7, 2016 at 9:39 AM, Michael Jerris <mike@jerris.com<javascript:_e(%7B%7D,'cvml','mike@jerris.com');>> wrote: I've seen estimates that opus is up to twice as heavy as g729. webrtc encryption adds some (although not huge) load on top of that. 20 opus sessions per cpu seems low, are these particularly slow processors or virtual processors?
On Apr 7, 2016, at 12:25 PM, Agustí Ubalde <aubalde@presenceco.com<javascript:_e(%7B%7D,'cvml','aubalde@presenceco.com');>> wrote:
Hi all,,
I have found that the CPU usage with users WebRTC + OPUS is high. With 2vCPUs, 10 users use 25% of CPU. Anyone know if this load is normal?
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<javascript:_e(%7B%7D,'cvml','consulting@freeswitch.org');> http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<javascript:_e(%7B%7D,'cvml','FreeSWITCH-users@lists.freeswitch.org');> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org [This e-mail is confidential and may be privileged. If you are not the intended recipient, please kindly notify us immediately and delete the message from your system; please do not copy or use it for any purpose, nor disclose its contents to any other person. Thank you.] ---ST Electronics Group---
You should be seeing a significant different between G.711 and G.722, so bundling them together doesn't make sense. G.711 takes only a minute amount of CPU effort. G.722 takes a significant amount. Regards, Steve On 04/08/2016 12:49 AM, Oleg Stolyar wrote:
In my tests OPUS transcoding seems to consume 5-6 times more CPU then G.711 or G.722.
On Thu, Apr 7, 2016 at 9:39 AM, Michael Jerris <mike@jerris.com <mailto:mike@jerris.com>> wrote:
I've seen estimates that opus is up to twice as heavy as g729. webrtc encryption adds some (although not huge) load on top of that. 20 opus sessions per cpu seems low, are these particularly slow processors or virtual processors?
> On Apr 7, 2016, at 12:25 PM, Agustí Ubalde <aubalde@presenceco.com <mailto:aubalde@presenceco.com>> wrote: > > Hi all,, > > I have found that the CPU usage with users WebRTC + OPUS is high. With 2vCPUs, 10 users use 25% of CPU. Anyone know if this load is normal?
Steve, you are correct, I was comparing Opus to my current production mix of G.711 and G.722. Here are more precise results on AWS M3.2xl instance with 8 CPUs for a 10 person conference with all clients connecting from Chrome via WebRTC. FS CPU usage was jumping more or less within these ranges throughout the conference: PCMU: 4.3% - 5.0% 722: 7.6% - 8.3% OPUS: 25% - 50% On Thu, Apr 7, 2016 at 9:04 PM, Steve Underwood <steveu@coppice.org> wrote:
You should be seeing a significant different between G.711 and G.722, so bundling them together doesn't make sense. G.711 takes only a minute amount of CPU effort. G.722 takes a significant amount.
Regards, Steve
On 04/08/2016 12:49 AM, Oleg Stolyar wrote:
In my tests OPUS transcoding seems to consume 5-6 times more CPU then G.711 or G.722.
On Thu, Apr 7, 2016 at 9:39 AM, Michael Jerris <mike@jerris.com <mailto:mike@jerris.com>> wrote:
I've seen estimates that opus is up to twice as heavy as g729. webrtc encryption adds some (although not huge) load on top of that. 20 opus sessions per cpu seems low, are these particularly slow processors or virtual processors?
> On Apr 7, 2016, at 12:25 PM, Agustí Ubalde <aubalde@presenceco.com <mailto:aubalde@presenceco.com>> wrote: > > Hi all,, > > I have found that the CPU usage with users WebRTC + OPUS is high. With 2vCPUs, 10 users use 25% of CPU. Anyone know if this load is normal?
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (5)
-
Agustí Ubalde
-
Michael Jerris
-
Oleg Stolyar
-
Quan Huo Sheng
-
Steve Underwood