Thanks for the input again Jim. Yes, it is a virtual machine. Ec2 from Amazon.I have noticed that the transcode value remains high for ever until the system is restarted. It doesn't depreciate (suppose we have greater CPU power in future for the virtual machine). Yes, I do have problems with g729 with the transcode rises to 10000ms as calls don't make it at all. Thanks for the hint on the special flagh. I will try to find that. Regards,Bruce ---------------------------------------- > Date: Sun, 30 Aug 2009 23:37:44 -0400 > From: [email protected] > To: [email protected] > CC: [email protected] > Subject: Re: [on-asterisk] Details of "core show translation" output > > When you say "amazon instance" do you mean it's a virtual machine in the > amazon computing cloud? In that environment, the CPU is probably not > 100% dedicated to you. The algorithm that determines the transcoding > times for 'show translations' may not be related to the actual > transcoder (in other words, it may just estimate). I'd personally be > suspicious of any results from 'show translations' on a virtual machine. > > This is an uneducated guess, but I would suspect that there'd have to be > some special flags you'd want to pass to the asterisk compiler to let it > know about the virtual machine (I recall reading something about that > somewhere, but can't for the life of me remember where or when). The > linux compiler might need to know something about that as well. > > Anyhow, to save time digging around, I would suggest answering the > following two questions: > 1) do you need any of those codecs? > 2) do you have any audio quality problems? > > If the answer to both is 'no', then I for one would not worry about it > too much. > > Jim > > > Bruce N wrote: >> Thanks for the description Jim. >> >> Why does the g729 codec show 2ms when Asterisk is restarted while other >> times it can show something as high as 4000ms? >> >> This is all under no load at all when this happens or simply a call or two. >> Once Asterisk restarted, all works fine. >> >> The following is the cpu info (this is an amazon instance): >> >> [r...@ip-10-251-69-209 ~]# cat /proc/cpuinfo >> processor : 0 >> vendor_id : AuthenticAMD >> cpu family : 15 >> model : 65 >> model name : Dual-Core AMD Opteron(tm) Processor 2218 HE >> stepping : 3 >> cpu MHz : 2600.000 >> cache size : 1024 KB >> fdiv_bug : no >> hlt_bug : no >> f00f_bug : no >> coma_bug : no >> fpu : yes >> fpu_exception : yes >> cpuid level : 1 >> wp : yes >> flags : fpu tsc msr pae mce cx8 apic mca cmov pat pse36 clflush mmx fxsr sse >> sse2 ht syscall nx mmxext fxsr_opt lm 3dnowext 3dnow up pni cx16 lahf_lm >> cmp_legacy svm cr8legacy ts fid vid ttp tm stc >> bogomips : 5202.13 >> >> >> Thanks, >> Bruce >> >> >> ---------------------------------------- >> >>> Date: Sun, 30 Aug 2009 22:33:29 -0400 >>> From: [email protected] >>> To: [email protected] >>> CC: [email protected] >>> Subject: Re: [on-asterisk] Details of "core show translation" output >>> >>> IIRC, that describes the time in milliseconds estimated to transcode >>> between the codecs. >>> >>> Do you use any of those codecs? If not, you might want to noload them in >>> modules.conf >>> >>> What sort of CPU is that running on? Is it a normal flavour of linux? >>> >>> Bruce N wrote: >>> >>>> Hi Guys, >>>> >>>> What exatly do the numbers underneath the codecs mean when one does a >>>> "core show translation"? >>>> >>>> I have a system which from time to time shows different numbers under g729 >>>> and the codec stops responding. Once I restart asterisk everything goes >>>> back to normal. >>>> >>>> Follwoing is output of "core show translation" pre and after asterisk >>>> restart. >>>> >>>> >>>> Before Restart >>>> ******************************* >>>> >>>> *CLI> core show translation >>>> Translation times between formats (in microseconds) for one second of data >>>> Source Format (Rows) Destination Format (Columns) >>>> g723 gsm ulaw alaw g726aal2 adpcm slin lpc10 g729 speex ilbc g726 g722 >>>> slin16 >>>> g723 - - - - - - - - - - - - - - >>>> gsm - - 2 2 2 2 1 2 4001 6000 9999 2 2 2 >>>> ulaw - 2 - 1 2 2 1 2 4001 6000 9999 2 2 2 >>>> alaw - 2 1 - 2 2 1 2 4001 6000 9999 2 2 2 >>>> g726aal2 - 2 2 2 - 2 1 2 4001 6000 9999 1 2 2 >>>> adpcm - 2 2 2 2 - 1 2 4001 6000 9999 2 2 2 >>>> slin - 1 1 1 1 1 - 1 4000 5999 9998 1 1 1 >>>> lpc10 - 2 2 2 2 2 1 - 4001 6000 9999 2 2 2 >>>> g729 - 2 2 2 2 2 1 2 - 6000 9999 2 2 2 >>>> speex - 2 2 2 2 2 1 2 4001 - 9999 2 2 2 >>>> ilbc - 2 2 2 2 2 1 2 4001 6000 - 2 2 2 >>>> g726 - 2 2 2 1 2 1 2 4001 6000 9999 - 2 2 >>>> g722 - 2 2 2 2 2 1 2 4001 6000 9999 2 - 1 >>>> slin16 - 3 3 3 3 3 2 3 4002 6001 10000 3 1 - >>>> >>>> >>>> >>>> >>>> >>>> After Asterisk Restart >>>> ********************************************** >>>> >>>> *CLI> core show translation >>>> Translation times between formats (in microseconds) for one second of data >>>> Source Format (Rows) Destination Format (Columns) >>>> g723 gsm ulaw alaw g726aal2 adpcm slin lpc10 g729 speex ilbc g726 g722 >>>> slin16 >>>> g723 - - - - - - - - - - - - - - >>>> gsm - - 2 2 2 2 1 1001 2 13999 2 2 2 2 >>>> ulaw - 2 - 1 2 2 1 1001 2 13999 2 2 2 2 >>>> alaw - 2 1 - 2 2 1 1001 2 13999 2 2 2 2 >>>> g726aal2 - 2 2 2 - 2 1 1001 2 13999 2 1 2 2 >>>> adpcm - 2 2 2 2 - 1 1001 2 13999 2 2 2 2 >>>> slin - 1 1 1 1 1 - 1000 1 13998 1 1 1 1 >>>> lpc10 - 10000 10000 10000 10000 10000 9999 - 10000 23997 10000 10000 10000 >>>> 10000 >>>> g729 - 2 2 2 2 2 1 1001 - 13999 2 2 2 2 >>>> speex - 2 2 2 2 2 1 1001 2 - 2 2 2 2 >>>> ilbc - 2 2 2 2 2 1 1001 2 13999 - 2 2 2 >>>> g726 - 2 2 2 1 2 1 1001 2 13999 2 - 2 2 >>>> g722 - 2 2 2 2 2 1 1001 2 13999 2 2 - 1 >>>> slin16 - 3 3 3 3 3 2 1002 3 14000 3 3 1 - >>>> >>>> >>>> >>>> Any input is appreciated. >>>> >>>> Thanks, >>>> Bruce >>>> _________________________________________________________________ >>>> New! Open Messenger faster on the MSN homepage >>>> http://go.microsoft.com/?linkid=9677405 >>>> --------------------------------------------------------------------- >>>> To unsubscribe, e-mail: [email protected] >>>> For additional commands, e-mail: [email protected] >>>> >>>> >>>> >>>> >>> -- >>> >>> -- >>> Jim Van Meggelen >>> [email protected] >>> http://www.oreillynet.com/pub/au/2177 >>> >>> "A child is the ultimate startup, and I have three. >>> This makes me rich." >>> Guy Kawasaki >>> -- >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [email protected] >>> For additional commands, e-mail: [email protected] >>> >>> >> _________________________________________________________________ >> New! Open Messenger faster on the MSN homepage >> http://go.microsoft.com/?linkid=9677405 >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> >> > > -- > > -- > Jim Van Meggelen > [email protected] > http://www.oreillynet.com/pub/au/2177 > > "A child is the ultimate startup, and I have three. > This makes me rich." > Guy Kawasaki > -- >
_________________________________________________________________ New: Messenger sign-in on the MSN homepage http://go.microsoft.com/?linkid=9677403 --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
