Thanks. I found that I didn't enable ARM5E_ASM macro for speex. After defined ARM5E_ASM, I got about the same result as the "PJMEDIA Performance Measurement" report. Regards. >Date: Thu, 3 Sep 2009 08:31:22 +0200 >From: "Olle Frimanson" <olle.frimanson@xxxxxxxxxxxx> >Subject: Re: Echo cancel consumes too much cpu on ARM >To: "'pjsip list'" <pjsip at lists.pjsip.org> >Message-ID: <013001ca2c60$27ab49e0$6401a8c0 at OLLESLAPTOP> >Content-Type: text/plain; charset="us-ascii" > >Hi, > >Check if you have set the clock rate in the conference bridge and on the >audio device, so they both are 8 kHz, like codec. > >If you don't do this you might run a higer sampling rate. If you have >different sampling rate on codec - conf. bridge . sound device you might >also end up with multiple up/down sampling filters. > >BR/Olle > > _____ > >From: pjsip-bounces@xxxxxxxxxxxxxxx [mailto:pjsip-bounces at lists.pjsip.org] >On Behalf Of lcj.liu at gmail.com >Sent: den 3 september 2009 04:41 >To: pjsip at lists.pjsip.org >Subject: Echo cancel consumes too much cpu on ARM > > > >I'm using pjsua sample application(SVN 2913) on 270MHZ ARM926EJ-S with Linux >2.6.10. The pjsip is built with arm gcc 4.2. > >PCMU is used during dialog. > >If -echo-tail =0, only about 1% cpu is consumed by pjsua. > >If -echo-tail=20, about 50% cpu is consumed. > >If -echo-tail=60, about 100% cpu is consumed. > > > >I reviewed the report "PJMEDIA Performance >Measurement"(http://trac.pjsip.org/repos/wiki/PJMEDIA-MIPS). > >This report gives much better result than mine on ARM . For 8KHZ echo >canceller 100ms tail len, it consumes only about 30% cpu. > > > >Where is the problem? > > > >Best Regards. > >-------------- next part -------------- >An HTML attachment was scrubbed... >URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20090903 /848a1d9f/attachment.html> > >------------------------------ > >_______________________________________________ >pjsip mailing list >pjsip at lists.pjsip.org >http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org