From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Wed, 23 Jan 2008 07:52:21 +0100 From: Juan Antonio Garcia Redondo Message-ID: <20080123065221.GB6573@domain.hid> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Subject: [Xenomai-help] AT91SAM9260 latency List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: xenomai@xenomai.org Cc: jagarcia@domain.hid Hi list, These are my latency results over a custom board based on AT91SAM9260. Environment: kernel 2.6.20 + xenomai 2.4.0 Load: dd if=3D/dev/zero of=3D/dev/null plus an external ping -f to stress the ethernet. The results: running: ./run -- -p 500 -T 60 -t0 # latency =3D=3D Sampling period: 500 us =3D=3D Test mode: periodic user-mode task =3D=3D All results in microseconds warming up... RTT| 00:00:01 (periodic user-mode task, 500 us period, priority 99) RTH|-----lat min|-----lat avg|-----lat max|-overrun|----lat best|---lat wor= st RTD| 45.747| 62.177| 78.286| 0| 45.747| 78.2= 86 =2E........................................................................= =2E... RTD| 39.948| 61.211| 78.286| 0| 39.304| 88.2= 73 ---|------------|------------|------------|--------|-----------------------= -- RTS| 39.304| 61.855| 88.273| 0| 00:01:00/00:01:00 Thu Mar 30 01:51:36 UTC 2000 running: ./run -- -p 500 -T 60 -t1 # latency =3D=3D Sampling period: 500 us =3D=3D Test mode: in-kernel periodic task =3D=3D All results in microseconds warming up... RTT| 00:00:01 (in-kernel periodic task, 500 us period, priority 99) RTH|-----lat min|-----lat avg|-----lat max|-overrun|----lat best|---lat wor= st RTD| 19.007| 31.731| 43.813| 0| 19.007| 43.8= 13 =2E........................................................................= =2E... ---|------------|------------|------------|--------|-----------------------= -- RTS| 13.501| 31.126| 71.188| 0| 00:01:00/00:01:00 Thu Mar 30 01:52:52 UTC 2000 running: ./run -- -p 500 -T 60 -t2 # latency * * * Type ^C to stop this application. * * =3D=3D Sampling period: 500 us =3D=3D Test mode: in-kernel timer handler =3D=3D All results in microseconds warming up... RTT| 00:00:01 (in-kernel timer handler, 500 us period, priority 99) RTH|-----lat min|-----lat avg|-----lat max|-overrun|----lat best|---lat wor= st =2E........................................................................= =2E... ---|------------|------------|------------|--------|-----------------------= -- RTS| -0.977| 8.521| 28.337| 0| 00:01:00/00:01:00 Thu Mar 30 01:54:07 UTC 2000 running: ./run -- -T 120 # switchtest =3D=3D Testing FPU check routines... =3D=3D FPU check routines: unimplemented, skipping FPU switches tests. =3D=3D Threads: sleeper-0 rtk-1 rtk-2 rtup-3 rtup-4 rtus-5 rtus-6 rtuo-7 rt= uo-8 RTT| 00:00:01 RTH|ctx switches|-------total RTD| 756| 756 =2E............................. RTD| 723| 87717 RTD| 762| 88479 RTD| 750| 89229 RTD| 42| 89271 Thu Mar 30 01:56:22 UTC 2000 running: ./run -- -p500 -h # switchbench =3D=3D Sampling period: 500 us =3D=3D Do not interrupt this program RTH| lat min| lat avg| lat max| lost RTD| 47.358| 52.512| 68.298| 0 ---|---range-|---samples HSD| 47 - 48 | 1 HSD| 48 - 49 | 5 HSD| 49 - 50 | 6 HSD| 50 - 51 | 2065 HSD| 51 - 52 | 22440 HSD| 52 - 53 | 41582 HSD| 53 - 54 | 19749 HSD| 54 - 55 | 11696 HSD| 55 - 56 | 2131 HSD| 56 - 57 | 1 HSD| 60 - 61 | 1 HSD| 62 - 63 | 1 HSD| 63 - 64 | 21 HSD| 64 - 65 | 95 HSD| 65 - 66 | 107 HSD| 66 - 67 | 63 HSD| 67 - 68 | 29 HSD| 68 - 69 | 3 HSS| 99996| 52.271| 1.278 Thu Mar 30 01:57:25 UTC 2000 running: ./run -- -p 10 -n -l 1000 # cyclictest T: 0 ( 0) P:10 I: 1000 C: 0 Min: 1000000 Act: 0 Avg: = 0 Max:-1000000 =1B[3A1.30 1.01 0.63 2/33 2107 =20 =2E........................................................................= =2E................. T: 0 ( 2107) P:10 I: 1000 C: 0 Min: 1000000 Act: 0 Avg: = 0 Max:-1000000 =1B[3A1.30 1.01 0.63 2/33 2107 =20 T: 0 ( 2107) P:10 I: 1000 C: 0 Min: 1000000 Act: 0 Avg: = 0 Max:-1000000 =1B[3A1.30 1.01 0.63 2/33 2107 =20 T: 0 ( 2107) P:10 I: 1000 C: 0 Min: 1000000 Act: 0 Avg: = 0 Max:-1000000 =1B[3A1.30 1.01 0.63 2/33 2107 =20 T: 0 ( 2107) P:10 I: 1000 C: 19 Min: 45 Act: 45 Avg: = 69 Max: 78 =1B[3A1.30 1.01 0.63 2/33 2107 =20 =2E........................................................................= =2E................. T: 0 ( 2107) P:10 I: 1000 C: 999 Min: 39 Act: 48 Avg: = 65 Max: 84 I see everything OK except for the first samples of cyclictests. Any commen= ts ? Gilles, I've read your comments on adeos list about the performance problems which you have to solve before upgrading to 2.6.23. Any news ? Could you tell me if the above numbers shows the perfomance problem or if I have to do another kind of test to reproduce it ? Regards, Juan Antonio