summaryrefslogtreecommitdiffstats
path: root/schedsim/shell/schedsim_smppriority_affinity/scenarios/cpus4_affinity_create_case1.expected
blob: 595d04d63ab1f01a650546cf387864359b6bd3e5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
Script File               : cpus4_affinity_create_case1.scen
verbose                   : 1
==> 1: #
==> 2: #  Create threads of single cpu affinity to fill the
==> 3: #  cpus.  Have a single of the same priority on the
==> 4: #  ready chain that can run on any cpu.  Change the
==> 5: #  affinity of one of the running threads forcing it
==> 6: #  to move to the ready chain and quit running. 
==> 7: #
==> 8: rtems_init 4
  CPU 0: Thread Heir: 0x09010001 priority=255
  CPU 0: Thread Executing: 0x09010001 priority=255
  CPU 1: Thread Heir: 0x09010002 priority=255
  CPU 1: Thread Executing: 0x09010002 priority=255
  CPU 2: Thread Heir: 0x09010003 priority=255
  CPU 2: Thread Executing: 0x09010003 priority=255
  CPU 3: Thread Heir: 0x09010004 priority=255
  CPU 3: Thread Executing: 0x09010004 priority=255
==> 9: task_create smp1 8
Creating task with:  Preemption: yes Timeslicing: no
Task (smp1) created: id=0x0a010001, priority=8
Task (smp1) starting: id=0x0a010001, priority=8
  CPU 3: Thread Heir: 0x0a010001 priority=8
  CPU 3: Thread Executing: 0x0a010001 priority=8
==> 10: current_cpu 3
Changing current CPU from 0 to 3
==> 11: 
==> 12: cpus IDLE IDLE IDLE smp1
=== CPU Status
          EXECUTING      /   HEIR             / SWITCH NEEDED
  CPU 0: 0x09010001 @255 / 0x09010001 @255          false
  CPU 1: 0x09010002 @255 / 0x09010002 @255          false
  CPU 2: 0x09010003 @255 / 0x09010003 @255          false
  CPU 3: 0x0a010001 @  8 / 0x0a010001 @  8          false
=== End of Ready Set of Threads
==> 13: 
==> 14: task_create smp2 4 -a 0x4
Creating task with:  Preemption: yes Timeslicing: no
Task (smp2) created: id=0x0a010002, priority=4
Task (0x0a010002) Set affinity=0x00000004
Task (smp2) starting: id=0x0a010002, priority=4
  CPU 2: Thread Heir: 0x0a010002 priority=4
  CPU 2: Thread Executing: 0x0a010002 priority=4
==> 15: cpus IDLE IDLE smp2 smp1
=== CPU Status
          EXECUTING      /   HEIR             / SWITCH NEEDED
  CPU 0: 0x09010001 @255 / 0x09010001 @255          false
  CPU 1: 0x09010002 @255 / 0x09010002 @255          false
  CPU 2: 0x0a010002 @  4 / 0x0a010002 @  4          false
  CPU 3: 0x0a010001 @  8 / 0x0a010001 @  8          false
=== End of Ready Set of Threads
==> 16:  
==> 17: task_create smp3 4 -a 0x1
Creating task with:  Preemption: yes Timeslicing: no
Task (smp3) created: id=0x0a010003, priority=4
Task (0x0a010003) Set affinity=0x00000001
Task (smp3) starting: id=0x0a010003, priority=4
  CPU 0: Thread Heir: 0x0a010003 priority=4
  CPU 0: Thread Executing: 0x0a010003 priority=4
==> 18: cpus smp3 IDLE smp2 smp1
=== CPU Status
          EXECUTING      /   HEIR             / SWITCH NEEDED
  CPU 0: 0x0a010003 @  4 / 0x0a010003 @  4          false
  CPU 1: 0x09010002 @255 / 0x09010002 @255          false
  CPU 2: 0x0a010002 @  4 / 0x0a010002 @  4          false
  CPU 3: 0x0a010001 @  8 / 0x0a010001 @  8          false
=== End of Ready Set of Threads
==> 19: 
==> 20: task_delete smp2
  CPU 2: Thread Heir: 0x0a010001 priority=8
  CPU 2: Thread Executing: 0x0a010001 priority=8
  CPU 3: Thread Heir: 0x09010001 priority=255
  CPU 3: Thread Executing: 0x09010001 priority=255
Task (0x0a010002) deleted
==> 21: cpus smp3 IDLE smp1 IDLE
=== CPU Status
          EXECUTING      /   HEIR             / SWITCH NEEDED
  CPU 0: 0x0a010003 @  4 / 0x0a010003 @  4          false
  CPU 1: 0x09010002 @255 / 0x09010002 @255          false
  CPU 2: 0x0a010001 @  8 / 0x0a010001 @  8          false
  CPU 3: 0x09010001 @255 / 0x09010001 @255          false
