linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Dan Malek <dan@netx4.com>
To: Seungdong Lee <sdlee@da-san.com>
Cc: Dan Malek <dan@netx4.com>, linuxppc-embedded@lists.linuxppc.org
Subject: Re: 8240 BogoMIPS
Date: Sat, 20 May 2000 13:36:21 -0400	[thread overview]
Message-ID: <3926CD15.441C87AB@embeddededge.com> (raw)
In-Reply-To: 39263EA0.69C60AA9@da-san.com


Seungdong Lee wrote:
>
> Hi Dan, I have successfully ported Linux to my customized 8240 board.

Cool!  Good job.  What version of software are you using?  Did you
make any changes or want your board part of the kernel tree?

> Linux runs fine, but I found that the performance is not as good as my
> expectation.

Is this just based on the BogoMIPS number, or do you have some
benchmarks for comparison?

> BogoMIPS value of my board is currently 131.89.

I have not booted my 8240 for a while, and I don't remember the number.
I have another 8240 showing up soon, so I will be back on that before
long and will pay attention to this.  For some reason, I do remember that
with caches disabled this number is _really_ small, like 13 or 18 or
something.

I don't believe any absolute number here.  I just use it for a quick
reference when I am testing various cache combinations to indicate
that I am booting the kernel I wish to be using.

If this doesn't seem correct, ensure the processor is really running
at the clock rate you expect.  Verify external clocks, PLLs and the like.
Also, make sure the timers used to determine this value are properly
programmed.  One test I always perform is to run 'sleep 10' at the
shell prompt, and time it with my watch.  It should be really close
to 10 seconds, 9 or 11 on my watch are not close :-).

> Both I/D-cache are enabled. So, theoretical BogoMIPS should be around
> 400.

I wouldn't use BogoMIPS for any kind of benchmark.  There have been
plenty of discussions on mailing lists (including linuxppc lists) to
indicate this abosolute number doesn't mean much.  I have many PowerPC
systems running Linux, from 8xx embedded though 7400/G4 systems.  I
certainly can't predict what this number "should" be.

Verify clocks and timers are working and run some real benchmarks.


	-- Dan

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

  reply	other threads:[~2000-05-20 17:36 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-05-20  7:28 8240 BogoMIPS Seungdong Lee
2000-05-20 17:36 ` Dan Malek [this message]
2000-05-20 20:14   ` Marcus Sundberg
2000-05-22  2:38     ` Seungdong Lee
2000-05-22  9:34       ` Marcus Sundberg
2000-05-22  9:54         ` Seungdong Lee
2000-05-22 10:50           ` Geir Frode Raanes
2000-05-22 11:19             ` Seungdong Lee
2000-05-26  7:45         ` Seungdong Lee
2000-05-22  2:29   ` Seungdong Lee

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=3926CD15.441C87AB@embeddededge.com \
    --to=dan@netx4.com \
    --cc=linuxppc-embedded@lists.linuxppc.org \
    --cc=sdlee@da-san.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).