Skip to contentSkip to conversation

Low BogoMips

DISCUSSION Luigi 'Comio' Mantellini 2 participants 2 messages Oct 27, 2009

lore
Share & tools
lore
#0 lore raw

Hi All,

my name is Luigi. I'm working on a stripped-down mpc8541 board (that has just a serian and twe enets).
I have an issue on delay calibration. In fact my at boot time I see the following on the serial console:

....
Calibrating delay loop... 83.20 BogoMIPS (lpj=166400)
....

This value seems to be too low and I suspect an error propagated from u-boot.

Can anyone help me to understand a good way to investigate this problem? which registers or configuration values I need to check?

I will post the necessary snips of code or configuration if required.

Thanks a lot for your help,

ciao

luigi

Signature · 9 lines
Luigi 'Comio' Mantellini

R&D - Software
Industrie Dial Face S.p.A.
Via Canzo, 4
20068 Peschiera Borromeo (MI), Italy
Tel.:  +39 02 5167 2813
Fax:   +39 02 5167 2459
Email: [email protected]
#1 lore raw
Quoted 9 lines · Luigi 'Comio' Mantellini

Hi All,

my name is Luigi. I'm working on a stripped-down mpc8541 board (that has just a serian and twe enets). I have an issue on delay calibration. In fact my at boot time I see the following on the serial console:

....
Calibrating delay loop... 83.20 BogoMIPS (lpj=166400)
....

Quoted 7 lines

This value seems to be too low and I suspect an error propagated from u-boot.

Can anyone help me to understand a good way to investigate this problem? which registers or configuration values I need to check?

I will post the necessary snips of code or configuration if required.

Thanks a lot for your help,

On the PowerPC, the BogoMIPS is not an estimate of the performance of the CPU, but rather related to the internal timebase register frequency.

"With recent kernels, when build with ARCH=powerpc, we now use the hardware timebase instead of bogus processor loops for short timings. Thus our bogomips value is no longer the speed at which the processor runs empty loops, but the actual processor timebase value as obtained after calibration at boot. " - Benjamin Herrenschmidt

Google(powerpc, bogomips, timebase)=happiness

Signature · 3 lines
Jeff Angielski
The PTR Group
www.theptrgroup.com