Reducing CPU usage on raspberrypi

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Do you have floating point supported within your image?
Do you  just test it with audio only?
The  PJ_HAS_FLOATING_POINT is enabled by default,So disable it in the
config_site.h file and try.
Maybe it is not related with FPU.

Best Regard,

Frank.zheng


2013/7/18 Matthew Cordes <cordes.matthew at gmail.com>

> Hello,
>
> I'm making some progress getting pjsip to work on my raspberrypi. Once I
> actually disabled portaudio and enabled alsa it seems to be working much
> better. (I thought I had done this earlier, but had made a mistake).
>
> Now I'm noticing pjsip with a single call running is using quite a bit of
> cpu (~98.3% at the moment) on the device. Can anyone recommend
> configuration options I could try to reduce this a bit?
>
> I saw this in config_site_sample.h (and I'm using it now, but without a
> noticeable effect).
>
>  /* For CPU reason, disable speex AEC and use the echo suppressor. */
>     #define PJMEDIA_HAS_SPEEX_AEC       0
>
> Are there any other options you can recommend?
>
> -Matt
>
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
>
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20130719/5edb7aa3/attachment-0001.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux