1 |
28 |
unneback |
<!-- Copyright (C) 2003 Red Hat, Inc. -->
|
2 |
|
|
<!-- This material may be distributed only subject to the terms -->
|
3 |
|
|
<!-- and conditions set forth in the Open Publication License, v1.0 -->
|
4 |
|
|
<!-- or later (the latest version is presently available at -->
|
5 |
|
|
<!-- http://www.opencontent.org/openpub/). -->
|
6 |
|
|
<!-- Distribution of the work or derivative of the work in any -->
|
7 |
|
|
<!-- standard (paper) book form is prohibited unless prior -->
|
8 |
|
|
<!-- permission is obtained from the copyright holder. -->
|
9 |
|
|
<HTML
|
10 |
|
|
><HEAD
|
11 |
|
|
><TITLE
|
12 |
|
|
>Board: Intel SA1100 (Brutus)</TITLE
|
13 |
|
|
><meta name="MSSmartTagsPreventParsing" content="TRUE">
|
14 |
|
|
<META
|
15 |
|
|
NAME="GENERATOR"
|
16 |
|
|
CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
|
17 |
|
|
"><LINK
|
18 |
|
|
REL="HOME"
|
19 |
|
|
TITLE="eCos User Guide"
|
20 |
|
|
HREF="ecos-user-guide.html"><LINK
|
21 |
|
|
REL="UP"
|
22 |
|
|
TITLE="Real-time characterization"
|
23 |
|
|
HREF="real-time-characterization.html"><LINK
|
24 |
|
|
REL="PREVIOUS"
|
25 |
|
|
TITLE="Board: Intel SA1110 (Assabet)"
|
26 |
|
|
HREF="rt-arm-assabet.html"><LINK
|
27 |
|
|
REL="NEXT"
|
28 |
|
|
TITLE="Board: Motorola MBX"
|
29 |
|
|
HREF="rt-ppc-mbx860.html"></HEAD
|
30 |
|
|
><BODY
|
31 |
|
|
CLASS="SECT1"
|
32 |
|
|
BGCOLOR="#FFFFFF"
|
33 |
|
|
TEXT="#000000"
|
34 |
|
|
LINK="#0000FF"
|
35 |
|
|
VLINK="#840084"
|
36 |
|
|
ALINK="#0000FF"
|
37 |
|
|
><DIV
|
38 |
|
|
CLASS="NAVHEADER"
|
39 |
|
|
><TABLE
|
40 |
|
|
SUMMARY="Header navigation table"
|
41 |
|
|
WIDTH="100%"
|
42 |
|
|
BORDER="0"
|
43 |
|
|
CELLPADDING="0"
|
44 |
|
|
CELLSPACING="0"
|
45 |
|
|
><TR
|
46 |
|
|
><TH
|
47 |
|
|
COLSPAN="3"
|
48 |
|
|
ALIGN="center"
|
49 |
|
|
>eCos User Guide</TH
|
50 |
|
|
></TR
|
51 |
|
|
><TR
|
52 |
|
|
><TD
|
53 |
|
|
WIDTH="10%"
|
54 |
|
|
ALIGN="left"
|
55 |
|
|
VALIGN="bottom"
|
56 |
|
|
><A
|
57 |
|
|
HREF="rt-arm-assabet.html"
|
58 |
|
|
ACCESSKEY="P"
|
59 |
|
|
>Prev</A
|
60 |
|
|
></TD
|
61 |
|
|
><TD
|
62 |
|
|
WIDTH="80%"
|
63 |
|
|
ALIGN="center"
|
64 |
|
|
VALIGN="bottom"
|
65 |
|
|
>Appendix B. Real-time characterization</TD
|
66 |
|
|
><TD
|
67 |
|
|
WIDTH="10%"
|
68 |
|
|
ALIGN="right"
|
69 |
|
|
VALIGN="bottom"
|
70 |
|
|
><A
|
71 |
|
|
HREF="rt-ppc-mbx860.html"
|
72 |
|
|
ACCESSKEY="N"
|
73 |
|
|
>Next</A
|
74 |
|
|
></TD
|
75 |
|
|
></TR
|
76 |
|
|
></TABLE
|
77 |
|
|
><HR
|
78 |
|
|
ALIGN="LEFT"
|
79 |
|
|
WIDTH="100%"></DIV
|
80 |
|
|
><DIV
|
81 |
|
|
CLASS="SECT1"
|
82 |
|
|
><H1
|
83 |
|
|
CLASS="SECT1"
|
84 |
|
|
><A
|
85 |
|
|
NAME="RT-ARM-BRUTUS">Board: Intel SA1100 (Brutus)</H1
|
86 |
|
|
><TABLE
|
87 |
|
|
BORDER="5"
|
88 |
|
|
BGCOLOR="#E0E0F0"
|
89 |
|
|
WIDTH="70%"
|
90 |
|
|
><TR
|
91 |
|
|
><TD
|
92 |
|
|
><PRE
|
93 |
|
|
CLASS="LITERALLAYOUT"
|
94 |
|
|
>Board: Intel SA1100 (Brutus)
|
95 |
|
|
|
96 |
|
|
CPU : StrongARM 221.2 MHz
|
97 |
|
|
|
98 |
|
|
Microseconds for one run through Dhrystone: 3.3
|
99 |
|
|
Dhrystones per Second: 306748.5
|
100 |
|
|
VAX MIPS rating = 174.586
|
101 |
|
|
|
102 |
|
|
Startup, main stack : stack used 404 size 2400
|
103 |
|
|
Startup : Interrupt stack used 136 size 4096
|
104 |
|
|
Startup : Idlethread stack used 87 size 2048
|
105 |
|
|
|
106 |
|
|
eCos Kernel Timings
|
107 |
|
|
Notes: all times are in microseconds (.000001) unless otherwise stated
|
108 |
|
|
|
109 |
|
|
Reading the hardware clock takes 0 `ticks' overhead
|
110 |
|
|
... this value will be factored out of all other measurements
|
111 |
|
|
Clock interrupt took 3.09 microseconds (11 raw clock ticks)
|
112 |
|
|
|
113 |
|
|
Testing parameters:
|
114 |
|
|
Clock samples: 32
|
115 |
|
|
Threads: 64
|
116 |
|
|
Thread switches: 128
|
117 |
|
|
Mutexes: 32
|
118 |
|
|
Mailboxes: 32
|
119 |
|
|
Semaphores: 32
|
120 |
|
|
Scheduler operations: 128
|
121 |
|
|
Counters: 32
|
122 |
|
|
Alarms: 32
|
123 |
|
|
|
124 |
|
|
|
125 |
|
|
Confidence
|
126 |
|
|
Ave Min Max Var Ave Min Function
|
127 |
|
|
====== ====== ====== ====== ========== ========
|
128 |
|
|
6.63 5.43 18.99 0.77 70% 37% Create thread
|
129 |
|
|
0.83 0.81 2.17 0.04 98% 98% Yield thread [all suspended]
|
130 |
|
|
1.27 0.81 5.15 0.30 68% 73% Suspend [suspended] thread
|
131 |
|
|
1.25 0.81 5.15 0.25 82% 1% Resume thread
|
132 |
|
|
1.52 1.09 7.87 0.30 78% 75% Set priority
|
133 |
|
|
0.97 0.54 2.71 0.28 64% 51% Get priority
|
134 |
|
|
3.45 2.71 19.53 0.66 84% 76% Kill [suspended] thread
|
135 |
|
|
0.90 0.81 6.24 0.17 98% 98% Yield [no other] thread
|
136 |
|
|
1.86 1.36 6.24 0.33 68% 50% Resume [suspended low prio] thread
|
137 |
|
|
1.25 0.81 5.15 0.25 82% 1% Resume [runnable low prio] thread
|
138 |
|
|
2.01 1.63 10.04 0.32 70% 84% Suspend [runnable] thread
|
139 |
|
|
0.90 0.81 6.24 0.17 98% 98% Yield [only low prio] thread
|
140 |
|
|
1.25 0.81 5.15 0.24 84% 1% Suspend [runnable->not runnable]
|
141 |
|
|
2.92 1.90 18.72 0.57 85% 43% Kill [runnable] thread
|
142 |
|
|
2.45 1.90 10.31 0.33 95% 54% Destroy [dead] thread
|
143 |
|
|
3.95 2.71 23.60 0.89 68% 54% Destroy [runnable] thread
|
144 |
|
|
8.55 6.24 19.53 1.15 60% 23% Resume [high priority] thread
|
145 |
|
|
1.85 1.63 11.94 0.21 49% 49% Thread switch
|
146 |
|
|
|
147 |
|
|
0.25 0.00 1.63 0.05 89% 10% Scheduler lock
|
148 |
|
|
0.52 0.27 1.90 0.07 85% 13% Scheduler unlock [0 threads]
|
149 |
|
|
0.51 0.27 1.36 0.06 85% 13% Scheduler unlock [1 suspended]
|
150 |
|
|
0.51 0.27 1.36 0.06 85% 13% Scheduler unlock [many suspended]
|
151 |
|
|
0.51 0.27 1.63 0.06 85% 13% Scheduler unlock [many low prio]
|
152 |
|
|
|
153 |
|
|
0.58 0.27 3.53 0.20 71% 21% Init mutex
|
154 |
|
|
1.07 0.54 5.70 0.35 87% 59% Lock [unlocked] mutex
|
155 |
|
|
1.14 0.81 6.51 0.40 96% 81% Unlock [locked] mutex
|
156 |
|
|
0.96 0.54 5.15 0.34 68% 65% Trylock [unlocked] mutex
|
157 |
|
|
0.94 0.54 4.88 0.34 65% 65% Trylock [locked] mutex
|
158 |
|
|
0.33 0.27 2.17 0.11 96% 96% Destroy mutex
|
159 |
|
|
4.21 3.80 10.85 0.41 71% 96% Unlock/Lock mutex
|
160 |
|
|
0.76 0.54 4.07 0.25 96% 56% Create mbox
|
161 |
|
|
0.75 0.54 1.90 0.20 84% 50% Peek [empty] mbox
|
162 |
|
|
1.56 1.09 6.78 0.39 68% 59% Put [first] mbox
|
163 |
|
|
0.75 0.54 1.90 0.20 84% 50% Peek [1 msg] mbox
|
164 |
|
|
1.55 1.09 6.78 0.40 68% 62% Put [second] mbox
|
165 |
|
|
0.77 0.54 1.63 0.17 46% 37% Peek [2 msgs] mbox
|
166 |
|
|
1.67 1.09 6.24 0.31 87% 34% Get [first] mbox
|
167 |
|
|
1.63 1.09 6.24 0.31 75% 34% Get [second] mbox
|
168 |
|
|
1.50 1.09 6.51 0.40 56% 62% Tryput [first] mbox
|
169 |
|
|
1.58 1.09 5.43 0.37 68% 53% Peek item [non-empty] mbox
|
170 |
|
|
1.79 1.09 7.05 0.43 71% 25% Tryget [non-empty] mbox
|
171 |
|
|
1.29 1.09 5.15 0.32 87% 87% Peek item [empty] mbox
|
172 |
|
|
1.33 1.09 5.97 0.37 96% 84% Tryget [empty] mbox
|
173 |
|
|
0.73 0.54 1.90 0.21 84% 56% Waiting to get mbox
|
174 |
|
|
0.76 0.54 1.90 0.19 40% 43% Waiting to put mbox
|
175 |
|
|
1.47 1.09 6.78 0.39 59% 84% Delete mbox
|
176 |
|
|
2.70 2.17 12.75 0.63 96% 96% Put/Get mbox
|
177 |
|
|
|
178 |
|
|
0.47 0.27 2.71 0.20 96% 50% Init semaphore
|
179 |
|
|
0.89 0.54 4.88 0.33 56% 75% Post [0] semaphore
|
180 |
|
|
0.96 0.54 5.15 0.33 71% 75% Wait [1] semaphore
|
181 |
|
|
0.86 0.54 4.88 0.32 96% 81% Trywait [0] semaphore
|
182 |
|
|
0.69 0.54 3.26 0.22 96% 75% Trywait [1] semaphore
|
183 |
|
|
0.49 0.27 3.26 0.28 84% 84% Peek semaphore
|
184 |
|
|
0.39 0.27 2.44 0.19 96% 78% Destroy semaphore
|
185 |
|
|
2.83 2.44 11.66 0.55 96% 96% Post/Wait semaphore
|
186 |
|
|
|
187 |
|
|
0.52 0.27 3.26 0.20 56% 40% Create counter
|
188 |
|
|
0.59 0.00 2.71 0.34 81% 46% Get counter value
|
189 |
|
|
0.36 0.00 2.44 0.21 81% 9% Set counter value
|
190 |
|
|
1.13 0.81 2.98 0.26 59% 37% Tick counter
|
191 |
|
|
0.39 0.27 1.90 0.19 90% 78% Delete counter
|
192 |
|
|
|
193 |
|
|
0.86 0.54 4.07 0.24 65% 31% Create alarm
|
194 |
|
|
1.86 1.36 9.77 0.54 96% 90% Initialize alarm
|
195 |
|
|
0.77 0.54 2.71 0.23 84% 50% Disable alarm
|
196 |
|
|
1.86 1.36 9.22 0.51 96% 75% Enable alarm
|
197 |
|
|
0.89 0.54 3.26 0.25 65% 21% Delete alarm
|
198 |
|
|
0.99 0.81 3.26 0.21 96% 59% Tick counter [1 alarm]
|
199 |
|
|
4.22 4.07 6.78 0.22 96% 71% Tick counter [many alarms]
|
200 |
|
|
1.51 1.36 4.61 0.24 96% 78% Tick & fire counter [1 alarm]
|
201 |
|
|
20.29 20.07 23.33 0.23 96% 53% Tick & fire counters [>1 together]
|
202 |
|
|
4.71 4.61 7.87 0.20 96% 96% Tick & fire counters [>1 separately]
|
203 |
|
|
2.88 2.71 23.87 0.33 99% 99% Alarm latency [0 threads]
|
204 |
|
|
3.24 2.71 17.36 0.40 79% 58% Alarm latency [2 threads]
|
205 |
|
|
15.71 12.48 27.40 1.47 53% 17% Alarm latency [many threads]
|
206 |
|
|
5.95 5.43 64.56 1.02 97% 97% Alarm -> thread resume latency
|
207 |
|
|
|
208 |
|
|
3.25 0.81 14.11 0.00 Clock/interrupt latency
|
209 |
|
|
|
210 |
|
|
2.68 1.09 12.75 0.00 Clock DSR latency
|
211 |
|
|
|
212 |
|
|
29 0 316 (main stack: 764) Thread stack used (1120 total)
|
213 |
|
|
All done, main stack : stack used 764 size 2400
|
214 |
|
|
All done : Interrupt stack used 288 size 4096
|
215 |
|
|
All done : Idlethread stack used 260 size 2048
|
216 |
|
|
|
217 |
|
|
|
218 |
|
|
Timing complete - 30280 ms total
|
219 |
|
|
|
220 |
|
|
</PRE
|
221 |
|
|
></TD
|
222 |
|
|
></TR
|
223 |
|
|
></TABLE
|
224 |
|
|
></DIV
|
225 |
|
|
><DIV
|
226 |
|
|
CLASS="NAVFOOTER"
|
227 |
|
|
><HR
|
228 |
|
|
ALIGN="LEFT"
|
229 |
|
|
WIDTH="100%"><TABLE
|
230 |
|
|
SUMMARY="Footer navigation table"
|
231 |
|
|
WIDTH="100%"
|
232 |
|
|
BORDER="0"
|
233 |
|
|
CELLPADDING="0"
|
234 |
|
|
CELLSPACING="0"
|
235 |
|
|
><TR
|
236 |
|
|
><TD
|
237 |
|
|
WIDTH="33%"
|
238 |
|
|
ALIGN="left"
|
239 |
|
|
VALIGN="top"
|
240 |
|
|
><A
|
241 |
|
|
HREF="rt-arm-assabet.html"
|
242 |
|
|
ACCESSKEY="P"
|
243 |
|
|
>Prev</A
|
244 |
|
|
></TD
|
245 |
|
|
><TD
|
246 |
|
|
WIDTH="34%"
|
247 |
|
|
ALIGN="center"
|
248 |
|
|
VALIGN="top"
|
249 |
|
|
><A
|
250 |
|
|
HREF="ecos-user-guide.html"
|
251 |
|
|
ACCESSKEY="H"
|
252 |
|
|
>Home</A
|
253 |
|
|
></TD
|
254 |
|
|
><TD
|
255 |
|
|
WIDTH="33%"
|
256 |
|
|
ALIGN="right"
|
257 |
|
|
VALIGN="top"
|
258 |
|
|
><A
|
259 |
|
|
HREF="rt-ppc-mbx860.html"
|
260 |
|
|
ACCESSKEY="N"
|
261 |
|
|
>Next</A
|
262 |
|
|
></TD
|
263 |
|
|
></TR
|
264 |
|
|
><TR
|
265 |
|
|
><TD
|
266 |
|
|
WIDTH="33%"
|
267 |
|
|
ALIGN="left"
|
268 |
|
|
VALIGN="top"
|
269 |
|
|
>Board: Intel SA1110 (Assabet)</TD
|
270 |
|
|
><TD
|
271 |
|
|
WIDTH="34%"
|
272 |
|
|
ALIGN="center"
|
273 |
|
|
VALIGN="top"
|
274 |
|
|
><A
|
275 |
|
|
HREF="real-time-characterization.html"
|
276 |
|
|
ACCESSKEY="U"
|
277 |
|
|
>Up</A
|
278 |
|
|
></TD
|
279 |
|
|
><TD
|
280 |
|
|
WIDTH="33%"
|
281 |
|
|
ALIGN="right"
|
282 |
|
|
VALIGN="top"
|
283 |
|
|
>Board: Motorola MBX</TD
|
284 |
|
|
></TR
|
285 |
|
|
></TABLE
|
286 |
|
|
></DIV
|
287 |
|
|
></BODY
|
288 |
|
|
></HTML
|
289 |
|
|
>
|