Hi all, I continue my struggling with xenomai on Tiny6410 board. Kernel version - 2.6.36. Xenomai version is 2.6.0. The problem is actually in very high latencies (see log at the end). In kernel config I disabled all the stuff I'm not planing to use at the moment (touchscreen, video, audio, usb, networking). I also disabled CONFIG_SYS_SUPPORTS_APM_EMULATION.
Xenomai related configs attached. Just in case I made some mistakes in configuring it. Please, help me with the ideas what it could be. Thanks, Alex [root@FriendlyARM /]# cd usr/xenomai/bin/ [root@FriendlyARM bin]# ./latency -t 0 == Sampling period: 1000 us == Test mode: periodic user-mode task == All results in microseconds warming up... RTT| 00:00:01 (periodic user-mode task, 1000 us period, priority 99) RTH|----lat min|----lat avg|----lat max|-overrun|---msw|---lat best|--lat worst RTD| 186.226| 3441.303| 6762.877| 0| 0| 186.226| 6762.877 RTD| 215.098| 3481.814| 6715.779| 0| 0| 186.226| 6762.877 RTD| 240.361| 3451.228| 6654.245| 0| 0| 186.226| 6762.877 RTD| 265.624| 3456.281| 6679.508| 0| 0| 186.226| 6762.877 RTD| 294.497| 3467.108| 6621.583| 0| 0| 186.226| 6762.877 RTD| 319.760| 3460.251| 6632.410| 0| 0| 186.226| 6762.877 RTD| 345.023| 3453.393| 6585.313| 0| 0| 186.226| 6762.877 RTD| 373.895| 3470.175| 6592.531| 0| 0| 186.226| 6762.877 RTD| 399.159| 3463.408| 6545.433| 0| 0| 186.226| 6762.877 RTD| 424.422| 3456.551| 6491.117| 0| 0| 186.226| 6762.877 RTD| 453.294| 3455.559| 6498.335| 0| 0| 186.226| 6762.877 RTD| 478.557| 3454.657| 6454.846| 0| 0| 186.226| 6762.877 RTD| 503.821| 3459.619| 6462.064| 0| 0| 186.226| 6762.877 RTD| 505.535| 3458.626| 6414.966| 0| 0| 186.226| 6762.877 RTD| 516.362| 3457.724| 6405.853| 0| 0| 186.226| 6762.877 RTD| 458.437| 3456.732| 6434.726| 0| 0| 186.226| 6762.877 RTD| 414.948| 3455.829| 6459.989| 0| 0| 186.226| 6762.877 RTD| 422.166| 3454.927| 6488.861| 0| 0| 186.226| 6762.877 RTD| 371.459| 3465.754| 6514.124| 0| 0| 186.226| 6762.877 RTD| 320.752| 3447.078| 6539.388| 0| 0| 186.226| 6762.877 RTD| 327.970| 3452.040| 6568.260| 0| 0| 186.226| 6762.877 RTT| 00:00:22 (periodic user-mode task, 1000 us period, priority 99) RTH|----lat min|----lat avg|----lat max|-overrun|---msw|---lat best|--lat worst RTD| 277.263| 3468.912| 6593.523| 0| 0| 186.226| 6762.877 RTD| 291.700| 3438.326| 6618.786| 0| 0| 186.226| 6762.877 ^C---|-----------|-----------|-----------|--------|------|------------------------- RTS| 186.226| 3457.634| 6762.877| 0| 0| 00:00:23/00:00:23 [root@FriendlyARM bin]# ./latency -t 1 == Sampling period: 1000 us == Test mode: in-kernel periodic task == All results in microseconds warming up... RTT| 00:00:01 (in-kernel periodic task, 1000 us period, priority 99) RTH|----lat min|----lat avg|----lat max|-overrun|---msw|---lat best|--lat worst RTD| 1.480| 501.766| 1015.357| 12| 0| 1.480| 1015.357 RTD| 0.451| 501.820| 1013.913| 24| 0| 0.451| 1015.357 RTD| 1.083| 500.804| 1016.529| 35| 0| 0.451| 1016.529 RTD| 1.119| 498.760| 1017.522| 40| 0| 0.451| 1017.522 RTD| 1.714| 501.697| 1023.928| 52| 0| 0.451| 1023.928 RTD| 0.451| 500.682| 1019.056| 63| 0| 0.451| 1023.928 RTD| 1.209| 500.773| 1014.003| 73| 0| 0.451| 1023.928 RTD| 1.389| 498.794| 1016.620| 79| 0| 0.451| 1023.928 RTD| 2.165| 500.795| 1021.672| 89| 0| 0.451| 1023.928 RTD| 1.804| 502.780| 1021.943| 103| 0| 0.451| 1023.928 RTD| 1.877| 500.677| 1015.627| 113| 0| 0.451| 1023.928 RTD| 1.913| 500.626| 1023.206| 123| 0| 0.451| 1023.928 RTD| 2.147| 499.681| 1021.131| 130| 0| 0.451| 1023.928 RTD| 2.310| 499.657| 1018.334| 138| 0| 0.451| 1023.928 RTD| 1.985| 528.075| 1024.379| 200| 0| 0.451| 1024.379 RTD| 1.606| 501.711| 1021.185| 212| 0| 0.451| 1024.379 RTD| 1.209| 500.779| 1016.258| 222| 0| 0.451| 1024.379 RTD| 1.696| 502.834| 1013.642| 237| 0| 0.451| 1024.379 RTD| 1.750| 501.732| 1023.116| 248| 0| 0.451| 1024.379 RTD| 1.876| 501.743| 1021.401| 260| 0| 0.451| 1024.379 RTD| 0.902| 499.871| 1014.995| 269| 0| 0.451| 1024.379 RTT| 00:00:23 (in-kernel periodic task, 1000 us period, priority 99) RTH|----lat min|----lat avg|----lat max|-overrun|---msw|---lat best|--lat worst RTD| 1.443| 499.834| 1012.469| 277| 0| 0.451| 1024.379 RTD| 1.299| 501.788| 1018.063| 288| 0| 0.451| 1024.379 ^C---|-----------|-----------|-----------|--------|------|------------------------- RTS| 0.451| 502.073| 1024.379| 288| 0| 00:00:25/00:00:25 [root@FriendlyARM bin]# ./latency -t 2 == Sampling period: 1000 us == Test mode: in-kernel timer handler == All results in microseconds warming up... RTT| 00:00:01 (in-kernel timer handler, 1000 us period, priority 99) RTH|----lat min|----lat avg|----lat max|-overrun|---msw|---lat best|--lat worst RTD| -15.934| 490.442| 1000.830| 2| 0| -15.934| 1000.830 RTD| -16.006| 490.552| 1013.461| 4| 0| -16.006| 1013.461 RTD| -15.844| 490.457| 1004.619| 6| 0| -16.006| 1013.461 RTD| -16.151| 490.493| 1002.995| 8| 0| -16.151| 1013.461 RTD| -15.736| 490.448| 1001.822| 9| 0| -16.151| 1013.461 RTD| -16.205| 489.447| 1000.559| 10| 0| -16.205| 1013.461 RTD| -16.025| 491.427| 1011.386| 14| 0| -16.205| 1013.461 RTD| -16.097| 490.469| 1004.348| 15| 0| -16.205| 1013.461 RTD| -15.971| 490.493| 1004.096| 17| 0| -16.205| 1013.461 RTD| -15.952| 489.481| 1006.063| 18| 0| -16.205| 1013.461 RTD| -16.061| 490.486| 1004.439| 19| 0| -16.205| 1013.461 RTD| -16.115| 490.451| 1006.423| 21| 0| -16.205| 1013.461 RTD| -16.115| 491.411| 1003.987| 26| 0| -16.205| 1013.461 RTD| -16.187| 489.493| 999.837| 26| 0| -16.205| 1013.461 RTD| -15.862| 490.445| 1004.890| 28| 0| -16.205| 1013.461 RTD| -16.115| 490.491| 1000.198| 29| 0| -16.205| 1013.461 RTD| -16.205| 491.453| 1008.047| 34| 0| -16.205| 1013.461 RTD| -16.025| 490.457| 1004.799| 36| 0| -16.205| 1013.461 RTD| -16.115| 490.476| 1002.544| 38| 0| -16.205| 1013.461 RTD| -16.115| 490.469| 1002.453| 40| 0| -16.205| 1013.461 RTD| -16.025| 490.447| 1004.980| 42| 0| -16.205| 1013.461 RTT| 00:00:22 (in-kernel timer handler, 1000 us period, priority 99) RTH|----lat min|----lat avg|----lat max|-overrun|---msw|---lat best|--lat worst RTD| -16.187| 490.494| 1002.814| 43| 0| -16.205| 1013.461
xeno
Description: Binary data
_______________________________________________ Xenomai-help mailing list [email protected] https://mail.gna.org/listinfo/xenomai-help
