Testing the adeos-ipipe-2.6.13-ppc-1.0-00.patch
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.
+ 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
arch/ppc/kernel/ipipe-root.c renamed from arch/ppc/kernel/ipipe-root.c.FEW_CONTEXTS +1 -0
@@ -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[];
Wolfgang Grandegger kirjoitti:
Quoted 11 lines
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
Quoted 13 lines · Heikki Lindholm
Wolfgang Grandegger kirjoitti:
Quoted 11 lines
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):
Quoted 3 lines
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.
Quoted 16 lines · Wolfgang Grandegger
Quoted 14 lines · Heikki Lindholm
Wolfgang Grandegger kirjoitti:
Quoted 11 lines
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):
Quoted 7 lines
Quoted 1 line
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.
Signature · 1 line
Philippe.
Philippe Gerum
AppliedQuoted 6 lines · Wolfgang Grandegger
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.
Quoted 2 lines
"#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.
Quoted 2 lines
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
Quoted 11 lines
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%)
--------
Quoted 6 lines
bash-2.05b# ./switch -p 500
== Sampling period: 500 us
== Do not interrupt this programRTH| 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...
Quoted 7 lines
bash-2.05b# ./latency -p 500
== Sampling period: 500 us---|------------|------------|------------|--------|------------------------- RTS| 70000| 84000| 183200| 0| 00:00:50/00:00:50Have a nice weekend.
You too, thanks.
Quoted 16 lines
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.carch/ppc/kernel/ipipe-root.c renamed from arch/ppc/kernel/ipipe-root.c.FEW_CONTEXTS +1
-0@@ -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[];
Signature · 1 line
Philippe.