Commit 5aa7e12a authored by shengjh's avatar shengjh 🇨🇳
Browse files

Can go into the simulation animation but run fail.

parent d6ad4f90
......@@ -35,7 +35,7 @@ network dcn
// models the software trun around time, in the hosts, between the time
// ethFrame is received until the notification is received in software
// or when the pkt is send in software until it's received at the NIC.
double hostSwTurnAroundTime @unit(us);
double hostSwTurnAroundTime @unit(us);
// when non-zero, it models the intrinsic fixed switching delay
// on the output ports of the routers
double switchFixDelay @unit(us);
......@@ -51,6 +51,7 @@ network dcn
int numServersPerTor;
int numAggSwitches = int( (numServersPerTor * nicLinkSpeed) / (overSubFactor * fabricLinkSpeed) );
int numHosts = numServersPerTor * numTors;
@display("bgb=478,382");
types:
channel FabricChannel extends ned.DatarateChannel
{
......@@ -71,7 +72,7 @@ network dcn
**.promiscuous = true;
}
host[numHosts]: HomaHost {
@display("i=device/server2;p=257,245");
hostConfig = xmldoc("config.xml", "/topologyConfig/hostConfig[@id=$MODULE_INDEX]");
//appConfig = xmldoc("config.xml", "/topologyConfig/hostConfig[@id=$PARENTMODULE_INDEX]/appConfig");
nicLinkSpeed = nicLinkSpeed;
......
......@@ -25,7 +25,7 @@ network=dcn
**.host[*].transportScheme.boostTailBytesPrio = "${boostTailBytesPrio = $RTT }"
**.host[*].transportScheme.senderScheme = "${senderScheme = SRBF}" #Possible values: OBSERVE_PKT_PRIOS, SRBF
**.host[*].transportScheme.accountForGrantTraffic = ${accountForGrantTraffic = true}
**.host[*].transportScheme.linkCheckBytes = ${linkCheckBytes = -1}B
**.host[*].transportScheme.linkCheckBytes = ${linkCheckBytes = 1600}B
**.host[*].transportScheme.localPort = 2222
**.host[*].transportScheme.destPort = 2222
**.eth[*].**.transportType = "HomaTransport"
......
explicitMsgsizeIntervalGenerator.py
1744.70
1 0.025000
2 0.050000
3 0.075000
4 0.100000
5 0.125000
6 0.150000
7 0.157143
8 0.164286
9 0.171429
10 0.178571
11 0.185714
12 0.192857
13 0.200000
14 0.216667
15 0.233333
16 0.250000
17 0.266667
18 0.283333
19 0.300000
20 0.307143
21 0.314286
22 0.321429
23 0.328571
24 0.335714
25 0.342857
26 0.350000
27 0.357143
28 0.364286
29 0.371429
30 0.378571
31 0.385714
32 0.392857
33 0.400000
34 0.406500
35 0.413000
36 0.419500
37 0.426000
38 0.432500
39 0.439000
40 0.445500
41 0.452000
42 0.458500
43 0.465000
44 0.471500
45 0.478000
46 0.484500
47 0.491000
48 0.497500
49 0.504000
50 0.510500
51 0.517000
52 0.523500
53 0.530000
54 0.530875
55 0.531750
56 0.532625
57 0.533500
58 0.534375
59 0.535250
60 0.536125
61 0.537000
62 0.537875
63 0.538750
64 0.539625
65 0.540500
66 0.541375
67 0.542250
68 0.543125
69 0.544000
70 0.544875
71 0.545750
72 0.546625
73 0.547500
74 0.548375
75 0.549250
76 0.550125
77 0.551000
78 0.551875
79 0.552750
80 0.553625
81 0.554500
82 0.555375
83 0.556250
84 0.557125
85 0.558000
86 0.558875
87 0.559750
88 0.560625
89 0.561500
90 0.562375
91 0.563250
92 0.564125
93 0.565000
94 0.565875
95 0.566750
96 0.567625
97 0.568500
98 0.569375
99 0.570250
100 0.571125
101 0.572000
102 0.572875
103 0.573750
104 0.574625
105 0.575500
106 0.576375
107 0.577250
108 0.578125
109 0.579000
110 0.579875
111 0.580750
112 0.581625
113 0.582500
114 0.583375
115 0.584250
116 0.585125
117 0.586000
118 0.586875
119 0.587750
120 0.588625
121 0.589500
122 0.590375
123 0.591250
124 0.592125
125 0.593000
126 0.593875
127 0.594750
128 0.595625
129 0.596500
130 0.597375
131 0.598250
132 0.599125
133 0.600000
134 0.600187
135 0.600375
136 0.600562
137 0.600749
138 0.600936
139 0.601124
140 0.601311
141 0.601498
142 0.601685
143 0.601873
144 0.602060
145 0.602247
146 0.602434
147 0.602622
148 0.602809
149 0.602996
150 0.603184
151 0.603371
152 0.603558
153 0.603745
154 0.603933
155 0.604120
156 0.604307
157 0.604494
158 0.604682
159 0.604869
160 0.605056
161 0.605243
162 0.605431
163 0.605618
164 0.605805
165 0.605993
166 0.606180
167 0.606367
168 0.606554
169 0.606742
170 0.606929
171 0.607116
172 0.607303
173 0.607491
174 0.607678
175 0.607865
176 0.608052
177 0.608240
178 0.608427
179 0.608614
180 0.608801
181 0.608989
182 0.609176
183 0.609363
184 0.609551
185 0.609738
186 0.609925
187 0.610112
188 0.610300
189 0.610487
190 0.610674
191 0.610861
192 0.611049
193 0.611236
194 0.611423
195 0.611610
196 0.611798
197 0.611985
198 0.612172
199 0.612360
200 0.612547
201 0.612734
202 0.612921
203 0.613109
204 0.613296
205 0.613483
206 0.613670
207 0.613858
208 0.614045
209 0.614232
210 0.614419
211 0.614607
212 0.614794
213 0.614981
214 0.615169
215 0.615356
216 0.615543
217 0.615730
218 0.615918
219 0.616105
220 0.616292
221 0.616479
222 0.616667
223 0.616854
224 0.617041
225 0.617228
226 0.617416
227 0.617603
228 0.617790
229 0.617978
230 0.618165
231 0.618352
232 0.618539
233 0.618727
234 0.618914
235 0.619101
236 0.619288
237 0.619476
238 0.619663
239 0.619850
240 0.620037
241 0.620225
242 0.620412
243 0.620599
244 0.620787
245 0.620974
246 0.621161
247 0.621348
248 0.621536
254 0.622659
267 0.625094
280 0.627528
294 0.630150
307 0.632584
320 0.635019
334 0.637640
347 0.640075
360 0.642509
374 0.645131
387 0.647566
400 0.650000
414 0.652622
427 0.655056
441 0.657678
454 0.660112
467 0.662547
481 0.665169
494 0.667603
507 0.670037
521 0.672659
534 0.675094
547 0.677528
561 0.680150
574 0.682584
587 0.685019
601 0.687640
614 0.690075
627 0.692509
641 0.695131
654 0.697566
667 0.700000
684 0.702553
701 0.705105
717 0.707508
734 0.710060
751 0.712613
767 0.715015
784 0.717568
801 0.720120
817 0.722523
834 0.725075
851 0.727628
867 0.730030
884 0.732583
901 0.735135
917 0.737538
934 0.740090
951 0.742643
967 0.745045
984 0.747598
1000 0.750000
1017 0.752553
1034 0.755105
1050 0.757508
1067 0.760060
1084 0.762613
1100 0.765015
1117 0.767568
1134 0.770120
1150 0.772523
1167 0.775075
1184 0.777628
1200 0.780030
1217 0.782583
1234 0.785135
1250 0.787538
1267 0.790090
1284 0.792643
1300 0.795045
1317 0.797598
1333 0.800000
1383 0.802500
1433 0.805000
1483 0.807500
1533 0.810000
1583 0.812500
1633 0.815000
1683 0.817500
1733 0.820000
1783 0.822500
1833 0.825000
1883 0.827500
1933 0.830000
1983 0.832500
2033 0.835000
2083 0.837500
2133 0.840000
2183 0.842500
2233 0.845000
2283 0.847500
2333 0.850000
2383 0.852500
2433 0.855000
2483 0.857500
2533 0.860000
2583 0.862500
2633 0.865000
2683 0.867500
2733 0.870000
2783 0.872500
2833 0.875000
2883 0.877500
2933 0.880000
2983 0.882500
3033 0.885000
3083 0.887500
3133 0.890000
3183 0.892500
3233 0.895000
3283 0.897500
3333 0.900000
7001 0.902505
7334 0.905003
7667 0.907500
8001 0.910005
8334 0.912503
8667 0.915000
9001 0.917505
9334 0.920003
9667 0.922501
10001 0.925006
10334 0.927503
10667 0.930001
11001 0.932506
11334 0.935003
11667 0.937501
12001 0.940006
12334 0.942504
12667 0.945001
13001 0.947506
13334 0.950004
13667 0.952501
14001 0.955006
14334 0.957504
14667 0.960002
15001 0.962507
15334 0.965004
15667 0.967502
16001 0.970007
16334 0.972504
16667 0.975002
17001 0.977507
17334 0.980005
17667 0.982502
18001 0.985007
18334 0.987505
18667 0.990002
19001 0.992507
19334 0.995005
19667 0.997502
20000 1.000000
1622.94
6 0.15
13 0.2
19 0.3
33 0.4
53 0.53
133 0.6
667 0.7
1333 0.8
3333 0.9
6667 0.97
20000 1
1263.081
50 0
51 0.0141535984557327
52 0.0283071969114653
53 0.042460795367198
54 0.0566143938229306
55 0.0707679922786633
57 0.0849215907343959
58 0.0990751891901286
59 0.113228787645861
61 0.127382386101594
62 0.141535984557327
63 0.155689583013059
65 0.169843181468792
67 0.183996779924525
68 0.198150378380257
70 0.21230397683599
72 0.226457575291722
74 0.240611173747455
77 0.254764772203188
79 0.26891837065892
81 0.283071969114653
84 0.297225567570386
87 0.311379166026118
90 0.325532764481851
93 0.339686362937584
97 0.353839961393316
100 0.367993559849049
104 0.382147158304782
109 0.396300756760514
113 0.410454355216247
119 0.42460795367198
124 0.438761552127712
131 0.452915150583445
138 0.467068749039178
145 0.48122234749491
154 0.495375945950643
164 0.509529544406376
175 0.523683142862108
187 0.537836741317841
202 0.551990339773573
219 0.566143938229306
239 0.580297536685039
263 0.594451135140772
293 0.608604733596504
330 0.622758332052237
378 0.636911930507969
443 0.651065528963702
534 0.665219127419435
673 0.679372725875167
909 0.6935263243309
1400 0.707679922786633
1425 0.71341033713535
1450 0.719140751484068
1476 0.724871165832785
1503 0.730601580181503
1532 0.73633199453022
1561 0.742062408878938
1592 0.747792823227656
1623 0.753523237576373
1656 0.759253651925091
1691 0.764984066273808
1727 0.770714480622526
1764 0.776444894971243
1803 0.782175309319961
1844 0.787905723668679
1887 0.793636138017396
1932 0.799366552366114
1979 0.805096966714831
2028 0.810827381063549
2080 0.816557795412266
2134 0.822288209760984
2192 0.828018624109701
2252 0.833749038458419
2316 0.839479452807137
2384 0.845209867155854
2456 0.850940281504572
2533 0.856670695853289
2614 0.862401110202007
2701 0.868131524550724
2793 0.873861938899442
2893 0.87959235324816
2999 0.885322767596877
3114 0.891053181945595
3238 0.896783596294312
3372 0.90251401064303
3518 0.908244424991747
3676 0.913974839340465
3850 0.919705253689182
4042 0.9254356680379
4253 0.931166082386617
4487 0.936896496735335
4749 0.942626911084053
5043 0.94835732543277
5376 0.954087739781488
5757 0.959818154130205
6195 0.965548568478923
6705 0.97127898282764
7307 0.977009397176358
8028 0.982739811525076
8906 0.988470225873793
10000 0.994200640222511
10174 0.994308359446699
10355 0.994416078670888
10542 0.994523797895077
10736 0.994631517119266
10938 0.994739236343455
11146 0.994846955567643
11364 0.994954674791832
11589 0.995062394016021
11824 0.99517011324021
12069 0.995277832464399
12324 0.995385551688587
12590 0.995493270912776
12868 0.995600990136965
13158 0.995708709361154
13462 0.995816428585342
13780 0.995924147809531
14113 0.99603186703372
14463 0.996139586257909
14831 0.996247305482098
15217 0.996355024706286
15625 0.996462743930475
16055 0.996570463154664
16509 0.996678182378853
16990 0.996785901603042
17500 0.99689362082723
18041 0.997001340051419
18617 0.997109059275608
19231 0.997216778499797
19886 0.997324497723986
20588 0.997432216948174
21341 0.997539936172363
22152 0.997647655396552
23026 0.997755374620741
23973 0.99786309384493
25000 0.997970813069118
26119 0.998078532293307
27344 0.998186251517496
28689 0.998293970741685
30172 0.998401689965874
31818 0.998509409190062
33654 0.998617128414251
35714 0.99872484763844
38043 0.998832566862629
40698 0.998940286086818
43750 0.999048005311006
47297 0.999155724535195
51471 0.999263443759384
56452 0.999371162983573
62500 0.999478882207761
70000 0.99958660143195
71174 0.999594869403311
72389 0.999603137374672
73645 0.999611405346033
74946 0.999619673317394
76294 0.999627941288755
77691 0.999636209260116
79141 0.999644477231477
80645 0.999652745202838
82208 0.999661013174199
83832 0.99966928114556
85522 0.999677549116921
87282 0.999685817088282
89115 0.999694085059643
91027 0.999702353031004
93023 0.999710621002365
95109 0.999718888973726
97290 0.999727156945087
99573 0.999735424916448
101966 0.999743692887809
104478 0.99975196085917
107116 0.999760228830531
109890 0.999768496801892
112812 0.999776764773253
115894 0.999785032744614
119149 0.999793300715975
122592 0.999801568687336
126240 0.999809836658697
130112 0.999818104630058
134228 0.999826372601419
138614 0.99983464057278
143296 0.999842908544141
148305 0.999851176515502
153677 0.999859444486863
159453 0.999867712458224
165680 0.999875980429585
172414 0.999884248400946
179718 0.999892516372307
187668 0.999900784343668