=== End of Ready Set of Threads
==> 22: 
==> 23: task_create smp4 4 -a 0x8
Creating task with:  Preemption: yes Timeslicing: no
Task (smp4) created: id=0x0a010004, priority=4
Task (0x0a010004) Set affinity=0x00000008
Task (smp4) starting: id=0x0a010004, priority=4
  CPU 3: Thread Heir: 0x0a010004 priority=4
  CPU 3: Thread Executing: 0x0a010004 priority=4
==> 24: current_cpu 2
Changing current CPU from 3 to 2
==> 25: cpus smp3 IDLE smp1 smp4
=== CPU Status
          EXECUTING      /   HEIR             / SWITCH NEEDED
  CPU 0: 0x0a010003 @  4 / 0x0a010003 @  4          false
  CPU 1: 0x09010002 @255 / 0x09010002 @255          false
  CPU 2: 0x0a010001 @  8 / 0x0a010001 @  8          false
  CPU 3: 0x0a010004 @  4 / 0x0a010004 @  4          false
=== End of Ready Set of Threads
==> 26: 
==> 27: task_delete smp3
  CPU 0: Thread Heir: 0x0a010001 priority=8
  CPU 0: Thread Executing: 0x0a010001 priority=8
  CPU 2: Thread Heir: 0x09010001 priority=255
  CPU 2: Thread Executing: 0x09010001 priority=255
Task (0x0a010003) deleted
==> 28: cpus smp1 IDLE IDLE smp4
=== CPU Status
          EXECUTING      /   HEIR             / SWITCH NEEDED
  CPU 0: 0x0a010001 @  8 / 0x0a010001 @  8          false
  CPU 1: 0x09010002 @255 / 0x09010002 @255          false
  CPU 2: 0x09010001 @255 / 0x09010001 @255          false
  CPU 3: 0x0a010004 @  4 / 0x0a010004 @  4          false
=== End of Ready Set of Threads
==> 29: 
==> 30: task_create smp5 4 -a 0x2
Creating task with:  Preemption: yes Timeslicing: no
Task (smp5) created: id=0x0a010005, priority=4
Task (0x0a010005) Set affinity=0x00000002
Task (smp5) starting: id=0x0a010005, priority=4
  CPU 1: Thread Heir: 0x0a010005 priority=4
  CPU 1: Thread Executing: 0x0a010005 priority=4
==> 31: cpus smp1 smp5 IDLE smp4
=== CPU Status
          EXECUTING      /   HEIR             / SWITCH NEEDED
  CPU 0: 0x0a010001 @  8 / 0x0a010001 @  8          false
  CPU 1: 0x0a010005 @  4 / 0x0a010005 @  4          false
  CPU 2: 0x09010001 @255 / 0x09010001 @255          false
  CPU 3: 0x0a010004 @  4 / 0x0a010004 @  4          false
=== End of Ready Set of Threads
==> 32: 
==> 33: task_delete smp4
  CPU 2: Thread Heir: 0x09010002 priority=255
  CPU 2: Thread Executing: 0x09010002 priority=255
  CPU 3: Thread Heir: 0x09010003 priority=255
  CPU 3: Thread Executing: 0x09010003 priority=255
Task (0x0a010004) deleted
==> 34: cpus smp1 smp5 IDLE IDLE
=== CPU Status
          EXECUTING      /   HEIR             / SWITCH NEEDED
  CPU 0: 0x0a010001 @  8 / 0x0a010001 @  8          false
  CPU 1: 0x0a010005 @  4 / 0x0a010005 @  4          false
  CPU 2: 0x09010002 @255 / 0x09010002 @255          false
  CPU 3: 0x09010003 @255 / 0x09010003 @255          false
=== End of Ready Set of Threads
==> 35: 
==> 36: task_delete smp5
  CPU 1: Thread Heir: 0x09010004 priority=255
  CPU 1: Thread Executing: 0x09010004 priority=255
  CPU 2: Thread Heir: 0x09010001 priority=255
  CPU 2: Thread Executing: 0x09010001 priority=255
Task (0x0a010005) deleted
==> 37: cpus smp1 IDLE IDLE IDLE
=== CPU Status
          EXECUTING      /   HEIR             / SWITCH NEEDED
  CPU 0: 0x0a010001 @  8 / 0x0a010001 @  8          false
  CPU 1: 0x09010004 @255 / 0x09010004 @255          false
  CPU 2: 0x09010001 @255 / 0x09010001 @255          false
  CPU 3: 0x09010003 @255 / 0x09010003 @255          false
=== End of Ready Set of Threads
==> 38: