* [Xenomai-core] Testing the adeos-ipipe-2.6.13-ppc-1.0-00.patch
@ 2005-10-15 18:52 Wolfgang Grandegger
2005-10-15 19:17 ` Heikki Lindholm
2005-10-15 20:18 ` [Xenomai-core] " Philippe Gerum
0 siblings, 2 replies; 5+ messages in thread
From: Wolfgang Grandegger @ 2005-10-15 18:52 UTC (permalink / raw)
To: Philippe Gerum; +Cc: xenomai
[-- Attachment #1: Type: text/plain, Size: 1429 bytes --]
Hello Philippe,
I got Xenomai working on a Ocotea-Board (AMCC 440GX) and a low-end
TQM855L-Module (MPC 855) under Linux 2.6.14-rc3 :-). The patch applied
with a few hunks and one easy to fix reject and I had to correct two
problems. One with FEW_CONTEXT (see attached patch) and the second with
"#include <asm/offsets.h>" in "xenomai/arch/ppc/hal/switch.S". The
include file does not exist (any more) in the kernel tree and therefore
I commented out the line. I'm going to perform latency tests on various
4xx and 8xx boards next week. Here are some preliminary figures of the
TQM855L-Module (CPU 80 MHz, Bus 40 MHz, 4 kB I-Cache 4 kB D-Cache):
bash-2.05b# ./cruncher -p 500
Calibrating cruncher...3025953, 334, 334, 334, 334, done -- ideal
computation time = 334 us.
1000 samples, 1000 hz freq (pid=338, policy=SCHED_FIFO, prio=99)
--------
Nanosleep jitter: min = 118 us, max = 474 us, avg = 155 us
Execution jitter: min = 32 us (9%), max = 100 us (29%), avg = 47 us (14%)
--------
bash-2.05b# ./switch -p 500
== Sampling period: 500 us
== Do not interrupt this program
RTH| lat min| lat avg| lat max| lost
RTD| 110400| 120200| 206600| 0
bash-2.05b# ./latency -p 500
== Sampling period: 500 us
---|------------|------------|------------|--------|-------------------------
RTS| 70000| 84000| 183200| 0| 00:00:50/00:00:50
Have a nice weekend.
Wolfgang.
[-- Attachment #2: linux-2.6.14-rc3-ipipe-few-contexts.patch --]
[-- Type: text/plain, Size: 516 bytes --]
+ diff -u linux-2.6.14-rc3-g4c234921-ipipe/arch/ppc/kernel/ipipe-root.c.FEW_CONTEXTS linux-2.6.14-rc3-g4c234921-ipipe/arch/ppc/kernel/ipipe-root.c
--- linux-2.6.14-rc3-g4c234921-ipipe/arch/ppc/kernel/ipipe-root.c.FEW_CONTEXTS 2005-10-15 12:03:40.000000000 +0200
+++ linux-2.6.14-rc3-g4c234921-ipipe/arch/ppc/kernel/ipipe-root.c 2005-10-15 13:56:29.000000000 +0200
@@ -35,6 +35,7 @@
#include <asm/atomic.h>
#include <asm/io.h>
#include <asm/time.h>
+#include <asm/mmu_context.h>
extern irq_desc_t irq_desc[];
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Xenomai-core] Testing the adeos-ipipe-2.6.13-ppc-1.0-00.patch
2005-10-15 18:52 [Xenomai-core] Testing the adeos-ipipe-2.6.13-ppc-1.0-00.patch Wolfgang Grandegger
@ 2005-10-15 19:17 ` Heikki Lindholm
2005-10-17 7:47 ` Wolfgang Grandegger
2005-10-15 20:18 ` [Xenomai-core] " Philippe Gerum
1 sibling, 1 reply; 5+ messages in thread
From: Heikki Lindholm @ 2005-10-15 19:17 UTC (permalink / raw)
To: Wolfgang Grandegger; +Cc: xenomai
Wolfgang Grandegger kirjoitti:
> Hello Philippe,
>
> I got Xenomai working on a Ocotea-Board (AMCC 440GX) and a low-end
> TQM855L-Module (MPC 855) under Linux 2.6.14-rc3 :-). The patch applied
> with a few hunks and one easy to fix reject and I had to correct two
> problems. One with FEW_CONTEXT (see attached patch) and the second with
> "#include <asm/offsets.h>" in "xenomai/arch/ppc/hal/switch.S". The
> include file does not exist (any more) in the kernel tree and therefore
> I commented out the line. I'm going to perform latency tests on various
> 4xx and 8xx boards next week. Here are some preliminary figures of the
> TQM855L-Module (CPU 80 MHz, Bus 40 MHz, 4 kB I-Cache 4 kB D-Cache):
If you happen to know some (semi-)comparable figures for the same boards
using some commercial RTOS, it would be nice to know them also, for
comparison.
-- Heikki Lindholm
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Xenomai-core] Re: Testing the adeos-ipipe-2.6.13-ppc-1.0-00.patch
2005-10-15 18:52 [Xenomai-core] Testing the adeos-ipipe-2.6.13-ppc-1.0-00.patch Wolfgang Grandegger
2005-10-15 19:17 ` Heikki Lindholm
@ 2005-10-15 20:18 ` Philippe Gerum
1 sibling, 0 replies; 5+ messages in thread
From: Philippe Gerum @ 2005-10-15 20:18 UTC (permalink / raw)
To: Wolfgang Grandegger; +Cc: xenomai
Wolfgang Grandegger wrote:
> Hello Philippe,
>
> I got Xenomai working on a Ocotea-Board (AMCC 440GX) and a low-end
> TQM855L-Module (MPC 855) under Linux 2.6.14-rc3 :-). The patch applied
> with a few hunks and one easy to fix reject and I had to correct two
> problems. One with FEW_CONTEXT (see attached patch) and the second with
Applied.
> "#include <asm/offsets.h>" in "xenomai/arch/ppc/hal/switch.S". The
> include file does not exist (any more) in the kernel tree and therefore
This was useless anyway, so I've removed it too.
> I commented out the line. I'm going to perform latency tests on various
> 4xx and 8xx boards next week.
This will help a lot, thanks.
Here are some preliminary figures of the
> TQM855L-Module (CPU 80 MHz, Bus 40 MHz, 4 kB I-Cache 4 kB D-Cache):
>
> bash-2.05b# ./cruncher -p 500
> Calibrating cruncher...3025953, 334, 334, 334, 334, done -- ideal
> computation time = 334 us.
> 1000 samples, 1000 hz freq (pid=338, policy=SCHED_FIFO, prio=99)
> --------
> Nanosleep jitter: min = 118 us, max = 474 us, avg = 155 us
> Execution jitter: min = 32 us (9%), max = 100 us (29%), avg = 47 us (14%)
> --------
>
> bash-2.05b# ./switch -p 500
> == Sampling period: 500 us
> == Do not interrupt this program
> RTH| lat min| lat avg| lat max| lost
> RTD| 110400| 120200| 206600| 0
>
Min lat is huge, there's a lot of room for improving the intrinsic latency...
> bash-2.05b# ./latency -p 500
> == Sampling period: 500 us
> ---|------------|------------|------------|--------|-------------------------
> RTS| 70000| 84000| 183200| 0| 00:00:50/00:00:50
>
> Have a nice weekend.
>
You too, thanks.
> Wolfgang.
>
>
> ------------------------------------------------------------------------
>
> + diff -u linux-2.6.14-rc3-g4c234921-ipipe/arch/ppc/kernel/ipipe-root.c.FEW_CONTEXTS linux-2.6.14-rc3-g4c234921-ipipe/arch/ppc/kernel/ipipe-root.c
> --- linux-2.6.14-rc3-g4c234921-ipipe/arch/ppc/kernel/ipipe-root.c.FEW_CONTEXTS 2005-10-15 12:03:40.000000000 +0200
> +++ linux-2.6.14-rc3-g4c234921-ipipe/arch/ppc/kernel/ipipe-root.c 2005-10-15 13:56:29.000000000 +0200
> @@ -35,6 +35,7 @@
> #include <asm/atomic.h>
> #include <asm/io.h>
> #include <asm/time.h>
> +#include <asm/mmu_context.h>
>
> extern irq_desc_t irq_desc[];
>
--
Philippe.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Xenomai-core] Testing the adeos-ipipe-2.6.13-ppc-1.0-00.patch
2005-10-15 19:17 ` Heikki Lindholm
@ 2005-10-17 7:47 ` Wolfgang Grandegger
2005-10-17 8:00 ` Philippe Gerum
0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Grandegger @ 2005-10-17 7:47 UTC (permalink / raw)
To: Heikki Lindholm; +Cc: xenomai
On 10/15/2005 09:17 PM Heikki Lindholm wrote:
> Wolfgang Grandegger kirjoitti:
>> Hello Philippe,
>>
>> I got Xenomai working on a Ocotea-Board (AMCC 440GX) and a low-end
>> TQM855L-Module (MPC 855) under Linux 2.6.14-rc3 :-). The patch applied
>> with a few hunks and one easy to fix reject and I had to correct two
>> problems. One with FEW_CONTEXT (see attached patch) and the second with
>> "#include <asm/offsets.h>" in "xenomai/arch/ppc/hal/switch.S". The
>> include file does not exist (any more) in the kernel tree and therefore
>> I commented out the line. I'm going to perform latency tests on various
>> 4xx and 8xx boards next week. Here are some preliminary figures of the
>> TQM855L-Module (CPU 80 MHz, Bus 40 MHz, 4 kB I-Cache 4 kB D-Cache):
>
> If you happen to know some (semi-)comparable figures for the same boards
> using some commercial RTOS, it would be nice to know them also, for
> comparison.
Well, we only deal with "free" software. But I can compare the result
from the klatency test with the one from RTAI/RTHAL under Linux 2.4, of
course.
Wolfgang.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Xenomai-core] Testing the adeos-ipipe-2.6.13-ppc-1.0-00.patch
2005-10-17 7:47 ` Wolfgang Grandegger
@ 2005-10-17 8:00 ` Philippe Gerum
0 siblings, 0 replies; 5+ messages in thread
From: Philippe Gerum @ 2005-10-17 8:00 UTC (permalink / raw)
To: Wolfgang Grandegger; +Cc: xenomai
Wolfgang Grandegger wrote:
> On 10/15/2005 09:17 PM Heikki Lindholm wrote:
>
>>Wolfgang Grandegger kirjoitti:
>>
>>>Hello Philippe,
>>>
>>>I got Xenomai working on a Ocotea-Board (AMCC 440GX) and a low-end
>>>TQM855L-Module (MPC 855) under Linux 2.6.14-rc3 :-). The patch applied
>>>with a few hunks and one easy to fix reject and I had to correct two
>>>problems. One with FEW_CONTEXT (see attached patch) and the second with
>>>"#include <asm/offsets.h>" in "xenomai/arch/ppc/hal/switch.S". The
>>>include file does not exist (any more) in the kernel tree and therefore
>>>I commented out the line. I'm going to perform latency tests on various
>>>4xx and 8xx boards next week. Here are some preliminary figures of the
>>>TQM855L-Module (CPU 80 MHz, Bus 40 MHz, 4 kB I-Cache 4 kB D-Cache):
>>
>>If you happen to know some (semi-)comparable figures for the same boards
>>using some commercial RTOS, it would be nice to know them also, for
>>comparison.
>
>
> Well, we only deal with "free" software. But I can compare the result
> from the klatency test with the one from RTAI/RTHAL under Linux 2.4, of
> course.
>
This would be a good starting point.
--
Philippe.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2005-10-17 8:00 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-15 18:52 [Xenomai-core] Testing the adeos-ipipe-2.6.13-ppc-1.0-00.patch Wolfgang Grandegger
2005-10-15 19:17 ` Heikki Lindholm
2005-10-17 7:47 ` Wolfgang Grandegger
2005-10-17 8:00 ` Philippe Gerum
2005-10-15 20:18 ` [Xenomai-core] " Philippe Gerum
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.