linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Jeff Angielski <jeff@theptrgroup.com>
To: luigi.mantellini.ml@gmail.com
Cc: linuxppc-dev@lists.ozlabs.org
Subject: Re: Low BogoMips
Date: Tue, 27 Oct 2009 13:03:09 -0400	[thread overview]
Message-ID: <4AE727CD.3020509@theptrgroup.com> (raw)
In-Reply-To: <200910271627.06549.luigi.mantellini.ml@gmail.com>

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

      reply	other threads:[~2009-10-27 17:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-27 15:27 Low BogoMips Luigi 'Comio' Mantellini
2009-10-27 17:03 ` Jeff Angielski [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4AE727CD.3020509@theptrgroup.com \
    --to=jeff@theptrgroup.com \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=luigi.mantellini.ml@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).