linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Low BogoMips
@ 2009-10-27 15:27 Luigi 'Comio' Mantellini
  2009-10-27 17:03 ` Jeff Angielski
  0 siblings, 1 reply; 2+ messages in thread
From: Luigi 'Comio' Mantellini @ 2009-10-27 15:27 UTC (permalink / raw)
  To: linuxppc-dev

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

-- 
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: luigi.mantellini@idf-hit.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Low BogoMips
  2009-10-27 15:27 Low BogoMips Luigi 'Comio' Mantellini
@ 2009-10-27 17:03 ` Jeff Angielski
  0 siblings, 0 replies; 2+ messages in thread
From: Jeff Angielski @ 2009-10-27 17:03 UTC (permalink / raw)
  To: luigi.mantellini.ml; +Cc: linuxppc-dev

Luigi 'Comio' Mantellini wrote:
> 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,

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


-- 
Jeff Angielski
The PTR Group
www.theptrgroup.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-10-27 17:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-27 15:27 Low BogoMips Luigi 'Comio' Mantellini
2009-10-27 17:03 ` Jeff Angielski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).