[pjsip] cpu too high

Diego Costantini diego.costantini at gmail.com
Wed May 14 05:49:52 EDT 2008


I am new to pjsip and I didn't look into the code, but I try to guess from
general knowledge: couldn't it be due to comfort noise generated by pjsip?
(I don't know if pjsip offers this feature)

-----Original Message-----
From: pjsip-bounces at lists.pjsip.org [mailto:pjsip-bounces at lists.pjsip.org]
On Behalf Of Nanang Izzuddin
Sent: Mittwoch, 14. Mai 2008 11:25
To: pjsip list
Subject: Re: [pjsip] cpu too high

We also experienced that speex encoder may cause CPU increased
significantly when silence occurred (not sure why), and this is
already handled by pjmedia since few months ago. So which version are
you using?

Regards,
nanang


2008/5/14 cat tanger <tanger_wendy at yahoo.com.cn>:
> hi,
> when A and B establishes a call , and user B say something ,user A keeps
> silence ,then A  PC's cpu fluctuate frome 20 to 50%. if  user A say
> something then A cpu reduce to 10%. (user A PC is Interl pentium Duale2140
> 1.6Ghz ,2G memory ,OS :xp.)
>
> when A cpu is 40% ,I find stack as follows:
> ntkrnlpa.exe!ExAllocatePoolWithTag+0x8ab
> ntkrnlpa.exe!MmIsDriverVerifying+0xa08
> hal.dll!HalClearSoftwareInterrupt+0x342
> pjsua_vc8d.exe!inner_prod+0x62
> pjsua_vc8d.exe!pitch_xcorr+0x3a
> pjsua_vc8d.exe!open_loop_nbest_pitch+0x225
> pjsua_vc8d.exe!nb_encode+0x698
> pjsua_vc8d.exe!speex_encode_native+0x1f
> pjsua_vc8d.exe!sb_encode+0x112
> pjsua_vc8d.exe!speex_encode_int+0x73
> pjsua_vc8d.exe!spx_codec_encode+0x8f
> pjsua_vc8d.exe!put_frame_imp+0x2cb
> pjsua_vc8d.exe!put_frame+0x1a5
> pjsua_vc8d.exe!pjmedia_port_put_frame+0x77
> pjsua_vc8d.exe!write_port+0x3e1
> pjsua_vc8d.exe!get_frame+0x536
> pjsua_vc8d.exe!pjmedia_port_get_frame+0x77
> pjsua_vc8d.exe!play_cb+0x5e
> pjsua_vc8d.exe!PaPlayerCallback+0x1fa
> pjsua_vc8d.exe!NonAdaptingProcess+0x28c
> pjsua_vc8d.exe!PaUtil_EndBufferProcessing+0x290
> pjsua_vc8d.exe!ProcessingThreadProc+0x644
> kernel32.dll!GetModuleFileNameA+0x1b4
>
>
> ________________________________
> 雅虎邮箱,您的终生邮箱!
> _______________________________________________
> 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
>
>
_______________________________________________
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





More information about the pjsip mailing list