On Fri, 12 May 2000, Gregor Pogatzki wrote:
> 2. The system seems to be extremly slow. I compiled an mp3 encoding
> algorithm with my cross compiler
> (cross-armv4l-linux-gcc-0.4_2.95.2-6.i386). It takes about 13 minutes
> to encode just 4 seconds of music!! On a 450 Mhz Pentium III it takes
> one or two seconds. So the StrongARM seems to be about 600 times
> slower! What can I do do make it faster? Is there any Initialization
> to be done, to make the StrongARM running on full 221Mhz clock
> frequency? What compiler options should I use to make a program as
> fast as possible on SA-1110?
Check that your instruction and data caches are turned on, and compile
with something like -O3 and check that you have the compiler set up
to optimise for SA.
You aren't by any chance using any floating point instructions are you??
They will be hundreds of times slower than a Pentium of course. Also
remember that the SA doesn't have much cache compared with a Pentium so if
your code has a particularly large cache footprint you could hit problems.
Dave
/------------------------------------------------------------------\
| Dr. David Alan Gilbert | Work:[EMAIL PROTECTED] +44-161-286-2000 Ex258|
| -------- G7FHJ --------|---------------------------------------- |
| Home: [EMAIL PROTECTED] http://www.treblig.org |
\------------------------------------------------------------------/
unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]
++ Please use [EMAIL PROTECTED] for ++
++ kernel-related discussions. ++