[uClinux-dev] M5208 & dhrystone
Eric BENARD
ebenard at free.fr
Thu Feb 15 12:18:40 EST 2007
Hi,
I'm using uClinux with kernel 2.4.32 and compiler 4.11-30 from
Codesourcery on a M5208EVB.
I compiled dhrystone using the following CFLAGS :
CFLAGS="-O2 -Wa,-memac -Wa,-mcpu=5208 -mcpu=5208 -DNO_PROTOTYPES=1"
(I also tried with much more complete CFLAGS).
I ran dhrystone on this board and got this poor result :
Microseconds for one run through Dhrystone: 40.1
Dhrystones per Second: 24937.7
which means 14 DMIPS (the CPU runs at 166MHz and is expected - by the
shortform - to give up to 159 DMIPS).
I understand the OS eats a few DMIPS but I don't understand why I only
get 1/10th of the expected CPU power of this CPU.
Do you have any idea of what could be wrong ?
Many thanks and best regards
Eric
More information about the uClinux-dev
mailing list