Xenomai latency tests on various PowerPC boards
Hallo,
attached you will find the results of Xemonai latency measurements on various embedded PowerPC boards using MPC 8xx and AMCC 4xx processors, from low to high end covering a worst case latency range from 25 to 225 us. It also includes a comparison with RTAI 3.0r5 on the slowest CPU. Here are some remarks and comments:
- On low-end processor code size matters a lot and it's difficult to beat RTAI/RTHAL.
- Apart from the CPU power, big caches and a fast memory interface improves latencies.
- L2 cache improves latencies a lot (compare Ocotea with Yosemite).
- I'm a bit puzzled about the results of the "cruncher" test. Could someone explain the output, please?
- Stability seems already quite good. At least I did not observe any crash yet :-).
The PowerPC port of Xenomai is already in good shape. That's great!
Wolfgang.
Latency tests with Xenomai on various PowerPC boards
----------------------------------------------------
Board : Processor CPU-Clk Bus-Clk I-Cache D-Cache Memory Remarks
TQM860L : MPC 860 50 MHz 50 MHz 4 KB 4 kB 16 MB
TQM866M : MPC 866 133 MHz 66 MHz 16 KB 8 kB 128 MB
Walnut : AMCC 405GP 200 MHz 100 MHz 16 KB 8 kB 32 MB
Yosemite: AMCC 440EP 533 MHz 133 MHz 32 KB 32 KB 256 MB DDR-RAM, FPU
Ocotea : AMCC 440GX 533 MHz 152 MHz 32 KB 32 KB 256 MB DDR-RAM, L2 256 KB
Linux : DENX linux-2.6.14-rc3-g4c234921
iPipe : 1.0-00
Xenomai: SVN 2005-10-15
CRUNCER without load:
| Ideal computation time TQM860L | 368 us ??? TQM866L | 10008 us Walnut | 10150 us Yosemite | 9911 us Ocotea | 9479 us
SWITCH without load:
| lat min| lat avg| lat max| lost TQM860L | 103360| 107840| 209280| 0 TQM866L | 25745| 31880| 51369| 5 Walnut | 24620| 25965| 32280| 1 Yosemite | 5626| 5655| 17403| 0 Ocotea | 5158| 5169| 10038| 0
KLATENCY with load:
|-----lat min|-----lat avg|-----lat max|-overrun|---test-time TQM860L | 50560| 98976| 199040| 0| 00:09:45 TQM866L | 13835| 28571| 74348| 0| 00:11:44 Walnut | 16195| 25062| 45755| 0| 00:10:09 Yosemite | 3106| 9697| 36832| 0| 00:09:55 Ocotea | 3575| 7438| 24474| 0| 00:10:50
LATENCY with load:
|-----lat min|-----lat avg|-----lat max|-overrun|---test-time TQM860L | 60480| 120960| 224320| 0| 00:09:46 TQM866L | 15759| 34286| 78799| 0| 00:11:14 Walnut | 21070| 31650| 64500| 0| 00:09:58 Yosemite | 3808| 12163| 47898| 0| 00:10:00 Ocotea | 3575| 7438| 24474| 0| 00:10:50
KLATENCY comparison Xenomai 2.0 vs. RTAI/RTHAL 3.0r5 on TQM860L:
---------------------------------------------------------------
KLATENCY with load:
|-----lat min|-----lat avg|-----lat max|-overrun|---test-time Xenomai 2.0 | 50560| 98976| 199040| 0| 00:09:45 RTAI 3.0r5 | 23120| 31838| 70520| ?| 00:12:26
Note: load has been put onto the system by running in a telnet session
"ping -f <remote-host-ip>" and "while ls; do ls; done".
Note: all test have been run with CONFIG_XENO_HW_TIMER_LATENCY="1" and
CONFIG_XENO_HW_SCHED_LATENCY="1" to get correct latancy values. RTAI figures have been corrected manually.
Quoted 11 lines · Wolfgang Grandegger
Hallo,
attached you will find the results of Xemonai latency measurements on various embedded PowerPC boards using MPC 8xx and AMCC 4xx processors, from low to high end covering a worst case latency range from 25 to 225 us. It also includes a comparison with RTAI 3.0r5 on the slowest CPU. Here are some remarks and comments:
- On low-end processor code size matters a lot and it's difficult to beat RTAI/RTHAL.
Beat no, get closer, yes, probably. The good news is that looking at the figures, we do have a margin of improvement! :o>
Btw, the nucleus can be configured so that the user-space threading engine is compiled out (i.e. CONFIG_XENO_OPT_PERVASIVE from the nucleus menu), which would be the corresponding profile to compare with klatency (i.e. sched_up). Disabling this option reduces the code size for the nucleus from:
text data bss dec hex filename
66740 792 6540 74072 12158 nucleus/xeno_nucleus.ko
to:
text data bss dec hex filename 52596 576 3956 57128 df28 nucleus/xeno_nucleus.ko
Still a bit fat though.
Quoted 8 lines
- Apart from the CPU power, big caches and a fast memory interface improves latencies.
- L2 cache improves latencies a lot (compare Ocotea with Yosemite).
- I'm a bit puzzled about the results of the "cruncher" test. Could someone explain the output, please?
This test is reminiscent of the HYADES project (ia64 port of RTAI/fusion), where we wanted to illustrate the level of execution determinism one could achieve using the interrupt shield technique on large ia64 SMP systems. To this end, we measured the jitter in execution time of a calibrated float-crunching loop, with and without interrupt load. This test is likely going to disappear at some point in time, because it's not that informative in Xeno's context.
Quoted 3 lines
- Stability seems already quite good. At least I did not observe any crash yet :-).
That's cool. I see no other way to properly improve performances than first having something which could be run on various platforms without them randomly jumping out of the window, or us relying on plain Voodoo stuff to explain why those setup would work or not.
Quoted 2 lines
The PowerPC port of Xenomai is already in good shape. That's great!
Thanks. This is likely because I do feel better since I have been aware that there's life beyond x86. :o)
Quoted 92 lines
Wolfgang.
------------------------------------------------------------------------
Latency tests with Xenomai on various PowerPC boards
----------------------------------------------------Board : Processor CPU-Clk Bus-Clk I-Cache D-Cache Memory Remarks
TQM860L : MPC 860 50 MHz 50 MHz 4 KB 4 kB 16 MB
TQM866M : MPC 866 133 MHz 66 MHz 16 KB 8 kB 128 MBWalnut : AMCC 405GP 200 MHz 100 MHz 16 KB 8 kB 32 MB
Yosemite: AMCC 440EP 533 MHz 133 MHz 32 KB 32 KB 256 MB DDR-RAM, FPU
Ocotea : AMCC 440GX 533 MHz 152 MHz 32 KB 32 KB 256 MB DDR-RAM, L2 256 KBLinux : DENX linux-2.6.14-rc3-g4c234921
iPipe : 1.0-00
Xenomai: SVN 2005-10-15CRUNCER without load:
| Ideal computation time TQM860L | 368 us ??? TQM866L | 10008 us Walnut | 10150 us Yosemite | 9911 us Ocotea | 9479 usSWITCH without load:
| lat min| lat avg| lat max| lost TQM860L | 103360| 107840| 209280| 0 TQM866L | 25745| 31880| 51369| 5 Walnut | 24620| 25965| 32280| 1 Yosemite | 5626| 5655| 17403| 0 Ocotea | 5158| 5169| 10038| 0KLATENCY with load:
|-----lat min|-----lat avg|-----lat max|-overrun|---test-time TQM860L | 50560| 98976| 199040| 0| 00:09:45 TQM866L | 13835| 28571| 74348| 0| 00:11:44 Walnut | 16195| 25062| 45755| 0| 00:10:09 Yosemite | 3106| 9697| 36832| 0| 00:09:55 Ocotea | 3575| 7438| 24474| 0| 00:10:50LATENCY with load:
|-----lat min|-----lat avg|-----lat max|-overrun|---test-time TQM860L | 60480| 120960| 224320| 0| 00:09:46 TQM866L | 15759| 34286| 78799| 0| 00:11:14 Walnut | 21070| 31650| 64500| 0| 00:09:58 Yosemite | 3808| 12163| 47898| 0| 00:10:00 Ocotea | 3575| 7438| 24474| 0| 00:10:50KLATENCY comparison Xenomai 2.0 vs. RTAI/RTHAL 3.0r5 on TQM860L:
---------------------------------------------------------------KLATENCY with load:
|-----lat min|-----lat avg|-----lat max|-overrun|---test-time Xenomai 2.0 | 50560| 98976| 199040| 0| 00:09:45 RTAI 3.0r5 | 23120| 31838| 70520| ?| 00:12:26Note: load has been put onto the system by running in a telnet session
"ping -f <remote-host-ip>" and "while ls; do ls; done".Note: all test have been run with
CONFIG_XENO_HW_TIMER_LATENCY="1" and
CONFIG_XENO_HW_SCHED_LATENCY="1" to get correct latancy values. RTAI figures have been corrected manually.------------------------------------------------------------------------
_______________________________________________
Xenomai-core mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-core
Signature · 1 line
Philippe.
Quoted 22 lines · Philippe Gerum
Quoted 11 lines · Wolfgang Grandegger
Hallo,
attached you will find the results of Xemonai latency measurements on various embedded PowerPC boards using MPC 8xx and AMCC 4xx processors, from low to high end covering a worst case latency range from 25 to 225 us. It also includes a comparison with RTAI 3.0r5 on the slowest CPU. Here are some remarks and comments:
- On low-end processor code size matters a lot and it's difficult to beat RTAI/RTHAL.
Beat no, get closer, yes, probably. The good news is that looking at the figures, we do have a margin of improvement! :o>
Btw, the nucleus can be configured so that the user-space threading engine is compiled out (i.e.
CONFIG_XENO_OPT_PERVASIVEfrom the nucleus menu), which would be the corresponding profile to compare with klatency (i.e.sched_up). Disabling this option reduces the code size for the nucleus from:text data bss dec hex filename
66740 792 6540 74072 12158nucleus/xeno_nucleus.ko
Quoted 6 lines
to:
text data bss dec hex filename 52596 576 3956 57128 df28
nucleus/xeno_nucleus.ko
Disabling the periodic timer support which is unused for the klatency test brings this down to:
text data bss dec hex filename
51040 544 3956 55540 d8f4 nucleus/xeno_nucleus.ko
Quoted 118 lines
Still a bit fat though.
Quoted 8 lines
- Apart from the CPU power, big caches and a fast memory interface improves latencies.
- L2 cache improves latencies a lot (compare Ocotea with Yosemite).
- I'm a bit puzzled about the results of the "cruncher" test. Could someone explain the output, please?
This test is reminiscent of the HYADES project (ia64 port of RTAI/fusion), where we wanted to illustrate the level of execution determinism one could achieve using the interrupt shield technique on large ia64 SMP systems. To this end, we measured the jitter in execution time of a calibrated float-crunching loop, with and without interrupt load. This test is likely going to disappear at some point in time, because it's not that informative in Xeno's context.
Quoted 3 lines
- Stability seems already quite good. At least I did not observe any crash yet :-).
That's cool. I see no other way to properly improve performances than first having something which could be run on various platforms without them randomly jumping out of the window, or us relying on plain Voodoo stuff to explain why those setup would work or not.
Quoted 2 lines
The PowerPC port of Xenomai is already in good shape. That's great!
Thanks. This is likely because I do feel better since I have been aware that there's life beyond x86. :o)
Quoted 91 lines
Wolfgang.
------------------------------------------------------------------------
Latency tests with Xenomai on various PowerPC boards
----------------------------------------------------Board : Processor CPU-Clk Bus-Clk I-Cache D-Cache Memory Remarks
TQM860L : MPC 860 50 MHz 50 MHz 4 KB 4 kB 16 MB
TQM866M : MPC 866 133 MHz 66 MHz 16 KB 8 kB 128 MBWalnut : AMCC 405GP 200 MHz 100 MHz 16 KB 8 kB 32 MB
Yosemite: AMCC 440EP 533 MHz 133 MHz 32 KB 32 KB 256 MB DDR-RAM, FPU
Ocotea : AMCC 440GX 533 MHz 152 MHz 32 KB 32 KB 256 MB DDR-RAM, L2 256 KBLinux : DENX linux-2.6.14-rc3-g4c234921
iPipe : 1.0-00
Xenomai: SVN 2005-10-15CRUNCER without load:
| Ideal computation time TQM860L | 368 us ??? TQM866L | 10008 us Walnut | 10150 us Yosemite | 9911 us Ocotea | 9479 usSWITCH without load:
| lat min| lat avg| lat max| lost TQM860L | 103360| 107840| 209280| 0 TQM866L | 25745| 31880| 51369| 5 Walnut | 24620| 25965| 32280| 1 Yosemite | 5626| 5655| 17403| 0 Ocotea | 5158| 5169| 10038| 0KLATENCY with load:
|-----lat min|-----lat avg|-----lat max|-overrun|---test-time TQM860L | 50560| 98976| 199040| 0| 00:09:45 TQM866L | 13835| 28571| 74348| 0| 00:11:44 Walnut | 16195| 25062| 45755| 0| 00:10:09 Yosemite | 3106| 9697| 36832| 0| 00:09:55 Ocotea | 3575| 7438| 24474| 0| 00:10:50LATENCY with load:
|-----lat min|-----lat avg|-----lat max|-overrun|---test-time TQM860L | 60480| 120960| 224320| 0| 00:09:46 TQM866L | 15759| 34286| 78799| 0| 00:11:14 Walnut | 21070| 31650| 64500| 0| 00:09:58 Yosemite | 3808| 12163| 47898| 0| 00:10:00 Ocotea | 3575| 7438| 24474| 0| 00:10:50KLATENCY comparison Xenomai 2.0 vs. RTAI/RTHAL 3.0r5 on TQM860L:
---------------------------------------------------------------KLATENCY with load:
|-----lat min|-----lat avg|-----lat max|-overrun|---test-time Xenomai 2.0 | 50560| 98976| 199040| 0| 00:09:45 RTAI 3.0r5 | 23120| 31838| 70520| ?| 00:12:26Note: load has been put onto the system by running in a telnet session
"ping -f <remote-host-ip>" and "while ls; do ls; done".Note: all test have been run with
CONFIG_XENO_HW_TIMER_LATENCY="1" and
CONFIG_XENO_HW_SCHED_LATENCY="1" to get correct latancy values. RTAI figures have been corrected manually.------------------------------------------------------------------------
_______________________________________________
Xenomai-core mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-core
Signature · 1 line
Philippe.
Quoted 35 lines · Philippe Gerum
Quoted 27 lines · Philippe Gerum
Quoted 11 lines · Wolfgang Grandegger
Hallo,
attached you will find the results of Xemonai latency measurements on various embedded PowerPC boards using MPC 8xx and AMCC 4xx processors, from low to high end covering a worst case latency range from 25 to 225 us. It also includes a comparison with RTAI 3.0r5 on the slowest CPU. Here are some remarks and comments:
- On low-end processor code size matters a lot and it's difficult to beat RTAI/RTHAL.
Beat no, get closer, yes, probably. The good news is that looking at the figures, we do have a margin of improvement! :o>
Btw, the nucleus can be configured so that the user-space threading engine is compiled out (i.e.
CONFIG_XENO_OPT_PERVASIVEfrom the nucleus menu), which would be the corresponding profile to compare with klatency (i.e.sched_up). Disabling this option reduces the code size for the nucleus from:text data bss dec hex filename
66740 792 6540 74072 12158nucleus/xeno_nucleus.koQuoted 6 lines
to:
text data bss dec hex filename 52596 576 3956 57128 df28
nucleus/xeno_nucleus.ko
Quoted 5 lines
Disabling the periodic timer support which is unused for the klatency test brings this down to:
text data bss dec hex filename
51040 544 3956 55540 d8f4nucleus/xeno_nucleus.ko
OK, here are the new figures with (*)
CONFIG_XENO_OPT_PERVASIVE is not set
CONFIG_XENO_HW_PERIODIC_TIMER is not set:
|-----lat min|-----lat avg|-----lat max|-overrun|---test-time RTAI 3.0r5 | 23120| 31838| 70520| ?| 00:12:26 Xenomai | 50560| 98976| 199040| 0| 00:09:45 Xenomai (*)| 44160| 96215| 200640| 0| 00:09:53
The min latency decreases as expected.
Quoted 132 lines
Quoted 130 lines
Still a bit fat though.
Quoted 8 lines
- Apart from the CPU power, big caches and a fast memory interface improves latencies.
- L2 cache improves latencies a lot (compare Ocotea with Yosemite).
- I'm a bit puzzled about the results of the "cruncher" test. Could someone explain the output, please?
This test is reminiscent of the HYADES project (ia64 port of RTAI/fusion), where we wanted to illustrate the level of execution determinism one could achieve using the interrupt shield technique on large ia64 SMP systems. To this end, we measured the jitter in execution time of a calibrated float-crunching loop, with and without interrupt load. This test is likely going to disappear at some point in time, because it's not that informative in Xeno's context.
Quoted 3 lines
- Stability seems already quite good. At least I did not observe any crash yet :-).
That's cool. I see no other way to properly improve performances than first having something which could be run on various platforms without them randomly jumping out of the window, or us relying on plain Voodoo stuff to explain why those setup would work or not.
Quoted 2 lines
The PowerPC port of Xenomai is already in good shape. That's great!
Thanks. This is likely because I do feel better since I have been aware that there's life beyond x86. :o)
Quoted 92 lines
Wolfgang.
------------------------------------------------------------------------
Latency tests with Xenomai on various PowerPC boards
----------------------------------------------------Board : Processor CPU-Clk Bus-Clk I-Cache D-Cache Memory Remarks
TQM860L : MPC 860 50 MHz 50 MHz 4 KB 4 kB 16 MB
TQM866M : MPC 866 133 MHz 66 MHz 16 KB 8 kB 128 MBWalnut : AMCC 405GP 200 MHz 100 MHz 16 KB 8 kB 32 MB
Yosemite: AMCC 440EP 533 MHz 133 MHz 32 KB 32 KB 256 MB DDR-RAM, FPU
Ocotea : AMCC 440GX 533 MHz 152 MHz 32 KB 32 KB 256 MB DDR-RAM,
L2 256 KBLinux : DENX linux-2.6.14-rc3-g4c234921
iPipe : 1.0-00
Xenomai: SVN 2005-10-15CRUNCER without load:
| Ideal computation time TQM860L | 368 us ??? TQM866L | 10008 us Walnut | 10150 us Yosemite | 9911 us Ocotea | 9479 usSWITCH without load:
| lat min| lat avg| lat max| lost TQM860L | 103360| 107840| 209280| 0 TQM866L | 25745| 31880| 51369| 5 Walnut | 24620| 25965| 32280| 1 Yosemite | 5626| 5655| 17403| 0 Ocotea | 5158| 5169| 10038| 0KLATENCY with load:
|-----lat min|-----lat avg|-----lat max|-overrun|---test-time TQM860L | 50560| 98976| 199040| 0| 00:09:45 TQM866L | 13835| 28571| 74348| 0| 00:11:44 Walnut | 16195| 25062| 45755| 0| 00:10:09 Yosemite | 3106| 9697| 36832| 0| 00:09:55 Ocotea | 3575| 7438| 24474| 0| 00:10:50LATENCY with load:
|-----lat min|-----lat avg|-----lat max|-overrun|---test-time TQM860L | 60480| 120960| 224320| 0| 00:09:46 TQM866L | 15759| 34286| 78799| 0| 00:11:14 Walnut | 21070| 31650| 64500| 0| 00:09:58 Yosemite | 3808| 12163| 47898| 0| 00:10:00 Ocotea | 3575| 7438| 24474| 0| 00:10:50KLATENCY comparison Xenomai 2.0 vs. RTAI/RTHAL 3.0r5 on TQM860L:
---------------------------------------------------------------KLATENCY with load:
|-----lat min|-----lat avg|-----lat max|-overrun|---test-time Xenomai 2.0 | 50560| 98976| 199040| 0| 00:09:45 RTAI 3.0r5 | 23120| 31838| 70520| ?| 00:12:26Note: load has been put onto the system by running in a telnet session
"ping -f <remote-host-ip>" and "while ls; do ls; done".Note: all test have been run with
CONFIG_XENO_HW_TIMER_LATENCY="1" and
CONFIG_XENO_HW_SCHED_LATENCY="1" to get correct latancy values. RTAI figures have been corrected manually.------------------------------------------------------------------------
_______________________________________________
Xenomai-core mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-core
Quoted 45 lines · Wolfgang Grandegger
Quoted 32 lines · Philippe Gerum
Quoted 23 lines · Philippe Gerum
Quoted 11 lines · Wolfgang Grandegger
Hallo,
attached you will find the results of Xemonai latency measurements on various embedded PowerPC boards using MPC 8xx and AMCC 4xx processors, from low to high end covering a worst case latency range from 25 to 225 us. It also includes a comparison with RTAI 3.0r5 on the slowest CPU. Here are some remarks and comments:
- On low-end processor code size matters a lot and it's difficult to beat RTAI/RTHAL.
Beat no, get closer, yes, probably. The good news is that looking at the figures, we do have a margin of improvement! :o>
Btw, the nucleus can be configured so that the user-space threading engine is compiled out (i.e.
CONFIG_XENO_OPT_PERVASIVEfrom the nucleus menu), which would be the corresponding profile to compare with klatency (i.e.sched_up). Disabling this option reduces the code size for the nucleus from:text data bss dec hex filename
66740 792 6540 74072 12158nucleus/xeno_nucleus.koQuoted 6 lines
to:
text data bss dec hex filename 52596 576 3956 57128 df28
nucleus/xeno_nucleus.koQuoted 4 lines
Disabling the periodic timer support which is unused for the klatency test brings this down to:
text data bss dec hex filename
51040 544 3956 55540 d8f4nucleus/xeno_nucleus.koOK, here are the new figures with (*)
CONFIG_XENO_OPT_PERVASIVEis not set
CONFIG_XENO_HW_PERIODIC_TIMERis not set:
Quoted 7 lines
|-----lat min|-----lat avg|-----lat max|-overrun|---test-time RTAI 3.0r5 | 23120| 31838| 70520| ?| 00:12:26 Xenomai | 50560| 98976| 199040| 0| 00:09:45 Xenomai (*)| 44160| 96215| 200640| 0| 00:09:53The min latency decreases as expected.
Looks like significant. I wonder now what's the impact of having 2.6 trashing the caches during the sleep periods compared to 2.4. But to have an answer here, we will need Xeno running over 2.4. Ok, it's planned.
Quoted 126 lines
Quoted 124 lines
Quoted 123 lines
Still a bit fat though.
Quoted 8 lines
- Apart from the CPU power, big caches and a fast memory interface improves latencies.
- L2 cache improves latencies a lot (compare Ocotea with Yosemite).
- I'm a bit puzzled about the results of the "cruncher" test. Could someone explain the output, please?
This test is reminiscent of the HYADES project (ia64 port of RTAI/fusion), where we wanted to illustrate the level of execution determinism one could achieve using the interrupt shield technique on large ia64 SMP systems. To this end, we measured the jitter in execution time of a calibrated float-crunching loop, with and without interrupt load. This test is likely going to disappear at some point in time, because it's not that informative in Xeno's context.
Quoted 3 lines
- Stability seems already quite good. At least I did not observe any crash yet :-).
That's cool. I see no other way to properly improve performances than first having something which could be run on various platforms without them randomly jumping out of the window, or us relying on plain Voodoo stuff to explain why those setup would work or not.
Quoted 2 lines
The PowerPC port of Xenomai is already in good shape. That's great!
Thanks. This is likely because I do feel better since I have been aware that there's life beyond x86. :o)
Quoted 91 lines
Wolfgang.
------------------------------------------------------------------------
Latency tests with Xenomai on various PowerPC boards
----------------------------------------------------Board : Processor CPU-Clk Bus-Clk I-Cache D-Cache Memory Remarks
TQM860L : MPC 860 50 MHz 50 MHz 4 KB 4 kB 16 MB
TQM866M : MPC 866 133 MHz 66 MHz 16 KB 8 kB 128 MBWalnut : AMCC 405GP 200 MHz 100 MHz 16 KB 8 kB 32 MB
Yosemite: AMCC 440EP 533 MHz 133 MHz 32 KB 32 KB 256 MB DDR-RAM, FPU
Ocotea : AMCC 440GX 533 MHz 152 MHz 32 KB 32 KB 256 MB DDR-RAM, L2 256 KBLinux : DENX linux-2.6.14-rc3-g4c234921
iPipe : 1.0-00
Xenomai: SVN 2005-10-15CRUNCER without load:
| Ideal computation time
TQM860L | 368 us ??? TQM866L | 10008 us Walnut | 10150 us Yosemite | 9911 us Ocotea | 9479 usSWITCH without load:
| lat min| lat avg| lat max| lost TQM860L | 103360| 107840| 209280| 0 TQM866L | 25745| 31880| 51369| 5 Walnut | 24620| 25965| 32280| 1 Yosemite | 5626| 5655| 17403| 0 Ocotea | 5158| 5169| 10038| 0KLATENCY with load:
|-----lat min|-----lat avg|-----lat max|-overrun|---test-time TQM860L | 50560| 98976| 199040| 0| 00:09:45 TQM866L | 13835| 28571| 74348| 0| 00:11:44 Walnut | 16195| 25062| 45755| 0| 00:10:09 Yosemite | 3106| 9697| 36832| 0| 00:09:55 Ocotea | 3575| 7438| 24474| 0| 00:10:50LATENCY with load:
|-----lat min|-----lat avg|-----lat max|-overrun|---test-time TQM860L | 60480| 120960| 224320| 0| 00:09:46 TQM866L | 15759| 34286| 78799| 0| 00:11:14 Walnut | 21070| 31650| 64500| 0| 00:09:58 Yosemite | 3808| 12163| 47898| 0| 00:10:00 Ocotea | 3575| 7438| 24474| 0| 00:10:50KLATENCY comparison Xenomai 2.0 vs. RTAI/RTHAL 3.0r5 on TQM860L:
---------------------------------------------------------------KLATENCY with load:
|-----lat min|-----lat avg|-----lat max|-overrun|---test-time Xenomai 2.0 | 50560| 98976| 199040| 0| 00:09:45 RTAI 3.0r5 | 23120| 31838| 70520| ?| 00:12:26Note: load has been put onto the system by running in a telnet session
"ping -f <remote-host-ip>" and "while ls; do ls; done".Note: all test have been run with
CONFIG_XENO_HW_TIMER_LATENCY="1" and
CONFIG_XENO_HW_SCHED_LATENCY="1" to get correct latancy values. RTAI figures have been corrected manually.------------------------------------------------------------------------
_______________________________________________
Xenomai-core mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-core
Signature · 1 line
Philippe.
Quoted 45 lines · Wolfgang Grandegger
Quoted 32 lines · Philippe Gerum
Quoted 23 lines · Philippe Gerum
Quoted 11 lines · Wolfgang Grandegger
Hallo,
attached you will find the results of Xemonai latency measurements on various embedded PowerPC boards using MPC 8xx and AMCC 4xx processors, from low to high end covering a worst case latency range from 25 to 225 us. It also includes a comparison with RTAI 3.0r5 on the slowest CPU. Here are some remarks and comments:
- On low-end processor code size matters a lot and it's difficult to beat RTAI/RTHAL.
Beat no, get closer, yes, probably. The good news is that looking at the figures, we do have a margin of improvement! :o>
Btw, the nucleus can be configured so that the user-space threading engine is compiled out (i.e.
CONFIG_XENO_OPT_PERVASIVEfrom the nucleus menu), which would be the corresponding profile to compare with klatency (i.e.sched_up). Disabling this option reduces the code size for the nucleus from:text data bss dec hex filename
66740 792 6540 74072 12158nucleus/xeno_nucleus.koQuoted 6 lines
to:
text data bss dec hex filename 52596 576 3956 57128 df28
nucleus/xeno_nucleus.koQuoted 4 lines
Disabling the periodic timer support which is unused for the klatency test brings this down to:
text data bss dec hex filename
51040 544 3956 55540 d8f4nucleus/xeno_nucleus.koOK, here are the new figures with (*)
CONFIG_XENO_OPT_PERVASIVEis not set
CONFIG_XENO_HW_PERIODIC_TIMERis not set:
Quoted 7 lines
|-----lat min|-----lat avg|-----lat max|-overrun|---test-time RTAI 3.0r5 | 23120| 31838| 70520| ?| 00:12:26 Xenomai | 50560| 98976| 199040| 0| 00:09:45 Xenomai (*)| 44160| 96215| 200640| 0| 00:09:53The min latency decreases as expected.
I just discovered that -00 did not include some recent changes I had in my tree, aimed at prevent high latencies during fork pressure. I've committed -01 which does include them. When time allows, I'd be interested to know if this has some impact on the Ocotea figures. TIA,
Signature · 1 line
Philippe.
Quoted 57 lines · Philippe Gerum
Quoted 56 lines · Wolfgang Grandegger
Quoted 37 lines · Philippe Gerum
Quoted 28 lines · Philippe Gerum
Quoted 11 lines · Wolfgang Grandegger
Hallo,
attached you will find the results of Xemonai latency measurements on various embedded PowerPC boards using MPC 8xx and AMCC 4xx processors, from low to high end covering a worst case latency range from 25 to 225 us. It also includes a comparison with RTAI 3.0r5 on the slowest CPU. Here are some remarks and comments:
- On low-end processor code size matters a lot and it's difficult to beat RTAI/RTHAL.
Beat no, get closer, yes, probably. The good news is that looking at the figures, we do have a margin of improvement! :o>
Btw, the nucleus can be configured so that the user-space threading engine is compiled out (i.e.
CONFIG_XENO_OPT_PERVASIVEfrom the nucleus menu), which would be the corresponding profile to compare with klatency (i.e.sched_up). Disabling this option reduces the code size for the nucleus from:text data bss dec hex filename
66740 792 6540 74072 12158nucleus/xeno_nucleus.koQuoted 6 lines
to:
text data bss dec hex filename 52596 576 3956 57128 df28
nucleus/xeno_nucleus.koQuoted 5 lines
Disabling the periodic timer support which is unused for the klatency test brings this down to:
text data bss dec hex filename
51040 544 3956 55540 d8f4nucleus/xeno_nucleus.koOK, here are the new figures with (*)
CONFIG_XENO_OPT_PERVASIVEis not set
CONFIG_XENO_HW_PERIODIC_TIMERis not set:|-----lat min|-----lat avg|-----lat max|-overrun|---test-time RTAI 3.0r5 | 23120| 31838| 70520| ?| 00:12:26 Xenomai | 50560| 98976| 199040| 0| 00:09:45 Xenomai (*)| 44160| 96215| 200640| 0| 00:09:53
Quoted 7 lines
Quoted 2 lines
The min latency decreases as expected.
I just discovered that -00 did not include some recent changes I had in my tree, aimed at prevent high latencies during fork pressure. I've committed -01 which does include them. When time allows, I'd be interested to know if this has some impact on the Ocotea figures. TIA,
bash-2.05b# cat /proc/ipipe/version
1.0-01
SWITCH without load:
== Sampling period: 100 us
RTH| lat min| lat avg| lat max| lost RTD| 5158| 5169| 10038| 0 iPipe 1.0-00 RTD| 5145| 5154| 10166| 0 iPipe 1.0-01
KLATENCY with load:
RTH|-----lat min|-----lat avg|-----lat max|-overrun|----lat best|---lat worst
RTS| 2953| 5974| 19147| 0| 00:12:05 1.0-00 RTS| 3035| 8705| 20705| 0| 00:09:54 1.0-01
LATENCY with load:
== Sampling period: 100 us
RTH|-----lat min|-----lat avg|-----lat max|-overrun|----lat best|---lat worst
RTS| 3575| 7438| 24474| 0| 00:10:50 1.0-00 RTS| 3553| 10125| 23970| 0| 00:09:41 1.0-01
It has no significant impact, I think.
Wolfgang.
Quoted 80 lines · Wolfgang Grandegger
Quoted 55 lines · Philippe Gerum
Quoted 53 lines · Wolfgang Grandegger
Quoted 30 lines · Philippe Gerum
Quoted 27 lines · Philippe Gerum
Quoted 5 lines · Wolfgang Grandegger
Hallo,
attached you will find the results of Xemonai latency measurements on various embedded PowerPC boards using MPC 8xx and AMCC 4xx processors,
Quoted 8 lines
from low to high end covering a worst case latency range from 25 to 225
us. It also includes a comparison with RTAI 3.0r5 on the slowest CPU. Here are some remarks and comments:
- On low-end processor code size matters a lot and it's difficult to beat RTAI/RTHAL.
Beat no, get closer, yes, probably. The good news is that looking at the figures, we do have a margin of improvement! :o>
Btw, the nucleus can be configured so that the user-space threading engine is compiled out (i.e.
CONFIG_XENO_OPT_PERVASIVEfrom the nucleus menu), which would be the corresponding profile to compare with klatency (i.e.sched_up). Disabling this option reduces the code size for the nucleus from:text data bss dec hex filename
66740 792 6540 74072 12158nucleus/xeno_nucleus.koto:
Quoted 8 lines
Quoted 3 lines
text data bss dec hex filename 52596 576 3956 57128 df28 nucleus/xeno_nucleus.koDisabling the periodic timer support which is unused for the klatency test brings this down to:
text data bss dec hex filename
51040 544 3956 55540 d8f4nucleus/xeno_nucleus.koOK, here are the new figures with (*)
CONFIG_XENO_OPT_PERVASIVEis not setCONFIG_XENO_HW_PERIODIC_TIMERis not set:|-----lat min|-----lat avg|-----lat max|-overrun|---test-time RTAI 3.0r5 | 23120| 31838| 70520| ?| 00:12:26 Xenomai | 50560| 98976| 199040| 0| 00:09:45 Xenomai (*)| 44160| 96215| 200640| 0| 00:09:53Quoted 4 lines
Quoted 2 lines
The min latency decreases as expected.
I just discovered that -00 did not include some recent changes I had in my tree, aimed at prevent high latencies during fork pressure. I've committed -01 which does include them. When time allows, I'd be interested to know if this has some impact on the Ocotea figures. TIA,
bash-2.05b# cat
/proc/ipipe/version
1.0-01SWITCH without load:
== Sampling period: 100 us
RTH| lat min| lat avg| lat max| lost RTD| 5158| 5169| 10038| 0 iPipe 1.0-00 RTD| 5145| 5154| 10166| 0 iPipe 1.0-01KLATENCY with load:
RTH|-----lat min|-----lat avg|-----lat max|-overrun|----lat best|---lat worst
RTS| 2953| 5974| 19147| 0| 00:12:05 1.0-00 RTS| 3035| 8705| 20705| 0| 00:09:54 1.0-01
Quoted 7 lines
LATENCY with load:
== Sampling period: 100 us
RTH|-----lat min|-----lat avg|-----lat max|-overrun|----lat best|---lat worstRTS| 3575| 7438| 24474| 0| 00:10:50 1.0-00 RTS| 3553| 10125| 23970| 0| 00:09:41 1.0-01
Mmm, average even looks worse for both latency tests.
Quoted 2 lines
It has no significant impact, I think.
Ok, thanks. The same fix is worth 10 us on high-end x86 boxen, so I wondered if the same could apply to ppc as well.
Signature · 1 line
Philippe.