Hello, Running Fedora Core 2 with a Celeron processor I'm seeing a significant problem when enabling MMX optimizations. I'll gladly submit a bug report, but I don't know what information is useful. First, with -no- MMX optimizations enabled, here is what I see CLI> show translation Translation times between formats (in milliseconds) Source Format (Rows) Destination Format(Columns) g723 gsm ulaw alaw g726 adpcm slin lpc10 g729 speex ilbc g723 - - - - - - - - - - - gsm - - 2 2 3 2 1 11 18 - 24 ulaw - 5 - 1 3 2 1 11 18 - 24 alaw - 5 1 - 3 2 1 11 18 - 24 g726 - 6 3 3 - 3 2 12 19 - 25 adpcm - 5 2 2 3 - 1 11 18 - 24 slin - 4 1 1 2 1 - 10 17 - 23 lpc10 - 7 4 4 5 4 3 - 20 - 26 g729 - 7 4 4 5 4 3 13 - - 26 speex - - - - - - - - - - - ilbc - 8 5 5 6 5 4 14 21 - - If I enable MMX_OPTIMIZATIONS (and change nothing else), it gets quite worse.... CLI> show translation Translation times between formats (in milliseconds) Source Format (Rows) Destination Format(Columns) g723 gsm ulaw alaw g726 adpcm slin lpc10 g729 speex ilbc g723 - - - - - - - - - - - gsm - - 2 2 3 2 1 48 20 - 446270 ulaw - 5 - 1 3 2 1 48 20 - 446270 alaw - 5 1 - 3 2 1 48 20 - 446270 g726 - 6 3 3 - 3 2 49 21 - 446271 adpcm - 5 2 2 3 - 1 48 20 - 446270 slin - 4 1 1 2 1 - 47 19 - 446269 lpc10 - 368 365 365 366 365 364 - 383 - 446633 g729 - 23 20 20 21 20 19 66 - - 446288 speex - - - - - - - - - - - ilbc - 266 263 263 264 263 262 309 281 - - And just incase you think I've got an AMD, here you go... processor : 0 vendor_id : GenuineIntel cpu family : 15 model : 1 model name : Intel(R) Celeron(R) CPU 1.70GHz stepping : 3 cpu MHz : 1716.114 cache size : 128 KB fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 2 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm bogomips : 3399.68 If this isn't supposed to work with Celerons I'd like to update the documentation. On the other hand if it's a problem with my system I'd like to resolve it :) TIA!
Hay Trevor, what would be the problem if you were using AMD processors? Trevor Peirce wrote:> Hello, > > Running Fedora Core 2 with a Celeron processor I'm seeing a > significant problem when enabling MMX optimizations. > > I'll gladly submit a bug report, but I don't know what information is > useful. > > First, with -no- MMX optimizations enabled, here is what I see > > CLI> show translation > Translation times between formats (in milliseconds) > Source Format (Rows) Destination Format(Columns) > > g723 gsm ulaw alaw g726 adpcm slin lpc10 g729 speex ilbc > g723 - - - - - - - - - - - > gsm - - 2 2 3 2 1 11 18 - 24 > ulaw - 5 - 1 3 2 1 11 18 - 24 > alaw - 5 1 - 3 2 1 11 18 - 24 > g726 - 6 3 3 - 3 2 12 19 - 25 > adpcm - 5 2 2 3 - 1 11 18 - 24 > slin - 4 1 1 2 1 - 10 17 - 23 > lpc10 - 7 4 4 5 4 3 - 20 - 26 > g729 - 7 4 4 5 4 3 13 - - 26 > speex - - - - - - - - - - - > ilbc - 8 5 5 6 5 4 14 21 - - > > If I enable MMX_OPTIMIZATIONS (and change nothing else), it gets quite > worse.... > > CLI> show translation > Translation times between formats (in milliseconds) > Source Format (Rows) Destination Format(Columns) > > g723 gsm ulaw alaw g726 adpcm slin lpc10 g729 speex ilbc > g723 - - - - - - - - - - - > gsm - - 2 2 3 2 1 48 20 - 446270 > ulaw - 5 - 1 3 2 1 48 20 - 446270 > alaw - 5 1 - 3 2 1 48 20 - 446270 > g726 - 6 3 3 - 3 2 49 21 - 446271 > adpcm - 5 2 2 3 - 1 48 20 - 446270 > slin - 4 1 1 2 1 - 47 19 - 446269 > lpc10 - 368 365 365 366 365 364 - 383 - 446633 > g729 - 23 20 20 21 20 19 66 - - 446288 > speex - - - - - - - - - - - > ilbc - 266 263 263 264 263 262 309 281 - - > > > And just incase you think I've got an AMD, here you go... > > > processor : 0 > vendor_id : GenuineIntel > cpu family : 15 > model : 1 > model name : Intel(R) Celeron(R) CPU 1.70GHz > stepping : 3 > cpu MHz : 1716.114 > cache size : 128 KB > fdiv_bug : no > hlt_bug : no > f00f_bug : no > coma_bug : no > fpu : yes > fpu_exception : yes > cpuid level : 2 > wp : yes > flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca > cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm > bogomips : 3399.68 > > > If this isn't supposed to work with Celerons I'd like to update the > documentation. On the other hand if it's a problem with my system I'd > like to resolve it :) > > TIA! > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > >
Michael D Schelin wrote:> Hay Trevor, what would be the problem if you were using AMD processors? >/* * Define if you want MMX optimizations in zaptel * * Note: CONFIG_ZAPTEL_MMX is generally incompatible with AMD * processors and can cause system instability! * */ /* #define CONFIG_ZAPTEL_MMX */
I put the Who? in Mishehu
2005-Apr-03 16:39 UTC
[Asterisk-Users] Zaptel Anti-MMX Optimizations
Did you try issuing "show translation recalc #" where # is any given number of seconds to recalculate for? For example, speex tends to show weird numbers for me on my dual proc xeon 2.8ghz, until I do a show translation recalc 1, then I get more sane numbers. Just my thoughts. -mishehu