[asterisk-app-dev] ARI Snoop Channel CPU Usage

George Ladoff georgeladoff at gmail.com
Fri Apr 3 18:09:15 CDT 2015


Thanks Joshua. Will do. :)

On a similar note though, do snoop channels always transcode? I've noticed
that decoding or encoding (depending on snoop type) starts the moment I
start a snoop channel.

At first I thought this was what was causing the CPU usage but it doesn't
appear to be. The same transcoding will occur on recording and playback
(when necessary) and doesn't appear to have the same CPU overhead.

Maybe another way to put my question: is there any voodoo I can do to
prevent a snoop channel from transcoding, then only trigger a transcode
when needed (recording, playback, some bridges)? Or will it always
transcode (something about how snoop works)? Or have I encountered another
bug? ;)

Thanks again!

On Fri, Apr 3, 2015 at 3:29 AM, Joshua Colp <jcolp at digium.com> wrote:

> George Ladoff wrote:
>
>> Hey Everybody,
>>
>> I've been tinkering with ARI over the last 6 months and I've been able
>> to do a quite a bit. Recently though I've hit a wall where I'm not sure
>> if I'm looking at a bug, or something I just don't understand about how
>> ARI/Asterisk functions. I'm hoping someone can shed some light on this
>> for me or just tell me, "yeah, file a bug report."
>>
>
> Yeah, file a bug report. ;)
>
>
>> I can create and bridge channels with no problem. I see great
>> performance with a variety of codecs. But as soon as I create a snoop
>> channel, CPU usage begins to escalate endlessly. A single snoop channel
>> can consume 100% of a 3 Ghz CPU within 40 minutes, crawling up 2-3%
>> every minute. As soon as I delete the snoop channel, CPU returns to
>> normal.
>>
>
> In the bug report also put what are you doing with the snoop channel?
> (Whispering, listening, both).
>
> Cheers,
>
> --
> Joshua Colp
> Digium, Inc. | Senior Software Developer
> 445 Jan Davis Drive NW - Huntsville, AL 35806 - US
> Check us out at: www.digium.com & www.asterisk.org
>
> _______________________________________________
> asterisk-app-dev mailing list
> asterisk-app-dev at lists.digium.com
> http://lists.digium.com/cgi-bin/mailman/listinfo/asterisk-app-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-app-dev/attachments/20150403/3df82f8e/attachment.html>


More information about the asterisk-app-dev mailing list