source: rtems/testsuites/smptests/smpmrsp01/smpmrsp01.scn @ 5bd822a7

4.115
Last change on this file since 5bd822a7 was 5bd822a7, checked in by Sebastian Huber <sebastian.huber@…>, on Nov 26, 2014 at 10:51:34 AM

smp: Fix scheduler helping protocol

Ensure that scheduler nodes in the SCHEDULER_HELP_ACTIVE_OWNER or
SCHEDULER_HELP_ACTIVE_RIVAL helping state are always
SCHEDULER_SMP_NODE_READY or SCHEDULER_SMP_NODE_SCHEDULED to ensure the
MrsP protocol properties.

  • Property mode set to 100644
File size: 7.3 KB
Line 
1*** BEGIN OF TEST SMPMRSP 1 ***
2test MrsP flush error
3test MrsP initially locked error
4test MrsP nested obtain error
5test MrsP unlock order error
6test MrsP deadlock error
7test MrsP multiple obtain
8test MrsP various block and unblock
9[1] IDLE -> WORK (prio   4, node WORK)
10[0] MAIN -> IDLE (prio   3, node MAIN)
11[0] IDLE -> MAIN (prio   3, node MAIN)
12[1] WORK -> IDLE (prio   3, node WORK)
13[1] IDLE -> HIG1 (prio   2, node HIG1)
14[1] HIG1 -> IDLE (prio   3, node WORK)
15[1] IDLE -> HIG1 (prio   2, node HIG1)
16[1] HIG1 -> WORK (prio   3, node WORK)
17[1] WORK -> MAIN (prio   3, node WORK)
18[0] MAIN -> HIG0 (prio   2, node HIG0)
19[1] MAIN -> HIG1 (prio   2, node HIG1)
20[1] HIG1 -> WORK (prio   3, node WORK)
21[0] HIG0 -> MAIN (prio   3, node MAIN)
22[1] WORK -> MAIN (prio   3, node WORK)
23[0] MAIN -> HIG0 (prio   2, node HIG0)
24[1] MAIN -> HIG1 (prio   2, node HIG1)
25[1] HIG1 -> MAIN (prio   3, node WORK)
26[0] HIG0 -> IDLE (prio   4, node MAIN)
27[1] MAIN -> WORK (prio   3, node WORK)
28[0] IDLE -> MAIN (prio   4, node MAIN)
29test MrsP obtain and sleep and release
30[0] MAIN ->  RUN (prio   2, node  RUN)
31[0]  RUN -> MAIN (prio   1, node MAIN)
32[0] MAIN -> IDLE (prio   1, node MAIN)
33[0] IDLE -> MAIN (prio   1, node MAIN)
34test MrsP obtain and release with help
35[1] IDLE -> HELP (prio   3, node HELP)
36[0] MAIN -> IDLE (prio   2, node MAIN)
37[0] IDLE -> MAIN (prio   2, node MAIN)
38[1] HELP -> MAIN (prio   2, node HELP)
39[0] MAIN ->  RUN (prio   1, node  RUN)
40[1] MAIN -> HELP (prio   2, node HELP)
41[1] HELP -> MAIN (prio   2, node HELP)
42[0]  RUN -> IDLE (prio   2, node MAIN)
43[1] MAIN -> HELP (prio   2, node HELP)
44[1] HELP -> MAIN (prio   2, node HELP)
45[0] IDLE -> MAIN (prio   3, node MAIN)
46[1] MAIN -> HELP (prio   2, node HELP)
47test MrsP obtain and release
48test MrsP load
49worker[0]
50  sleep = 53
51  timeout = 3445
52  obtain[0] = 7240
53  obtain[1] = 5484
54  obtain[2] = 12983
55  obtain[3] = 9453
56  obtain[4] = 16142
57  obtain[5] = 12509
58  obtain[6] = 16471
59  obtain[7] = 14380
60  obtain[8] = 16566
61  obtain[9] = 16192
62  obtain[10] = 14868
63  obtain[11] = 18208
64  obtain[12] = 12505
65  obtain[13] = 19995
66  obtain[14] = 11155
67  obtain[15] = 20684
68  obtain[16] = 7288
69  obtain[17] = 22252
70  obtain[18] = 6476
71  obtain[19] = 18299
72  obtain[20] = 5711
73  obtain[21] = 17063
74  obtain[22] = 4791
75  obtain[23] = 14655
76  obtain[24] = 3452
77  obtain[25] = 10565
78  obtain[26] = 2912
79  obtain[27] = 8142
80  obtain[28] = 2090
81  obtain[29] = 5086
82  obtain[30] = 1145
83  obtain[31] = 1946
84  cpu[0] = 378475
85  cpu[1] = 64814
86  cpu[2] = 132133
87  cpu[3] = 138047
88worker[1]
89  sleep = 1
90  timeout = 6
91  obtain[0] = 19
92  obtain[1] = 8
93  obtain[2] = 15
94  obtain[3] = 24
95  obtain[4] = 20
96  obtain[5] = 19
97  obtain[6] = 14
98  obtain[7] = 40
99  obtain[8] = 45
100  obtain[9] = 20
101  obtain[10] = 0
102  obtain[11] = 48
103  obtain[12] = 13
104  obtain[13] = 57
105  obtain[14] = 30
106  obtain[15] = 48
107  obtain[16] = 36
108  obtain[17] = 36
109  obtain[18] = 19
110  obtain[19] = 20
111  obtain[20] = 42
112  obtain[21] = 44
113  obtain[22] = 23
114  obtain[23] = 0
115  obtain[24] = 0
116  obtain[25] = 26
117  obtain[26] = 0
118  obtain[27] = 0
119  obtain[28] = 0
120  obtain[29] = 0
121  obtain[30] = 0
122  obtain[31] = 0
123  cpu[0] = 650
124  cpu[1] = 92
125  cpu[2] = 379
126  cpu[3] = 212
127worker[2]
128  sleep = 51
129  timeout = 3731
130  obtain[0] = 7182
131  obtain[1] = 5663
132  obtain[2] = 12945
133  obtain[3] = 9229
134  obtain[4] = 15592
135  obtain[5] = 12125
136  obtain[6] = 16767
137  obtain[7] = 14480
138  obtain[8] = 16620
139  obtain[9] = 16098
140  obtain[10] = 16409
141  obtain[11] = 18109
142  obtain[12] = 12995
143  obtain[13] = 19452
144  obtain[14] = 10719
145  obtain[15] = 20024
146  obtain[16] = 7769
147  obtain[17] = 21913
148  obtain[18] = 6636
149  obtain[19] = 18524
150  obtain[20] = 5952
151  obtain[21] = 16411
152  obtain[22] = 5228
153  obtain[23] = 14456
154  obtain[24] = 4292
155  obtain[25] = 11143
156  obtain[26] = 3019
157  obtain[27] = 8023
158  obtain[28] = 2006
159  obtain[29] = 4664
160  obtain[30] = 1109
161  obtain[31] = 1976
162  cpu[0] = 65356
163  cpu[1] = 381723
164  cpu[2] = 133444
165  cpu[3] = 134588
166worker[3]
167  sleep = 1
168  timeout = 11
169  obtain[0] = 11
170  obtain[1] = 6
171  obtain[2] = 33
172  obtain[3] = 20
173  obtain[4] = 10
174  obtain[5] = 10
175  obtain[6] = 28
176  obtain[7] = 18
177  obtain[8] = 27
178  obtain[9] = 40
179  obtain[10] = 33
180  obtain[11] = 36
181  obtain[12] = 26
182  obtain[13] = 0
183  obtain[14] = 15
184  obtain[15] = 16
185  obtain[16] = 0
186  obtain[17] = 18
187  obtain[18] = 0
188  obtain[19] = 42
189  obtain[20] = 0
190  obtain[21] = 88
191  obtain[22] = 0
192  obtain[23] = 24
193  obtain[24] = 0
194  obtain[25] = 0
195  obtain[26] = 0
196  obtain[27] = 28
197  obtain[28] = 0
198  obtain[29] = 0
199  obtain[30] = 31
200  obtain[31] = 0
201  cpu[0] = 136
202  cpu[1] = 573
203  cpu[2] = 291
204  cpu[3] = 121
205worker[4]
206  sleep = 47
207  timeout = 3278
208  obtain[0] = 7397
209  obtain[1] = 5723
210  obtain[2] = 13399
211  obtain[3] = 9018
212  obtain[4] = 16575
213  obtain[5] = 12731
214  obtain[6] = 16571
215  obtain[7] = 14376
216  obtain[8] = 16786
217  obtain[9] = 17022
218  obtain[10] = 15889
219  obtain[11] = 19338
220  obtain[12] = 13240
221  obtain[13] = 19055
222  obtain[14] = 11533
223  obtain[15] = 22667
224  obtain[16] = 7521
225  obtain[17] = 21826
226  obtain[18] = 6320
227  obtain[19] = 18522
228  obtain[20] = 6874
229  obtain[21] = 16498
230  obtain[22] = 4983
231  obtain[23] = 14210
232  obtain[24] = 4019
233  obtain[25] = 11510
234  obtain[26] = 3425
235  obtain[27] = 8809
236  obtain[28] = 2002
237  obtain[29] = 5197
238  obtain[30] = 996
239  obtain[31] = 2276
240  cpu[0] = 20729
241  cpu[1] = 19760
242  cpu[2] = 343613
243  cpu[3] = 348561
244worker[5]
245  sleep = 61
246  timeout = 3183
247  obtain[0] = 7291
248  obtain[1] = 5782
249  obtain[2] = 13633
250  obtain[3] = 9864
251  obtain[4] = 16465
252  obtain[5] = 12581
253  obtain[6] = 17135
254  obtain[7] = 14616
255  obtain[8] = 16524
256  obtain[9] = 16472
257  obtain[10] = 15194
258  obtain[11] = 18038
259  obtain[12] = 13801
260  obtain[13] = 19959
261  obtain[14] = 11693
262  obtain[15] = 20770
263  obtain[16] = 7328
264  obtain[17] = 23222
265  obtain[18] = 7186
266  obtain[19] = 19739
267  obtain[20] = 6584
268  obtain[21] = 17450
269  obtain[22] = 5241
270  obtain[23] = 14808
271  obtain[24] = 4287
272  obtain[25] = 11387
273  obtain[26] = 3367
274  obtain[27] = 8149
275  obtain[28] = 1887
276  obtain[29] = 4969
277  obtain[30] = 1123
278  obtain[31] = 1695
279  cpu[0] = 19504
280  cpu[1] = 20069
281  cpu[2] = 346015
282  cpu[3] = 350953
283worker[6]
284  sleep = 1
285  timeout = 15
286  obtain[0] = 26
287  obtain[1] = 22
288  obtain[2] = 45
289  obtain[3] = 32
290  obtain[4] = 45
291  obtain[5] = 76
292  obtain[6] = 49
293  obtain[7] = 64
294  obtain[8] = 99
295  obtain[9] = 70
296  obtain[10] = 55
297  obtain[11] = 48
298  obtain[12] = 39
299  obtain[13] = 28
300  obtain[14] = 60
301  obtain[15] = 48
302  obtain[16] = 17
303  obtain[17] = 74
304  obtain[18] = 38
305  obtain[19] = 60
306  obtain[20] = 63
307  obtain[21] = 66
308  obtain[22] = 23
309  obtain[23] = 48
310  obtain[24] = 0
311  obtain[25] = 78
312  obtain[26] = 0
313  obtain[27] = 43
314  obtain[28] = 0
315  obtain[29] = 0
316  obtain[30] = 0
317  obtain[31] = 32
318  cpu[0] = 71
319  cpu[1] = 39
320  cpu[2] = 1333
321  cpu[3] = 1254
322worker[7]
323  sleep = 1
324  timeout = 0
325  obtain[0] = 0
326  obtain[1] = 0
327  obtain[2] = 0
328  obtain[3] = 0
329  obtain[4] = 0
330  obtain[5] = 0
331  obtain[6] = 0
332  obtain[7] = 0
333  obtain[8] = 0
334  obtain[9] = 0
335  obtain[10] = 0
336  obtain[11] = 0
337  obtain[12] = 0
338  obtain[13] = 0
339  obtain[14] = 0
340  obtain[15] = 0
341  obtain[16] = 0
342  obtain[17] = 0
343  obtain[18] = 0
344  obtain[19] = 0
345  obtain[20] = 0
346  obtain[21] = 0
347  obtain[22] = 0
348  obtain[23] = 0
349  obtain[24] = 0
350  obtain[25] = 0
351  obtain[26] = 0
352  obtain[27] = 0
353  obtain[28] = 0
354  obtain[29] = 0
355  obtain[30] = 0
356  obtain[31] = 0
357  cpu[0] = 0
358  cpu[1] = 0
359  cpu[2] = 1
360  cpu[3] = 0
361migrations[0] = 437361
362migrations[1] = 437363
363migrations[2] = 441234
364migrations[3] = 433487
365*** END OF TEST SMPMRSP 1 ***
Note: See TracBrowser for help on using the repository browser.