[vorbis-dev] CVS troubles

Monty xiphmont at xiph.org
Fri Sep 3 14:00:42 PDT 1999



> I'm sorry to disappoint you, but the psych model is the bottleneck. Try
> compiling with
> 
> -pg -static

Ah, my profiling is old (MDCT will be bottleneck in decode though).  Also the
psych stuff is in flux.  Optimization may end up be wasted effort until I
smnail it all down (you'll notice the code suddently gets very messy in
analysis and psy.c).

> Library routines like cos, sin, atan, log, exp are not shown in a normal
> gprof listing. Ouch. cos was using a _lot_ of time.

I profile with -lc_p and -lm_p.  But I did do my profiling before the lpc/lsp 
was in place.  BTW, I just committed some new LPC code that uses lookups for 
most trig.

> > problem there is using gcc/egc as the compiler.  On IRIX, the MIPSpro CC 
> > geenrates code 4x faster than GCC and on Solaris, SunSoft CC generates code 
> > 2.5x faster.  I'd assume the same is true on Intel but I don't have any 
> > commercial compilers to bench against on x86.
> 
> On intel, on my mdct algorithm, gcc is about 2x faster than visual c.

!! I'm surprised.  Maybe I'm missing some obvious trick to get better 
performance...

Monty

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/



More information about the Vorbis-dev mailing list