forked from ACassimiro/TSNsched
-
Notifications
You must be signed in to change notification settings - Fork 1
/
3PublishSubscribeflows.out
412 lines (355 loc) · 13.9 KB
/
3PublishSubscribeflows.out
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
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
findSchedulerModel
Z3 Major Version: 4
Z3 Full Version: 4.8.10.0
Z3 Full Version String: Z3 4.8.10.0
==================================================
[CREATING FRAGMENTS AND SETTING RULES]
- Creating network
Alert: First packet of flow flow1 must have enough time to leave source. Making first sending time a variable.
Alert: First packet of flow flow2 must have enough time to leave source. Making first sending time a variable.
Alert: First packet of flow flow3 must have enough time to leave source. Making first sending time a variable.
Time taken to set the rules: 0.1827733 seconds
==================================================
[RULES SET. CHECKING SOLVER]
Current time of the day: 11:49:44.656599
Time taken on solving: 0.43233848 seconds
Number of assertions: 3985
==================================================
[DATA LOGGING]
- Model generated successfully.
>>>> INFORMATION OF SWITCH: switch0 <<<<
Port list -
=> Port name: switch0Port0
Connects to: switch1
Cycle start: 0.0
Cycle duration: 2000.0
Fragments: flow2Fragment2,
Priority number: 1
Index 0 Slot start: 1972.25
Index 0 Slot duration: 13.25
------------------------
=> Port name: switch0Port4
Connects to: switch3
Cycle start: 0.0
Cycle duration: 2000.0
Fragments: flow1Fragment2,
Priority number: 0
Index 0 Slot start: 28.25
Index 0 Slot duration: 13.0
------------------------
>>>> INFORMATION OF SWITCH: switch1 <<<<
Port list -
=> Port name: switch1Port18
Connects to: dev5
Cycle start: 0.0
Cycle duration: 2000.0
Fragments: flow2Fragment3,
Priority number: 4
Index 0 Slot start: 1986.75
Index 0 Slot duration: 13.0
------------------------
=> Port name: switch1Port20
Connects to: dev6
Cycle start: 0.0
Cycle duration: 2000.0
Fragments: flow2Fragment4,
Priority number: 0
Index 0 Slot start: 1986.25
Index 0 Slot duration: 13.25
------------------------
=> Port name: switch1Port22
Connects to: dev7
Cycle start: 0.0
Cycle duration: 2000.0
Fragments: flow2Fragment5,
Priority number: 1
Index 0 Slot start: 1986.25
Index 0 Slot duration: 13.25
------------------------
=> Port name: switch1Port24
Connects to: dev8
Cycle start: 0.0
Cycle duration: 2000.0
Fragments: flow2Fragment6,
Priority number: 1
Index 0 Slot start: 1986.75
Index 0 Slot duration: 13.0
------------------------
=> Port name: switch1Port26
Connects to: dev9
Cycle start: 0.0
Cycle duration: 2000.0
Fragments: flow2Fragment7,
Priority number: 0
Index 0 Slot start: 1986.75
Index 0 Slot duration: 13.0
------------------------
>>>> INFORMATION OF SWITCH: switch2 <<<<
Port list -
=> Port name: switch2Port10
Connects to: switch6
Cycle start: 0.0
Cycle duration: 2000.0
Fragments: flow3Fragment2,
Priority number: 0
Index 0 Slot start: 28.25
Index 0 Slot duration: 13.0
------------------------
>>>> INFORMATION OF SWITCH: switch3 <<<<
Port list -
=> Port name: switch3Port18
Connects to: dev15
Cycle start: 0.0
Cycle duration: 2000.0
Fragments: flow1Fragment3,
Priority number: 0
Index 0 Slot start: 42.5
Index 0 Slot duration: 13.0
------------------------
=> Port name: switch3Port20
Connects to: dev16
Cycle start: 0.0
Cycle duration: 2000.0
Fragments: flow1Fragment4,
Priority number: 3
Index 0 Slot start: 42.5
Index 0 Slot duration: 13.0
------------------------
=> Port name: switch3Port22
Connects to: dev17
Cycle start: 0.0
Cycle duration: 2000.0
Fragments: flow1Fragment5,
Priority number: 7
Index 0 Slot start: 42.0
Index 0 Slot duration: 13.25
------------------------
=> Port name: switch3Port24
Connects to: dev18
Cycle start: 0.0
Cycle duration: 2000.0
Fragments: flow1Fragment6,
Priority number: 2
Index 0 Slot start: 42.5
Index 0 Slot duration: 13.0
------------------------
=> Port name: switch3Port26
Connects to: dev19
Cycle start: 0.0
Cycle duration: 2000.0
Fragments: flow1Fragment7,
Priority number: 0
Index 0 Slot start: 42.0
Index 0 Slot duration: 13.25
------------------------
>>>> INFORMATION OF SWITCH: switch4 <<<<
Port list -
=> Port name: switch4Port4
Connects to: switch2
Cycle start: 0.0
Cycle duration: 2000.0
Fragments: flow3Fragment1,
Priority number: 0
Index 0 Slot start: 13.75
Index 0 Slot duration: 13.25
------------------------
>>>> INFORMATION OF SWITCH: switch5 <<<<
Port list -
=> Port name: switch5Port0
Connects to: switch0
Cycle start: 0.0
Cycle duration: 2000.0
Fragments: flow1Fragment1,
Priority number: 0
Index 0 Slot start: 13.75
Index 0 Slot duration: 13.25
------------------------
>>>> INFORMATION OF SWITCH: switch6 <<<<
Port list -
=> Port name: switch6Port18
Connects to: dev30
Cycle start: 0.0
Cycle duration: 2000.0
Fragments: flow3Fragment3,
Priority number: 0
Index 0 Slot start: 42.0
Index 0 Slot duration: 13.25
------------------------
=> Port name: switch6Port20
Connects to: dev31
Cycle start: 0.0
Cycle duration: 2000.0
Fragments: flow3Fragment4,
Priority number: 0
Index 0 Slot start: 5.25
Index 0 Slot duration: 50.0
------------------------
=> Port name: switch6Port22
Connects to: dev32
Cycle start: 0.0
Cycle duration: 2000.0
Fragments: flow3Fragment5,
Priority number: 0
Index 0 Slot start: 5.25
Index 0 Slot duration: 50.0
------------------------
=> Port name: switch6Port24
Connects to: dev33
Cycle start: 0.0
Cycle duration: 2000.0
Fragments: flow3Fragment6,
Priority number: 3
Index 0 Slot start: 5.25
Index 0 Slot duration: 50.0
------------------------
=> Port name: switch6Port26
Connects to: dev34
Cycle start: 0.0
Cycle duration: 2000.0
Fragments: flow3Fragment7,
Priority number: 1
Index 0 Slot start: 5.25
Index 0 Slot duration: 50.0
------------------------
>>>> INFORMATION OF SWITCH: switch7 <<<<
Port list -
=> Port name: switch7Port0
Connects to: switch0
Cycle start: 0.0
Cycle duration: 2000.0
Fragments: flow2Fragment1,
Priority number: 1
Index 0 Slot start: 1921.5
Index 0 Slot duration: 50.0
------------------------
>>>> INFORMATION OF FLOW0 <<<<
Total number of packets scheduled: 7
Path tree of the flow:
Path to dev15: dev29, switch5(flow1Fragment1), switch0(flow1Fragment2), switch3(flow1Fragment3), dev15,
Path to dev16: dev29, switch5(flow1Fragment1), switch0(flow1Fragment2), switch3(flow1Fragment4), dev16,
Path to dev17: dev29, switch5(flow1Fragment1), switch0(flow1Fragment2), switch3(flow1Fragment5), dev17,
Path to dev18: dev29, switch5(flow1Fragment1), switch0(flow1Fragment2), switch3(flow1Fragment6), dev18,
Path to dev19: dev29, switch5(flow1Fragment1), switch0(flow1Fragment2), switch3(flow1Fragment7), dev19,
Packets heading to dev15:
Flow firstDepartureTime of packet 0: 13.0
Flow lastScheduledTime of packet 0: 55.5
Calculated average Latency: 42.5
Method average Latency: 55.5
Method average Jitter: 0.0
Packets heading to dev16:
Flow firstDepartureTime of packet 0: 13.0
Flow lastScheduledTime of packet 0: 55.5
Calculated average Latency: 42.5
Method average Latency: 55.5
Method average Jitter: 0.0
Packets heading to dev17:
Flow firstDepartureTime of packet 0: 13.0
Flow lastScheduledTime of packet 0: 55.25
Calculated average Latency: 42.25
Method average Latency: 55.25
Method average Jitter: 0.0
Packets heading to dev18:
Flow firstDepartureTime of packet 0: 13.0
Flow lastScheduledTime of packet 0: 55.5
Calculated average Latency: 42.5
Method average Latency: 55.5
Method average Jitter: 0.0
Packets heading to dev19:
Flow firstDepartureTime of packet 0: 13.0
Flow lastScheduledTime of packet 0: 55.25
Calculated average Latency: 42.25
Method average Latency: 55.25
Method average Jitter: 0.0
Calculated average latency of all devices: 42.4
>>>> INFORMATION OF FLOW1 <<<<
Total number of packets scheduled: 7
Path tree of the flow:
Path to dev5: dev38, switch7(flow2Fragment1), switch0(flow2Fragment2), switch1(flow2Fragment3), dev5,
Path to dev6: dev38, switch7(flow2Fragment1), switch0(flow2Fragment2), switch1(flow2Fragment4), dev6,
Path to dev7: dev38, switch7(flow2Fragment1), switch0(flow2Fragment2), switch1(flow2Fragment5), dev7,
Path to dev8: dev38, switch7(flow2Fragment1), switch0(flow2Fragment2), switch1(flow2Fragment6), dev8,
Path to dev9: dev38, switch7(flow2Fragment1), switch0(flow2Fragment2), switch1(flow2Fragment7), dev9,
Packets heading to dev5:
Flow firstDepartureTime of packet 0: 1957.5
Flow lastScheduledTime of packet 0: 1999.75
Calculated average Latency: 42.25
Method average Latency: 55.25
Method average Jitter: 0.0
Packets heading to dev6:
Flow firstDepartureTime of packet 0: 1957.5
Flow lastScheduledTime of packet 0: 1999.5
Calculated average Latency: 42.0
Method average Latency: 55.0
Method average Jitter: 0.0
Packets heading to dev7:
Flow firstDepartureTime of packet 0: 1957.5
Flow lastScheduledTime of packet 0: 1999.5
Calculated average Latency: 42.0
Method average Latency: 55.0
Method average Jitter: 0.0
Packets heading to dev8:
Flow firstDepartureTime of packet 0: 1957.5
Flow lastScheduledTime of packet 0: 1999.75
Calculated average Latency: 42.25
Method average Latency: 55.25
Method average Jitter: 0.0
Packets heading to dev9:
Flow firstDepartureTime of packet 0: 1957.5
Flow lastScheduledTime of packet 0: 1999.75
Calculated average Latency: 42.25
Method average Latency: 55.25
Method average Jitter: 0.0
Calculated average latency of all devices: 42.15
>>>> INFORMATION OF FLOW2 <<<<
Total number of packets scheduled: 7
Path tree of the flow:
Path to dev30: dev24, switch4(flow3Fragment1), switch2(flow3Fragment2), switch6(flow3Fragment3), dev30,
Path to dev31: dev24, switch4(flow3Fragment1), switch2(flow3Fragment2), switch6(flow3Fragment4), dev31,
Path to dev32: dev24, switch4(flow3Fragment1), switch2(flow3Fragment2), switch6(flow3Fragment5), dev32,
Path to dev33: dev24, switch4(flow3Fragment1), switch2(flow3Fragment2), switch6(flow3Fragment6), dev33,
Path to dev34: dev24, switch4(flow3Fragment1), switch2(flow3Fragment2), switch6(flow3Fragment7), dev34,
Packets heading to dev30:
Flow firstDepartureTime of packet 0: 13.0
Flow lastScheduledTime of packet 0: 55.25
Calculated average Latency: 42.25
Method average Latency: 55.25
Method average Jitter: 0.0
Packets heading to dev31:
Flow firstDepartureTime of packet 0: 13.0
Flow lastScheduledTime of packet 0: 55.25
Calculated average Latency: 42.25
Method average Latency: 55.25
Method average Jitter: 0.0
Packets heading to dev32:
Flow firstDepartureTime of packet 0: 13.0
Flow lastScheduledTime of packet 0: 55.25
Calculated average Latency: 42.25
Method average Latency: 55.25
Method average Jitter: 0.0
Packets heading to dev33:
Flow firstDepartureTime of packet 0: 13.0
Flow lastScheduledTime of packet 0: 55.25
Calculated average Latency: 42.25
Method average Latency: 55.25
Method average Jitter: 0.0
Packets heading to dev34:
Flow firstDepartureTime of packet 0: 13.0
Flow lastScheduledTime of packet 0: 55.25
Calculated average Latency: 42.25
Method average Latency: 55.25
Method average Jitter: 0.0
Calculated average latency of all devices: 42.25
flow1 average latency: 55.4
flow1 average jitter: 0.0
flow2 average latency: 55.15
flow2 average jitter: 0.0
flow3 average latency: 55.25
flow3 average jitter: 0.0
Total number of scheduled packets: 21
Overall average latency: 55.266666
Overall average jitter: 0.0
- Serializing network
Serialized data is saved in network.ser
Time taken on logging: 0.5076679 seconds
==================================================
Execution time: 1.2339768 seconds