-
Notifications
You must be signed in to change notification settings - Fork 0
/
latency-3.sh
executable file
·167 lines (110 loc) · 11.4 KB
/
latency-3.sh
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
docker exec -it paris tc qdisc add dev eth0 root handle 1: prio bands 16 priomap 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
docker exec -it paris tc qdisc add dev eth0 parent 1:2 handle 2: netem delay 121ms
docker exec -it paris tc qdisc add dev eth0 parent 1:3 handle 3: netem delay 126ms
docker exec -it paris tc qdisc add dev eth0 parent 1:4 handle 4: netem delay 76ms
docker exec -it paris tc qdisc add dev eth0 parent 1:5 handle 5: netem delay 37ms
docker exec -it paris tc filter add dev eth0 parent 1:0 protocol ip u32 match ip dst 172.20.0.207 flowid 1:3
docker exec -it paris tc filter add dev eth0 parent 1:0 protocol ip u32 match ip dst 172.20.0.209 flowid 1:5
docker exec -it paris tc filter add dev eth0 parent 1:0 protocol ip u32 match ip dst 172.20.0.19 flowid 1:5
docker exec -it paris tc filter add dev eth0 parent 1:0 protocol ip u32 match ip dst 172.20.0.27 flowid 1:3
docker exec -it paris tc filter add dev eth0 parent 1:0 protocol ip u32 match ip dst 172.20.0.29 flowid 1:5
docker exec -it singapore tc qdisc add dev eth0 root handle 1: prio bands 16 priomap 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
docker exec -it singapore tc qdisc add dev eth0 parent 1:2 handle 2: netem delay 126ms
docker exec -it singapore tc qdisc add dev eth0 parent 1:3 handle 3: netem delay 38ms
docker exec -it singapore tc qdisc add dev eth0 parent 1:4 handle 4: netem delay 157ms
docker exec -it singapore tc qdisc add dev eth0 parent 1:5 handle 5: netem delay 126ms
docker exec -it singapore tc filter add dev eth0 parent 1:0 protocol ip u32 match ip dst 172.20.0.205 flowid 1:2
docker exec -it singapore tc filter add dev eth0 parent 1:0 protocol ip u32 match ip dst 172.20.0.209 flowid 1:5
docker exec -it singapore tc filter add dev eth0 parent 1:0 protocol ip u32 match ip dst 172.20.0.5 flowid 1:2
docker exec -it singapore tc filter add dev eth0 parent 1:0 protocol ip u32 match ip dst 172.20.0.9 flowid 1:2
docker exec -it singapore tc filter add dev eth0 parent 1:0 protocol ip u32 match ip dst 172.20.0.15 flowid 1:2
docker exec -it singapore tc filter add dev eth0 parent 1:0 protocol ip u32 match ip dst 172.20.0.17 flowid 1:2
docker exec -it singapore tc filter add dev eth0 parent 1:0 protocol ip u32 match ip dst 172.20.0.19 flowid 1:5
docker exec -it singapore tc filter add dev eth0 parent 1:0 protocol ip u32 match ip dst 172.20.0.25 flowid 1:2
docker exec -it singapore tc filter add dev eth0 parent 1:0 protocol ip u32 match ip dst 172.20.0.29 flowid 1:5
docker exec -it newyork tc qdisc add dev eth0 root handle 1: prio bands 16 priomap 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
docker exec -it newyork tc qdisc add dev eth0 parent 1:2 handle 2: netem delay 37ms
docker exec -it newyork tc qdisc add dev eth0 parent 1:3 handle 3: netem delay 102ms
docker exec -it newyork tc qdisc add dev eth0 parent 1:4 handle 4: netem delay 126ms
docker exec -it newyork tc qdisc add dev eth0 parent 1:5 handle 5: netem delay 107ms
docker exec -it newyork tc filter add dev eth0 parent 1:0 protocol ip u32 match ip dst 172.20.0.205 flowid 1:2
docker exec -it newyork tc filter add dev eth0 parent 1:0 protocol ip u32 match ip dst 172.20.0.207 flowid 1:4
docker exec -it newyork tc filter add dev eth0 parent 1:0 protocol ip u32 match ip dst 172.20.0.5 flowid 1:2
docker exec -it newyork tc filter add dev eth0 parent 1:0 protocol ip u32 match ip dst 172.20.0.7 flowid 1:2
docker exec -it newyork tc filter add dev eth0 parent 1:0 protocol ip u32 match ip dst 172.20.0.15 flowid 1:2
docker exec -it newyork tc filter add dev eth0 parent 1:0 protocol ip u32 match ip dst 172.20.0.17 flowid 1:2
docker exec -it newyork tc filter add dev eth0 parent 1:0 protocol ip u32 match ip dst 172.20.0.25 flowid 1:2
docker exec -it newyork tc filter add dev eth0 parent 1:0 protocol ip u32 match ip dst 172.20.0.27 flowid 1:4
docker exec -it zoo-paris-cent tc qdisc add dev eth0 root handle 1: prio bands 16 priomap 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
docker exec -it zoo-paris-cent tc qdisc add dev eth0 parent 1:2 handle 2: netem delay 121ms
docker exec -it zoo-paris-cent tc qdisc add dev eth0 parent 1:3 handle 3: netem delay 126ms
docker exec -it zoo-paris-cent tc qdisc add dev eth0 parent 1:4 handle 4: netem delay 76ms
docker exec -it zoo-paris-cent tc qdisc add dev eth0 parent 1:5 handle 5: netem delay 37ms
docker exec -it zoo-paris-cent tc filter add dev eth0 parent 1:0 protocol ip u32 match ip dst 172.20.0.207 flowid 1:3
docker exec -it zoo-paris-cent tc filter add dev eth0 parent 1:0 protocol ip u32 match ip dst 172.20.0.209 flowid 1:5
docker exec -it zoo-singapore-cent tc qdisc add dev eth0 root handle 1: prio bands 16 priomap 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
docker exec -it zoo-singapore-cent tc qdisc add dev eth0 parent 1:2 handle 2: netem delay 121ms
docker exec -it zoo-singapore-cent tc qdisc add dev eth0 parent 1:3 handle 3: netem delay 126ms
docker exec -it zoo-singapore-cent tc qdisc add dev eth0 parent 1:4 handle 4: netem delay 76ms
docker exec -it zoo-singapore-cent tc qdisc add dev eth0 parent 1:5 handle 5: netem delay 37ms
docker exec -it zoo-singapore-cent tc filter add dev eth0 parent 1:0 protocol ip u32 match ip dst 172.20.0.207 flowid 1:3
docker exec -it zoo-singapore-cent tc filter add dev eth0 parent 1:0 protocol ip u32 match ip dst 172.20.0.209 flowid 1:5
docker exec -it zoo-newyork-cent tc qdisc add dev eth0 root handle 1: prio bands 16 priomap 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
docker exec -it zoo-newyork-cent tc qdisc add dev eth0 parent 1:2 handle 2: netem delay 121ms
docker exec -it zoo-newyork-cent tc qdisc add dev eth0 parent 1:3 handle 3: netem delay 126ms
docker exec -it zoo-newyork-cent tc qdisc add dev eth0 parent 1:4 handle 4: netem delay 76ms
docker exec -it zoo-newyork-cent tc qdisc add dev eth0 parent 1:5 handle 5: netem delay 37ms
docker exec -it zoo-newyork-cent tc filter add dev eth0 parent 1:0 protocol ip u32 match ip dst 172.20.0.207 flowid 1:3
docker exec -it zoo-newyork-cent tc filter add dev eth0 parent 1:0 protocol ip u32 match ip dst 172.20.0.209 flowid 1:5
docker exec -it zoo-paris-clust tc qdisc add dev eth0 root handle 1: prio bands 16 priomap 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
docker exec -it zoo-paris-clust tc qdisc add dev eth0 parent 1:2 handle 2: netem delay 121ms
docker exec -it zoo-paris-clust tc qdisc add dev eth0 parent 1:3 handle 3: netem delay 126ms
docker exec -it zoo-paris-clust tc qdisc add dev eth0 parent 1:4 handle 4: netem delay 76ms
docker exec -it zoo-paris-clust tc qdisc add dev eth0 parent 1:5 handle 5: netem delay 37ms
docker exec -it zoo-paris-clust tc filter add dev eth0 parent 1:0 protocol ip u32 match ip dst 172.20.0.207 flowid 1:3
docker exec -it zoo-paris-clust tc filter add dev eth0 parent 1:0 protocol ip u32 match ip dst 172.20.0.209 flowid 1:5
docker exec -it zoo-paris-clust tc filter add dev eth0 parent 1:0 protocol ip u32 match ip dst 172.20.0.19 flowid 1:5
docker exec -it zoo-singapore-clust tc qdisc add dev eth0 root handle 1: prio bands 16 priomap 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
docker exec -it zoo-singapore-clust tc qdisc add dev eth0 parent 1:2 handle 2: netem delay 121ms
docker exec -it zoo-singapore-clust tc qdisc add dev eth0 parent 1:3 handle 3: netem delay 126ms
docker exec -it zoo-singapore-clust tc qdisc add dev eth0 parent 1:4 handle 4: netem delay 76ms
docker exec -it zoo-singapore-clust tc qdisc add dev eth0 parent 1:5 handle 5: netem delay 37ms
docker exec -it zoo-singapore-clust tc filter add dev eth0 parent 1:0 protocol ip u32 match ip dst 172.20.0.205 flowid 1:2
docker exec -it zoo-singapore-clust tc filter add dev eth0 parent 1:0 protocol ip u32 match ip dst 172.20.0.209 flowid 1:5
docker exec -it zoo-singapore-clust tc filter add dev eth0 parent 1:0 protocol ip u32 match ip dst 172.20.0.19 flowid 1:5
docker exec -it zoo-newyork-clust tc qdisc add dev eth0 root handle 1: prio bands 16 priomap 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
docker exec -it zoo-newyork-clust tc qdisc add dev eth0 parent 1:2 handle 2: netem delay 37ms
docker exec -it zoo-newyork-clust tc qdisc add dev eth0 parent 1:3 handle 3: netem delay 102ms
docker exec -it zoo-newyork-clust tc qdisc add dev eth0 parent 1:4 handle 4: netem delay 126ms
docker exec -it zoo-newyork-clust tc qdisc add dev eth0 parent 1:5 handle 5: netem delay 107ms
docker exec -it zoo-newyork-clust tc filter add dev eth0 parent 1:0 protocol ip u32 match ip dst 172.20.0.205 flowid 1:2
docker exec -it zoo-newyork-clust tc filter add dev eth0 parent 1:0 protocol ip u32 match ip dst 172.20.0.207 flowid 1:4
docker exec -it zoo-newyork-clust tc filter add dev eth0 parent 1:0 protocol ip u32 match ip dst 172.20.0.15 flowid 1:2
docker exec -it zoo-newyork-clust tc filter add dev eth0 parent 1:0 protocol ip u32 match ip dst 172.20.0.17 flowid 1:2
docker exec -it zoo-paris-dist tc qdisc add dev eth0 root handle 1: prio bands 16 priomap 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
docker exec -it zoo-paris-dist tc qdisc add dev eth0 parent 1:2 handle 2: netem delay 121ms
docker exec -it zoo-paris-dist tc qdisc add dev eth0 parent 1:3 handle 3: netem delay 126ms
docker exec -it zoo-paris-dist tc qdisc add dev eth0 parent 1:4 handle 4: netem delay 76ms
docker exec -it zoo-paris-dist tc qdisc add dev eth0 parent 1:5 handle 5: netem delay 37ms
docker exec -it zoo-paris-dist tc filter add dev eth0 parent 1:0 protocol ip u32 match ip dst 172.20.0.207 flowid 1:3
docker exec -it zoo-paris-dist tc filter add dev eth0 parent 1:0 protocol ip u32 match ip dst 172.20.0.209 flowid 1:5
docker exec -it zoo-paris-dist tc filter add dev eth0 parent 1:0 protocol ip u32 match ip dst 172.20.0.27 flowid 1:3
docker exec -it zoo-paris-dist tc filter add dev eth0 parent 1:0 protocol ip u32 match ip dst 172.20.0.29 flowid 1:5
docker exec -it zoo-singapore-dist tc qdisc add dev eth0 root handle 1: prio bands 16 priomap 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
docker exec -it zoo-singapore-dist tc qdisc add dev eth0 parent 1:2 handle 2: netem delay 126ms
docker exec -it zoo-singapore-dist tc qdisc add dev eth0 parent 1:3 handle 3: netem delay 38ms
docker exec -it zoo-singapore-dist tc qdisc add dev eth0 parent 1:4 handle 4: netem delay 157ms
docker exec -it zoo-singapore-dist tc qdisc add dev eth0 parent 1:5 handle 5: netem delay 126ms
docker exec -it zoo-singapore-dist tc filter add dev eth0 parent 1:0 protocol ip u32 match ip dst 172.20.0.205 flowid 1:2
docker exec -it zoo-singapore-dist tc filter add dev eth0 parent 1:0 protocol ip u32 match ip dst 172.20.0.209 flowid 1:5
docker exec -it zoo-singapore-dist tc filter add dev eth0 parent 1:0 protocol ip u32 match ip dst 172.20.0.25 flowid 1:2
docker exec -it zoo-singapore-dist tc filter add dev eth0 parent 1:0 protocol ip u32 match ip dst 172.20.0.29 flowid 1:5
docker exec -it zoo-newyork-dist tc qdisc add dev eth0 root handle 1: prio bands 16 priomap 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
docker exec -it zoo-newyork-dist tc qdisc add dev eth0 parent 1:2 handle 2: netem delay 37ms
docker exec -it zoo-newyork-dist tc qdisc add dev eth0 parent 1:3 handle 3: netem delay 102ms
docker exec -it zoo-newyork-dist tc qdisc add dev eth0 parent 1:4 handle 4: netem delay 126ms
docker exec -it zoo-newyork-dist tc qdisc add dev eth0 parent 1:5 handle 5: netem delay 107ms
docker exec -it zoo-newyork-dist tc filter add dev eth0 parent 1:0 protocol ip u32 match ip dst 172.20.0.205 flowid 1:2
docker exec -it zoo-newyork-dist tc filter add dev eth0 parent 1:0 protocol ip u32 match ip dst 172.20.0.207 flowid 1:4
docker exec -it zoo-newyork-dist tc filter add dev eth0 parent 1:0 protocol ip u32 match ip dst 172.20.0.25 flowid 1:2
docker exec -it zoo-newyork-dist tc filter add dev eth0 parent 1:0 protocol ip u32 match ip dst 172.20.0.27 flowid 1:4