All of lore.kernel.org
 help / color / mirror / Atom feed
* RE: [Xenomai-core] PATCH: fix ppc64 calibration
@ 2005-10-11 15:11 Fillod Stephane
  2005-10-11 15:20 ` Heikki Lindholm
                   ` (2 more replies)
  0 siblings, 3 replies; 18+ messages in thread
From: Fillod Stephane @ 2005-10-11 15:11 UTC (permalink / raw)
  To: xenomai

Heikki Lindholm wrote:
[..]
> Probably, but there are less than awesome 4xx boards around and I'd 
> guess they might even be more likely targets than G4 based machines,
for 
> example. Some tuning might be needed.

How many people are using Xenomai (or Fusion) on 4xx ?
What are their typical sched latency ?

-- 
Stephane



^ permalink raw reply	[flat|nested] 18+ messages in thread
* RE: [Xenomai-core] PATCH: fix ppc64 calibration
@ 2005-10-12 13:16 Fillod Stephane
  2005-10-12 13:28 ` Wolfgang Grandegger
  0 siblings, 1 reply; 18+ messages in thread
From: Fillod Stephane @ 2005-10-12 13:16 UTC (permalink / raw)
  To: Wolfgang Grandegger; +Cc: xenomai

Wolfgang Grandegger wrote:
>On 10/11/2005 05:11 PM Fillod Stephane wrote:
>> Heikki Lindholm wrote:
>> [..]
>>> Probably, but there are less than awesome 4xx boards around and I'd 
>>> guess they might even be more likely targets than G4 based machines,
>> for 
>>> example. Some tuning might be needed.
>> 
>> How many people are using Xenomai (or Fusion) on 4xx ?
>> What are their typical sched latency ?
>
>Attached is the result of some latency measurements on the Ocotea eval
>board. The AMCC 440 GX is already a fast 4xx processor. Unfortunately,
>the linuxppc-2.6.10rc3 does not run on our Ebony board. Nevertheless,
>it's difficult to provide a resonable default value. Why not simply
>using 0 and it's then up to the user to provide an appropriate value
>at configuration time?

If it helps, know there's 2.6.10 and 2.6.11 (CONFIG_PREEMPT disabled 
though) ADEOS patches available for ppc.

My latency measurements for Freescale e500 are here:
 https://mail.gna.org/public/rtai-dev/2005-02/msg00045.html

It looks like an ADEOS/I-Pipe patch for current Linux kernels is much 
expected.

The default calibration value may be set according to L1_CACHE_BYTES.
Of course I'm fine with a default value set to 0, which is closer to my 
end of the spectrum :-)

-- 
Stephane



^ permalink raw reply	[flat|nested] 18+ messages in thread
* RE: [Xenomai-core] PATCH: fix ppc64 calibration
@ 2005-10-11 14:36 Fillod Stephane
  2005-10-11 14:55 ` Heikki Lindholm
  0 siblings, 1 reply; 18+ messages in thread
From: Fillod Stephane @ 2005-10-11 14:36 UTC (permalink / raw)
  To: xenomai

Heikki Lindholm wrote:
> The old calibration value was from some ancient ppc32 embedded board,
I 
> guess. This reflects the awesome power of them ppc64 boxen better :)

Actually, the ppc32 calibration value was from some ancient x86 machine,
I 
guess. The same patch could be applied to asm-ppc/calibration.h. This 
reflects the awesome power of them ppc32 boxen better :)

-- 
Stephane



^ permalink raw reply	[flat|nested] 18+ messages in thread
* [Xenomai-core] PATCH: fix ppc64 calibration
@ 2005-10-11 14:30 Heikki Lindholm
  0 siblings, 0 replies; 18+ messages in thread
From: Heikki Lindholm @ 2005-10-11 14:30 UTC (permalink / raw)
  To: xenomai

[-- Attachment #1: Type: text/plain, Size: 162 bytes --]

The old calibration value was from some ancient ppc32 embedded board, I 
guess. This reflects the awesome power of them ppc64 boxen better :)

-- Heikki Lindholm

[-- Attachment #2: xenomai-ppc64-calibration.patch --]
[-- Type: text/plain, Size: 479 bytes --]

diff -Nru xenomai/include/nucleus/asm-ppc64/calibration.h xenomai-dev/include/nucleus/asm-ppc64/calibration.h
--- xenomai/include/nucleus/asm-ppc64/calibration.h	2005-10-11 10:30:03.000000000 +0300
+++ xenomai-dev/include/nucleus/asm-ppc64/calibration.h	2005-10-11 17:10:11.000000000 +0300
@@ -32,7 +32,7 @@
 #define __sched_latency CONFIG_XENO_HW_SCHED_LATENCY
 #else
 
-#define __sched_latency 18500
+#define __sched_latency 1000
 
 #endif /* CONFIG_XENO_HW_SCHED_LATENCY */
 

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

end of thread, other threads:[~2005-10-13 12:25 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-11 15:11 [Xenomai-core] PATCH: fix ppc64 calibration Fillod Stephane
2005-10-11 15:20 ` Heikki Lindholm
2005-10-11 19:29 ` Wolfgang Grandegger
2005-10-12 12:13 ` Wolfgang Grandegger
2005-10-12 12:51   ` Heikki Lindholm
2005-10-12 13:18     ` Wolfgang Grandegger
2005-10-12 14:17       ` Heikki Lindholm
2005-10-12 14:39       ` [Xenomai-core] 2.4 vs 2.6 in embedded space Philippe Gerum
2005-10-12 15:00         ` Wolfgang Denk
2005-10-13  8:37         ` [Xenomai-core] " Wolfgang Grandegger
2005-10-13  9:11           ` Philippe Gerum
2005-10-13 10:05             ` Wolfgang Grandegger
2005-10-13 12:25               ` Philippe Gerum
  -- strict thread matches above, loose matches on Subject: below --
2005-10-12 13:16 [Xenomai-core] PATCH: fix ppc64 calibration Fillod Stephane
2005-10-12 13:28 ` Wolfgang Grandegger
2005-10-11 14:36 Fillod Stephane
2005-10-11 14:55 ` Heikki Lindholm
2005-10-11 14:30 Heikki Lindholm

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.