All of lore.kernel.org
 help / color / mirror / Atom feed
* RE: 8270 performance
@ 2003-12-08 21:11 Jean-Denis Boyer
  2003-12-09  0:02 ` Re[2]: " Ricardo Scop
  2003-12-09  7:35 ` Jaap-Jan Boor
  0 siblings, 2 replies; 3+ messages in thread
From: Jean-Denis Boyer @ 2003-12-08 21:11 UTC (permalink / raw)
  To: Ricardo Scop, Jaap-Jan Boor; +Cc: linuxppc-embedded


Ricardo,
Jaap-Jan,

> > I would expect the bogomips number
> > to be somewhere near the core clock
> > (like 8xx).
>
> Well, I think the numbers are pretty fair, assuming that the
> bogomips number
> reflect a certain amount of external memory accesses at 66
> MHz external bus
> clock.

It has more to do with pipelining!
Hopefully, there ain't any memory access during calibration...
(except, of course, when the instruction cache is disabled!)

I didn't look at the documentation, but the execution of a branch probably occurs later in the pipeline of a 8260 than for the 860. It probably looses one more cycle. The calibration relies on the execution speed of function __delay (arch/ppc/kernel/misc.S), which loops on a branch instruction 'bdnz'.

Fortunately, the number of bogomips will increase linearly with the core clock.
(These are approximations)

For 8260:
 200MHz => 66M bdnz per second => 133BogoMips
 266    => 88M                 => 176
 400    => 133M                => 266

For 860:
 50MHz => 25M bdnz per second => 50BogoMips


Regards,
--------------------------------------------
 Jean-Denis Boyer, Eng.
 M5T Centre d'Excellence en Télécoms Inc.
 4283 Garlock Street
 Sherbrooke (Québec)
 J1L 2C8  CANADA
 (819)829-3972 x241
--------------------------------------------

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

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

end of thread, other threads:[~2003-12-09  7:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-08 21:11 8270 performance Jean-Denis Boyer
2003-12-09  0:02 ` Re[2]: " Ricardo Scop
2003-12-09  7:35 ` Jaap-Jan Boor

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.