-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcommands.sh
442 lines (431 loc) · 34 KB
/
commands.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
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
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
# CONNECTION
# SSH commands for each VM
Client 1: SSH_AUTH_SOCK=0 ssh dcetin@storelrt4zinzjmismsshpublicip1.westeurope.cloudapp.azure.com
Client 2: SSH_AUTH_SOCK=0 ssh dcetin@storelrt4zinzjmismsshpublicip2.westeurope.cloudapp.azure.com
Client 3: SSH_AUTH_SOCK=0 ssh dcetin@storelrt4zinzjmismsshpublicip3.westeurope.cloudapp.azure.com
Middleware 1: SSH_AUTH_SOCK=0 ssh dcetin@storelrt4zinzjmismsshpublicip4.westeurope.cloudapp.azure.com
Middleware 2: SSH_AUTH_SOCK=0 ssh dcetin@storelrt4zinzjmismsshpublicip5.westeurope.cloudapp.azure.com
Server 1: SSH_AUTH_SOCK=0 ssh dcetin@storelrt4zinzjmismsshpublicip6.westeurope.cloudapp.azure.com
Server 2: SSH_AUTH_SOCK=0 ssh dcetin@storelrt4zinzjmismsshpublicip7.westeurope.cloudapp.azure.com
Server 3: SSH_AUTH_SOCK=0 ssh dcetin@storelrt4zinzjmismsshpublicip8.westeurope.cloudapp.azure.com
# SSH commancds for each set of VMs
all: SSH_AUTH_SOCK=0 cssh dcetin@storelrt4zinzjmismsshpublicip{1,2,3,4,5,6,7,8}.westeurope.cloudapp.azure.com
clients: SSH_AUTH_SOCK=0 cssh dcetin@storelrt4zinzjmismsshpublicip{1,2,3}.westeurope.cloudapp.azure.com
mws: SSH_AUTH_SOCK=0 cssh dcetin@storelrt4zinzjmismsshpublicip{4,5}.westeurope.cloudapp.azure.com
servers: SSH_AUTH_SOCK=0 cssh dcetin@storelrt4zinzjmismsshpublicip{6,7,8}.westeurope.cloudapp.azure.com
# IP addresses for each VM
Client 1 (1): 10.0.0.8
Client 2 (2): 10.0.0.4
Client 3 (3): 10.0.0.7
Middleware 1 (4): 10.0.0.10
Middleware 2 (5): 10.0.0.9
Server 1 (6): 10.0.0.6
Server 2 (7): 10.0.0.5
Server 3 (8): 10.0.0.11
# SETTING UP THE ENVIRONMENT
sudo apt-get install memcached git unzip ant openjdk-8-jdk
wget https://github.com/RedisLabs/memtier_benchmark/archive/master.zip
unzip master.zip
cd memtier_benchmark-master
sudo apt-get install build-essential autoconf automake libpcre3-dev libevent-dev pkg-config zlib1g-dev
autoreconf -ivf
./configure
make
sudo service memcached stop
# GENERAL PURPOSE
# Install dstat
sudo apt install dstat
# Install iperf3
sudo apt-get install iperf3
# iperf3 on server mode
iperf3 -s
# iperf3 on client mode with all used options
iperf3 -c 10.0.0.X -P 1 > iperf3-EXP.out
iperf3 -c 10.0.0.X -P 1 -R > iperf3-EXP-P1-R.out
# Copy iperf3 results
SSH_AUTH_SOCK=0 scp -r dcetin@storelrt4zinzjmismsshpublicipX.westeurope.cloudapp.azure.com:/home/dcetin/asl-fall18-project/iperf* /home/doruk/Desktop/
# Clone git repo
git clone https://gitlab.ethz.ch/dcetin/asl-fall18-project.git
# Check the number of threads in memcached server
echo -e 'stats\r\nquit' | nc 0.0.0.0 11211 | grep "threads"
# Kill the background dstat processes
pkill -f dstat
# Populate the database
./memtier_benchmark --server=10.0.0.6 --port=11211 --clients=1 --threads=1 --test-time=15 --ratio=1:0 --expiry-range=9999-10000 --data-size=4096 --key-maximum=9900 --protocol=memcache_text --hide-histogram --key-pattern=S:S --debug
./memtier_benchmark --server=10.0.0.5 --port=11211 --clients=1 --threads=1 --test-time=15 --ratio=1:0 --expiry-range=9999-10000 --data-size=4096 --key-maximum=9900 --protocol=memcache_text --hide-histogram --key-pattern=S:S --debug
./memtier_benchmark --server=10.0.0.11 --port=11211 --clients=1 --threads=1 --test-time=15 --ratio=1:0 --expiry-range=9999-10000 --data-size=4096 --key-maximum=9900 --protocol=memcache_text --hide-histogram --key-pattern=S:S --debug
# Auxiliary experiment plots
python new-equal-load-plotter.py
python auxiliary-2-plotter.py show
# COPYING EXPERIMENT RESULTS
rsync -a /home/doruk/Desktop/asl/asl-fall18-project/experiment-results/csb1/ /home/doruk/Desktop/asl/asl-fall18-project/res/
rsync -a /home/doruk/Desktop/asl/asl-fall18-project/experiment-results/csb2/ /home/doruk/Desktop/asl/asl-fall18-project/res/
rsync -a /home/doruk/Desktop/asl/asl-fall18-project/experiment-results/mwb1-ro/ /home/doruk/Desktop/asl/asl-fall18-project/res/
rsync -a /home/doruk/Desktop/asl/asl-fall18-project/experiment-results/mwb2-ro/ /home/doruk/Desktop/asl/asl-fall18-project/res/
rsync -a /home/doruk/Desktop/asl/asl-fall18-project/experiment-results/mwb1-wo/ /home/doruk/Desktop/asl/asl-fall18-project/res/
rsync -a /home/doruk/Desktop/asl/asl-fall18-project/experiment-results/mwb2-wo/ /home/doruk/Desktop/asl/asl-fall18-project/res/
rsync -a /home/doruk/Desktop/asl/asl-fall18-project/experiment-results/tpfw/ /home/doruk/Desktop/asl/asl-fall18-project/res/
rsync -a /home/doruk/Desktop/asl/asl-fall18-project/experiment-results/gmg/ /home/doruk/Desktop/asl/asl-fall18-project/res/
# PLOTTING & SUMMARIZING
python new-csb-plotter.py 1-ro save > out/summary/csb1-ro-summary.txt
python new-csb-plotter.py 1-wo save > out/summary/csb1-wo-summary.txt
python new-csb-plotter.py 2-ro save > out/summary/csb2-ro-summary.txt
python new-csb-plotter.py 2-wo save > out/summary/csb2-wo-summary.txt
python mwb-plotter.py 1-ro save > out/summary/mwb1-ro-summary.txt
python mwb-plotter.py 1-wo save > out/summary/mwb1-wo-summary.txt
python mwb-plotter.py 2-ro save > out/summary/mwb2-ro-summary.txt
python mwb-plotter.py 2-wo save > out/summary/mwb2-wo-summary.txt
python tpfw-plotter.py save > out/summary/tpfw-summary.txt
python gmg-plotter.py mget std save > out/summary/gmg-mget-summary.txt
python gmg-plotter.py set std save > out/summary/gmg-set-summary.txt
python gmg-plotter.py mget extra save > out/summary/gmg-extra-mget-summary.txt
python gmg-plotter.py set extra save > out/summary/gmg-extra-set-summary.txt
python -W ignore 2ka-analysis.py 1:0 cli_tpt 3 add > out/summary/2k-wo-tpt-3-add.txt
python -W ignore 2ka-analysis.py 1:0 cli_tpt 3 mult > out/summary/2k-wo-tpt-3-mult.txt
python -W ignore 2ka-analysis.py 1:0 cli_lat 3 add > out/summary/2k-wo-lat-3-add.txt
python -W ignore 2ka-analysis.py 1:0 cli_lat 3 mult > out/summary/2k-wo-lat-3-mult.txt
python -W ignore 2ka-analysis.py 0:1 cli_tpt 3 add > out/summary/2k-ro-tpt-3-add.txt
python -W ignore 2ka-analysis.py 0:1 cli_tpt 3 mult > out/summary/2k-ro-tpt-3-mult.txt
python -W ignore 2ka-analysis.py 0:1 cli_lat 3 add > out/summary/2k-ro-lat-3-add.txt
python -W ignore 2ka-analysis.py 0:1 cli_lat 3 mult > out/summary/2k-ro-lat-3-mult.txt
# Constructing each configuration on own measurements
python mm-queueing.py 8 6 8 > ./../plot/out/mm-queueing-8-6-8.txt
python mm-queueing.py 8 24 8 > ./../plot/out/mm-queueing-8-24-8.txt
python mm-queueing.py 8 48 8 > ./../plot/out/mm-queueing-8-48-8.txt
python mm-queueing.py 8 96 8 > ./../plot/out/mm-queueing-8-96-8.txt
python mm-queueing.py 8 192 8 > ./../plot/out/mm-queueing-8-192-8.txt
python mm-queueing.py 8 288 8 > ./../plot/out/mm-queueing-8-288-8.txt
python mm-queueing.py 16 6 16 > ./../plot/out/mm-queueing-16-6-16.txt
python mm-queueing.py 16 24 16 > ./../plot/out/mm-queueing-16-24-16.txt
python mm-queueing.py 16 36 16 > ./../plot/out/mm-queueing-16-36-16.txt
python mm-queueing.py 16 48 16 > ./../plot/out/mm-queueing-16-48-16.txt
python mm-queueing.py 16 96 16 > ./../plot/out/mm-queueing-16-96-16.txt
python mm-queueing.py 16 192 16 > ./../plot/out/mm-queueing-16-192-16.txt
python mm-queueing.py 16 288 16 > ./../plot/out/mm-queueing-16-288-16.txt
python mm-queueing.py 32 6 32 > ./../plot/out/mm-queueing-32-6-32.txt
python mm-queueing.py 32 24 32 > ./../plot/out/mm-queueing-32-24-32.txt
python mm-queueing.py 32 48 32 > ./../plot/out/mm-queueing-32-48-32.txt
python mm-queueing.py 32 72 32 > ./../plot/out/mm-queueing-32-72-32.txt
python mm-queueing.py 32 96 32 > ./../plot/out/mm-queueing-32-96-32.txt
python mm-queueing.py 32 192 32 > ./../plot/out/mm-queueing-32-192-32.txt
python mm-queueing.py 32 288 32 > ./../plot/out/mm-queueing-32-288-32.txt
python mm-queueing.py 64 6 64 > ./../plot/out/mm-queueing-64-6-64.txt
python mm-queueing.py 64 24 64 > ./../plot/out/mm-queueing-64-24-64.txt
python mm-queueing.py 64 48 64 > ./../plot/out/mm-queueing-64-48-64.txt
python mm-queueing.py 64 96 64 > ./../plot/out/mm-queueing-64-96-64.txt
python mm-queueing.py 64 144 64 > ./../plot/out/mm-queueing-64-144-64.txt
python mm-queueing.py 64 192 64 > ./../plot/out/mm-queueing-64-192-64.txt
python mm-queueing.py 64 288 64 > ./../plot/out/mm-queueing-64-288-64.txt
# Constructing all models based on 64 thread measurements
python mm-queueing.py 8 6 64 > ./../plot/out/mm-queueing-8-6-64.txt
python mm-queueing.py 8 24 64 > ./../plot/out/mm-queueing-8-24-64.txt
python mm-queueing.py 8 48 64 > ./../plot/out/mm-queueing-8-48-64.txt
python mm-queueing.py 8 96 64 > ./../plot/out/mm-queueing-8-96-64.txt
python mm-queueing.py 8 192 64 > ./../plot/out/mm-queueing-8-192-64.txt
python mm-queueing.py 8 288 64 > ./../plot/out/mm-queueing-8-288-64.txt
python mm-queueing.py 16 6 64 > ./../plot/out/mm-queueing-16-6-64.txt
python mm-queueing.py 16 24 64 > ./../plot/out/mm-queueing-16-24-64.txt
python mm-queueing.py 16 36 64 > ./../plot/out/mm-queueing-16-36-64.txt
python mm-queueing.py 16 48 64 > ./../plot/out/mm-queueing-16-48-64.txt
python mm-queueing.py 16 96 64 > ./../plot/out/mm-queueing-16-96-64.txt
python mm-queueing.py 16 192 64 > ./../plot/out/mm-queueing-16-192-64.txt
python mm-queueing.py 16 288 64 > ./../plot/out/mm-queueing-16-288-64.txt
python mm-queueing.py 32 6 64 > ./../plot/out/mm-queueing-32-6-64.txt
python mm-queueing.py 32 24 64 > ./../plot/out/mm-queueing-32-24-64.txt
python mm-queueing.py 32 48 64 > ./../plot/out/mm-queueing-32-48-64.txt
python mm-queueing.py 32 72 64 > ./../plot/out/mm-queueing-32-72-64.txt
python mm-queueing.py 32 96 64 > ./../plot/out/mm-queueing-32-96-64.txt
python mm-queueing.py 32 192 64 > ./../plot/out/mm-queueing-32-192-64.txt
python mm-queueing.py 32 288 64 > ./../plot/out/mm-queueing-32-288-64.txt
python mm-queueing.py 64 6 64 > ./../plot/out/mm-queueing-64-6-64.txt
python mm-queueing.py 64 24 64 > ./../plot/out/mm-queueing-64-24-64.txt
python mm-queueing.py 64 48 64 > ./../plot/out/mm-queueing-64-48-64.txt
python mm-queueing.py 64 96 64 > ./../plot/out/mm-queueing-64-96-64.txt
python mm-queueing.py 64 144 64 > ./../plot/out/mm-queueing-64-144-64.txt
python mm-queueing.py 64 192 64 > ./../plot/out/mm-queueing-64-192-64.txt
python mm-queueing.py 64 288 64 > ./../plot/out/mm-queueing-64-288-64.txt
# CLIENT-SERVER BASELINE 1
# Clients on VMs 1,2,3
SSH_AUTH_SOCK=0 cssh dcetin@storelrt4zinzjmismsshpublicip{1,2,3,6}.westeurope.cloudapp.azure.com
./runner.sh -mtype cli -mno 1 -ipadd 10.0.0.6 -pno 11211 -nsvr 1 -ncli 3 -icli 1 -tcli 2 -vcli ~ -wrkld ~ -mgshrd NA -mgsize NA -nmw NA -tmw NA -reps 3 -ttime 100
./runner.sh -mtype cli -mno 2 -ipadd 10.0.0.6 -pno 11211 -nsvr 1 -ncli 3 -icli 1 -tcli 2 -vcli ~ -wrkld ~ -mgshrd NA -mgsize NA -nmw NA -tmw NA -reps 3 -ttime 100
./runner.sh -mtype cli -mno 3 -ipadd 10.0.0.6 -pno 11211 -nsvr 1 -ncli 3 -icli 1 -tcli 2 -vcli ~ -wrkld ~ -mgshrd NA -mgsize NA -nmw NA -tmw NA -reps 3 -ttime 100
# dstat on VM 6
./runner.sh -mtype dstat -dsmt svr -mno 1 -nsvr 1 -ncli 3 -icli 1 -tcli 2 -vcli ~ -wrkld ~ -mgshrd NA -mgsize NA -nmw NA -tmw NA -reps 3 -ttime 100
# Servers on VM 6
SSH_AUTH_SOCK=0 ssh dcetin@storelrt4zinzjmismsshpublicip6.westeurope.cloudapp.azure.com
./runner.sh -mtype svr -mno 1 -pno 11211
# Copy results
SSH_AUTH_SOCK=0 scp -qr dcetin@storelrt4zinzjmismsshpublicip1.westeurope.cloudapp.azure.com:/home/dcetin/asl-fall18-project/res /home/doruk/Desktop/client1res
SSH_AUTH_SOCK=0 scp -qr dcetin@storelrt4zinzjmismsshpublicip2.westeurope.cloudapp.azure.com:/home/dcetin/asl-fall18-project/res /home/doruk/Desktop/client2res
SSH_AUTH_SOCK=0 scp -qr dcetin@storelrt4zinzjmismsshpublicip3.westeurope.cloudapp.azure.com:/home/dcetin/asl-fall18-project/res /home/doruk/Desktop/client3res
SSH_AUTH_SOCK=0 scp -qr dcetin@storelrt4zinzjmismsshpublicip6.westeurope.cloudapp.azure.com:/home/dcetin/asl-fall18-project/res /home/doruk/Desktop/server1res
# Merge results
rsync -a /home/doruk/Desktop/client1res/ /home/doruk/Desktop/asl/asl-fall18-project/res/
rsync -a /home/doruk/Desktop/client2res/ /home/doruk/Desktop/asl/asl-fall18-project/res/
rsync -a /home/doruk/Desktop/client3res/ /home/doruk/Desktop/asl/asl-fall18-project/res/
rsync -a /home/doruk/Desktop/server1res/ /home/doruk/Desktop/asl/asl-fall18-project/res/
# Remove temporary results
rm -rf /home/doruk/Desktop/client1res/
rm -rf /home/doruk/Desktop/client2res/
rm -rf /home/doruk/Desktop/client3res/
rm -rf /home/doruk/Desktop/server1res/
# CLIENT-SERVER BASELINE 2
# Clients on VM 1
SSH_AUTH_SOCK=0 cssh dcetin@storelrt4zinzjmismsshpublicip{1,1,6,7}.westeurope.cloudapp.azure.com
./runner.sh -mtype cli -mno 1 -ipadd 10.0.0.6 -pno 11211 -nsvr 2 -ncli 1 -icli 2 -tcli 1 -vcli ~ -wrkld ~ -mgshrd NA -mgsize NA -nmw NA -tmw NA -reps 3 -ttime 100
./runner.sh -mtype cli -mno 2 -ipadd 10.0.0.5 -pno 11211 -nsvr 2 -ncli 1 -icli 2 -tcli 1 -vcli ~ -wrkld ~ -mgshrd NA -mgsize NA -nmw NA -tmw NA -reps 3 -ttime 100
# dstat on VMs 6,7
./runner.sh -mtype dstat -dsmt svr -mno 1 -nsvr 2 -ncli 1 -icli 2 -tcli 1 -vcli ~ -wrkld ~ -mgshrd NA -mgsize NA -nmw NA -tmw NA -reps 3 -ttime 100
./runner.sh -mtype dstat -dsmt svr -mno 2 -nsvr 2 -ncli 1 -icli 2 -tcli 1 -vcli ~ -wrkld ~ -mgshrd NA -mgsize NA -nmw NA -tmw NA -reps 3 -ttime 100
# Servers on VMs 6,7
SSH_AUTH_SOCK=0 ssh dcetin@storelrt4zinzjmismsshpublicip6.westeurope.cloudapp.azure.com
./runner.sh -mtype svr -mno 1 -pno 11211
SSH_AUTH_SOCK=0 ssh dcetin@storelrt4zinzjmismsshpublicip7.westeurope.cloudapp.azure.com
./runner.sh -mtype svr -mno 2 -pno 11211
# Copy results
SSH_AUTH_SOCK=0 scp -qr dcetin@storelrt4zinzjmismsshpublicip1.westeurope.cloudapp.azure.com:/home/dcetin/asl-fall18-project/res /home/doruk/Desktop/client1res
SSH_AUTH_SOCK=0 scp -qr dcetin@storelrt4zinzjmismsshpublicip6.westeurope.cloudapp.azure.com:/home/dcetin/asl-fall18-project/res /home/doruk/Desktop/server1res
SSH_AUTH_SOCK=0 scp -qr dcetin@storelrt4zinzjmismsshpublicip7.westeurope.cloudapp.azure.com:/home/dcetin/asl-fall18-project/res /home/doruk/Desktop/server2res
# Merge results
rsync -a /home/doruk/Desktop/client1res/ /home/doruk/Desktop/asl/asl-fall18-project/res/
rsync -a /home/doruk/Desktop/server1res/ /home/doruk/Desktop/asl/asl-fall18-project/res/
rsync -a /home/doruk/Desktop/server2res/ /home/doruk/Desktop/asl/asl-fall18-project/res/
# Remove temporary results
rm -rf /home/doruk/Desktop/client1res/
rm -rf /home/doruk/Desktop/server1res/
rm -rf /home/doruk/Desktop/server2res/
# MIDDLEWARE BASELINE 1
# Clients on VMs 1,2,3
SSH_AUTH_SOCK=0 cssh dcetin@storelrt4zinzjmismsshpublicip{1,2,3,4,6}.westeurope.cloudapp.azure.com
./runner.sh -mtype cli -mno 1 -ipadd 10.0.0.10 -pno 1453 -nsvr 1 -ncli 3 -icli 1 -tcli 2 -vcli ~ -wrkld ~ -mgshrd NA -mgsize NA -nmw 1 -tmw ~ -reps 3 -ttime 70
./runner.sh -mtype cli -mno 2 -ipadd 10.0.0.10 -pno 1453 -nsvr 1 -ncli 3 -icli 1 -tcli 2 -vcli ~ -wrkld ~ -mgshrd NA -mgsize NA -nmw 1 -tmw ~ -reps 3 -ttime 70
./runner.sh -mtype cli -mno 3 -ipadd 10.0.0.10 -pno 1453 -nsvr 1 -ncli 3 -icli 1 -tcli 2 -vcli ~ -wrkld ~ -mgshrd NA -mgsize NA -nmw 1 -tmw ~ -reps 3 -ttime 70
# dstat on VMs 4,6
./runner.sh -mtype dstat -dsmt mw -mno 1 -nsvr 1 -ncli 3 -icli 1 -tcli 2 -vcli ~ -wrkld ~ -mgshrd NA -mgsize NA -nmw 1 -tmw ~ -reps 3 -ttime 70
./runner.sh -mtype dstat -dsmt svr -mno 1 -nsvr 1 -ncli 3 -icli 1 -tcli 2 -vcli ~ -wrkld ~ -mgshrd NA -mgsize NA -nmw 1 -tmw ~ -reps 3 -ttime 70
# Middlewares on VM 4
SSH_AUTH_SOCK=0 ssh dcetin@storelrt4zinzjmismsshpublicip4.westeurope.cloudapp.azure.com
./runner.sh -mtype mw -mno 1 -ipadd 10.0.0.10 -pno 1453 -pairs 10.0.0.6:11211 -nsvr 1 -ncli 3 -icli 1 -tcli 2 -vcli ~ -wrkld ~ -mgshrd NA -mgsize NA -nmw 1 -tmw ~ -reps 3 -ttime 70
# Servers on VM 6
SSH_AUTH_SOCK=0 ssh dcetin@storelrt4zinzjmismsshpublicip6.westeurope.cloudapp.azure.com
./runner.sh -mtype svr -mno 1 -pno 11211
# Copy results
SSH_AUTH_SOCK=0 scp -qr dcetin@storelrt4zinzjmismsshpublicip1.westeurope.cloudapp.azure.com:/home/dcetin/asl-fall18-project/res /home/doruk/Desktop/client1res
SSH_AUTH_SOCK=0 scp -qr dcetin@storelrt4zinzjmismsshpublicip2.westeurope.cloudapp.azure.com:/home/dcetin/asl-fall18-project/res /home/doruk/Desktop/client2res
SSH_AUTH_SOCK=0 scp -qr dcetin@storelrt4zinzjmismsshpublicip3.westeurope.cloudapp.azure.com:/home/dcetin/asl-fall18-project/res /home/doruk/Desktop/client3res
SSH_AUTH_SOCK=0 scp -qr dcetin@storelrt4zinzjmismsshpublicip4.westeurope.cloudapp.azure.com:/home/dcetin/asl-fall18-project/res /home/doruk/Desktop/mw1res
SSH_AUTH_SOCK=0 scp -qr dcetin@storelrt4zinzjmismsshpublicip6.westeurope.cloudapp.azure.com:/home/dcetin/asl-fall18-project/res /home/doruk/Desktop/server1res
# Merge results
rsync -a /home/doruk/Desktop/client1res/ /home/doruk/Desktop/asl/asl-fall18-project/res/
rsync -a /home/doruk/Desktop/client2res/ /home/doruk/Desktop/asl/asl-fall18-project/res/
rsync -a /home/doruk/Desktop/client3res/ /home/doruk/Desktop/asl/asl-fall18-project/res/
rsync -a /home/doruk/Desktop/mw1res/ /home/doruk/Desktop/asl/asl-fall18-project/res/
rsync -a /home/doruk/Desktop/server1res/ /home/doruk/Desktop/asl/asl-fall18-project/res/
# Remove temporary results
rm -rf /home/doruk/Desktop/client1res/
rm -rf /home/doruk/Desktop/client2res/
rm -rf /home/doruk/Desktop/client3res/
rm -rf /home/doruk/Desktop/mw1res/
rm -rf /home/doruk/Desktop/server1res/
# MIDDLEWARE BASELINE 2
# Clients on VMs 1,2,3
SSH_AUTH_SOCK=0 cssh dcetin@storelrt4zinzjmismsshpublicip{1,1,2,2,3,3,4,5,6}.westeurope.cloudapp.azure.com
./runner.sh -mtype cli -mno 1 -ipadd 10.0.0.10 -pno 1453 -nsvr 1 -ncli 3 -icli 2 -tcli 1 -vcli ~ -wrkld ~ -mgshrd NA -mgsize NA -nmw 2 -tmw ~ -reps 3 -ttime 70
./runner.sh -mtype cli -mno 2 -ipadd 10.0.0.9 -pno 1453 -nsvr 1 -ncli 3 -icli 2 -tcli 1 -vcli ~ -wrkld ~ -mgshrd NA -mgsize NA -nmw 2 -tmw ~ -reps 3 -ttime 70
./runner.sh -mtype cli -mno 3 -ipadd 10.0.0.10 -pno 1453 -nsvr 1 -ncli 3 -icli 2 -tcli 1 -vcli ~ -wrkld ~ -mgshrd NA -mgsize NA -nmw 2 -tmw ~ -reps 3 -ttime 70
./runner.sh -mtype cli -mno 4 -ipadd 10.0.0.9 -pno 1453 -nsvr 1 -ncli 3 -icli 2 -tcli 1 -vcli ~ -wrkld ~ -mgshrd NA -mgsize NA -nmw 2 -tmw ~ -reps 3 -ttime 70
./runner.sh -mtype cli -mno 5 -ipadd 10.0.0.10 -pno 1453 -nsvr 1 -ncli 3 -icli 2 -tcli 1 -vcli ~ -wrkld ~ -mgshrd NA -mgsize NA -nmw 2 -tmw ~ -reps 3 -ttime 70
./runner.sh -mtype cli -mno 6 -ipadd 10.0.0.9 -pno 1453 -nsvr 1 -ncli 3 -icli 2 -tcli 1 -vcli ~ -wrkld ~ -mgshrd NA -mgsize NA -nmw 2 -tmw ~ -reps 3 -ttime 70
# dstat on VMs 4,5,6
./runner.sh -mtype dstat -dsmt mw -mno 1 -nsvr 1 -ncli 3 -icli 2 -tcli 1 -vcli ~ -wrkld ~ -mgshrd NA -mgsize NA -nmw 2 -tmw ~ -reps 3 -ttime 70
./runner.sh -mtype dstat -dsmt mw -mno 2 -nsvr 1 -ncli 3 -icli 2 -tcli 1 -vcli ~ -wrkld ~ -mgshrd NA -mgsize NA -nmw 2 -tmw ~ -reps 3 -ttime 70
./runner.sh -mtype dstat -dsmt svr -mno 1 -nsvr 1 -ncli 3 -icli 2 -tcli 1 -vcli ~ -wrkld ~ -mgshrd NA -mgsize NA -nmw 2 -tmw ~ -reps 3 -ttime 70
# Middlewares on VMs 4,5
SSH_AUTH_SOCK=0 ssh dcetin@storelrt4zinzjmismsshpublicip4.westeurope.cloudapp.azure.com
./runner.sh -mtype mw -mno 1 -ipadd 10.0.0.10 -pno 1453 -pairs 10.0.0.6:11211 -nsvr 1 -ncli 3 -icli 2 -tcli 1 -vcli ~ -wrkld ~ -mgshrd NA -mgsize NA -nmw 2 -tmw ~ -reps 3 -ttime 70
SSH_AUTH_SOCK=0 ssh dcetin@storelrt4zinzjmismsshpublicip5.westeurope.cloudapp.azure.com
./runner.sh -mtype mw -mno 2 -ipadd 10.0.0.9 -pno 1453 -pairs 10.0.0.6:11211 -nsvr 1 -ncli 3 -icli 2 -tcli 1 -vcli ~ -wrkld ~ -mgshrd NA -mgsize NA -nmw 2 -tmw ~ -reps 3 -ttime 70
# Servers on VM 6
SSH_AUTH_SOCK=0 ssh dcetin@storelrt4zinzjmismsshpublicip6.westeurope.cloudapp.azure.com
./runner.sh -mtype svr -mno 1 -pno 11211
# Copy results
SSH_AUTH_SOCK=0 scp -qr dcetin@storelrt4zinzjmismsshpublicip1.westeurope.cloudapp.azure.com:/home/dcetin/asl-fall18-project/res /home/doruk/Desktop/client1res
SSH_AUTH_SOCK=0 scp -qr dcetin@storelrt4zinzjmismsshpublicip2.westeurope.cloudapp.azure.com:/home/dcetin/asl-fall18-project/res /home/doruk/Desktop/client2res
SSH_AUTH_SOCK=0 scp -qr dcetin@storelrt4zinzjmismsshpublicip3.westeurope.cloudapp.azure.com:/home/dcetin/asl-fall18-project/res /home/doruk/Desktop/client3res
SSH_AUTH_SOCK=0 scp -qr dcetin@storelrt4zinzjmismsshpublicip4.westeurope.cloudapp.azure.com:/home/dcetin/asl-fall18-project/res /home/doruk/Desktop/mw1res
SSH_AUTH_SOCK=0 scp -qr dcetin@storelrt4zinzjmismsshpublicip5.westeurope.cloudapp.azure.com:/home/dcetin/asl-fall18-project/res /home/doruk/Desktop/mw2res
SSH_AUTH_SOCK=0 scp -qr dcetin@storelrt4zinzjmismsshpublicip6.westeurope.cloudapp.azure.com:/home/dcetin/asl-fall18-project/res /home/doruk/Desktop/server1res
# Merge results
rsync -a /home/doruk/Desktop/client1res/ /home/doruk/Desktop/asl/asl-fall18-project/res/
rsync -a /home/doruk/Desktop/client2res/ /home/doruk/Desktop/asl/asl-fall18-project/res/
rsync -a /home/doruk/Desktop/client3res/ /home/doruk/Desktop/asl/asl-fall18-project/res/
rsync -a /home/doruk/Desktop/mw1res/ /home/doruk/Desktop/asl/asl-fall18-project/res/
rsync -a /home/doruk/Desktop/mw2res/ /home/doruk/Desktop/asl/asl-fall18-project/res/
rsync -a /home/doruk/Desktop/server1res/ /home/doruk/Desktop/asl/asl-fall18-project/res/
# Remove temporary results
rm -rf /home/doruk/Desktop/client1res/
rm -rf /home/doruk/Desktop/client2res/
rm -rf /home/doruk/Desktop/client3res/
rm -rf /home/doruk/Desktop/mw1res/
rm -rf /home/doruk/Desktop/mw2res/
rm -rf /home/doruk/Desktop/server1res/
# THROUGHPUT FOR WRITES
# Clients on VMs 1,2,3
SSH_AUTH_SOCK=0 cssh dcetin@storelrt4zinzjmismsshpublicip{1,1,2,2,3,3,4,5,6,7,8}.westeurope.cloudapp.azure.com
./runner.sh -mtype cli -mno 1 -ipadd 10.0.0.10 -pno 1453 -nsvr 3 -ncli 3 -icli 2 -tcli 1 -vcli ~ -wrkld 1:0 -mgshrd NA -mgsize NA -nmw 2 -tmw ~ -reps 3 -ttime 70
./runner.sh -mtype cli -mno 2 -ipadd 10.0.0.9 -pno 1453 -nsvr 3 -ncli 3 -icli 2 -tcli 1 -vcli ~ -wrkld 1:0 -mgshrd NA -mgsize NA -nmw 2 -tmw ~ -reps 3 -ttime 70
./runner.sh -mtype cli -mno 3 -ipadd 10.0.0.10 -pno 1453 -nsvr 3 -ncli 3 -icli 2 -tcli 1 -vcli ~ -wrkld 1:0 -mgshrd NA -mgsize NA -nmw 2 -tmw ~ -reps 3 -ttime 70
./runner.sh -mtype cli -mno 4 -ipadd 10.0.0.9 -pno 1453 -nsvr 3 -ncli 3 -icli 2 -tcli 1 -vcli ~ -wrkld 1:0 -mgshrd NA -mgsize NA -nmw 2 -tmw ~ -reps 3 -ttime 70
./runner.sh -mtype cli -mno 5 -ipadd 10.0.0.10 -pno 1453 -nsvr 3 -ncli 3 -icli 2 -tcli 1 -vcli ~ -wrkld 1:0 -mgshrd NA -mgsize NA -nmw 2 -tmw ~ -reps 3 -ttime 70
./runner.sh -mtype cli -mno 6 -ipadd 10.0.0.9 -pno 1453 -nsvr 3 -ncli 3 -icli 2 -tcli 1 -vcli ~ -wrkld 1:0 -mgshrd NA -mgsize NA -nmw 2 -tmw ~ -reps 3 -ttime 70
# dstat on VMs 4,5,6,7,8
./runner.sh -mtype dstat -dsmt mw -mno 1 -nsvr 3 -ncli 3 -icli 2 -tcli 1 -vcli ~ -wrkld 1:0 -mgshrd NA -mgsize NA -nmw 2 -tmw ~ -reps 3 -ttime 70
./runner.sh -mtype dstat -dsmt mw -mno 2 -nsvr 3 -ncli 3 -icli 2 -tcli 1 -vcli ~ -wrkld 1:0 -mgshrd NA -mgsize NA -nmw 2 -tmw ~ -reps 3 -ttime 70
./runner.sh -mtype dstat -dsmt svr -mno 1 -nsvr 3 -ncli 3 -icli 2 -tcli 1 -vcli ~ -wrkld 1:0 -mgshrd NA -mgsize NA -nmw 2 -tmw ~ -reps 3 -ttime 70
./runner.sh -mtype dstat -dsmt svr -mno 2 -nsvr 3 -ncli 3 -icli 2 -tcli 1 -vcli ~ -wrkld 1:0 -mgshrd NA -mgsize NA -nmw 2 -tmw ~ -reps 3 -ttime 70
./runner.sh -mtype dstat -dsmt svr -mno 3 -nsvr 3 -ncli 3 -icli 2 -tcli 1 -vcli ~ -wrkld 1:0 -mgshrd NA -mgsize NA -nmw 2 -tmw ~ -reps 3 -ttime 70
# Middlewares on VMs 4,5
SSH_AUTH_SOCK=0 ssh dcetin@storelrt4zinzjmismsshpublicip4.westeurope.cloudapp.azure.com
./runner.sh -mtype mw -mno 1 -ipadd 10.0.0.10 -pno 1453 -pairs "10.0.0.6:11211 10.0.0.5:11211 10.0.0.11:11211" -nsvr 3 -ncli 3 -icli 2 -tcli 1 -vcli ~ -wrkld 1:0 -mgshrd NA -mgsize NA -nmw 2 -tmw ~ -reps 3 -ttime 70
SSH_AUTH_SOCK=0 ssh dcetin@storelrt4zinzjmismsshpublicip5.westeurope.cloudapp.azure.com
./runner.sh -mtype mw -mno 2 -ipadd 10.0.0.9 -pno 1453 -pairs "10.0.0.6:11211 10.0.0.5:11211 10.0.0.11:11211" -nsvr 3 -ncli 3 -icli 2 -tcli 1 -vcli ~ -wrkld 1:0 -mgshrd NA -mgsize NA -nmw 2 -tmw ~ -reps 3 -ttime 70
# Servers on VMS 6,7, 8
SSH_AUTH_SOCK=0 ssh dcetin@storelrt4zinzjmismsshpublicip6.westeurope.cloudapp.azure.com
./runner.sh -mtype svr -mno 1 -pno 11211
SSH_AUTH_SOCK=0 ssh dcetin@storelrt4zinzjmismsshpublicip7.westeurope.cloudapp.azure.com
./runner.sh -mtype svr -mno 2 -pno 11211
SSH_AUTH_SOCK=0 ssh dcetin@storelrt4zinzjmismsshpublicip8.westeurope.cloudapp.azure.com
./runner.sh -mtype svr -mno 3 -pno 11211
# Copy results
SSH_AUTH_SOCK=0 scp -qr dcetin@storelrt4zinzjmismsshpublicip1.westeurope.cloudapp.azure.com:/home/dcetin/asl-fall18-project/res /home/doruk/Desktop/client1res
SSH_AUTH_SOCK=0 scp -qr dcetin@storelrt4zinzjmismsshpublicip2.westeurope.cloudapp.azure.com:/home/dcetin/asl-fall18-project/res /home/doruk/Desktop/client2res
SSH_AUTH_SOCK=0 scp -qr dcetin@storelrt4zinzjmismsshpublicip3.westeurope.cloudapp.azure.com:/home/dcetin/asl-fall18-project/res /home/doruk/Desktop/client3res
SSH_AUTH_SOCK=0 scp -qr dcetin@storelrt4zinzjmismsshpublicip4.westeurope.cloudapp.azure.com:/home/dcetin/asl-fall18-project/res /home/doruk/Desktop/mw1res
SSH_AUTH_SOCK=0 scp -qr dcetin@storelrt4zinzjmismsshpublicip5.westeurope.cloudapp.azure.com:/home/dcetin/asl-fall18-project/res /home/doruk/Desktop/mw2res
SSH_AUTH_SOCK=0 scp -qr dcetin@storelrt4zinzjmismsshpublicip6.westeurope.cloudapp.azure.com:/home/dcetin/asl-fall18-project/res /home/doruk/Desktop/server1res
SSH_AUTH_SOCK=0 scp -qr dcetin@storelrt4zinzjmismsshpublicip7.westeurope.cloudapp.azure.com:/home/dcetin/asl-fall18-project/res /home/doruk/Desktop/server2res
SSH_AUTH_SOCK=0 scp -qr dcetin@storelrt4zinzjmismsshpublicip8.westeurope.cloudapp.azure.com:/home/dcetin/asl-fall18-project/res /home/doruk/Desktop/server3res
# Merge results
rsync -a /home/doruk/Desktop/client1res/ /home/doruk/Desktop/asl/asl-fall18-project/res/
rsync -a /home/doruk/Desktop/client2res/ /home/doruk/Desktop/asl/asl-fall18-project/res/
rsync -a /home/doruk/Desktop/client3res/ /home/doruk/Desktop/asl/asl-fall18-project/res/
rsync -a /home/doruk/Desktop/mw1res/ /home/doruk/Desktop/asl/asl-fall18-project/res/
rsync -a /home/doruk/Desktop/mw2res/ /home/doruk/Desktop/asl/asl-fall18-project/res/
rsync -a /home/doruk/Desktop/server1res/ /home/doruk/Desktop/asl/asl-fall18-project/res/
rsync -a /home/doruk/Desktop/server2res/ /home/doruk/Desktop/asl/asl-fall18-project/res/
rsync -a /home/doruk/Desktop/server3res/ /home/doruk/Desktop/asl/asl-fall18-project/res/
# Remove temporary results
rm -rf /home/doruk/Desktop/client1res/
rm -rf /home/doruk/Desktop/client2res/
rm -rf /home/doruk/Desktop/client3res/
rm -rf /home/doruk/Desktop/mw1res/
rm -rf /home/doruk/Desktop/mw2res/
rm -rf /home/doruk/Desktop/server1res/
rm -rf /home/doruk/Desktop/server2res/
rm -rf /home/doruk/Desktop/server3res/
# GETS AND MULTI-GETS
# Clients on VMs 1,2,3
SSH_AUTH_SOCK=0 cssh dcetin@storelrt4zinzjmismsshpublicip{1,1,2,2,3,3,4,5,6,7,8}.westeurope.cloudapp.azure.com
./runner.sh -mtype cli -mno 1 -ipadd 10.0.0.10 -pno 1453 -nsvr 3 -ncli 3 -icli 2 -tcli 1 -vcli 2 -wrkld 1:~ -mgshrd true -mgsize ~ -nmw 2 -tmw 8 -reps 3 -ttime 70
./runner.sh -mtype cli -mno 2 -ipadd 10.0.0.9 -pno 1453 -nsvr 3 -ncli 3 -icli 2 -tcli 1 -vcli 2 -wrkld 1:~ -mgshrd true -mgsize ~ -nmw 2 -tmw 8 -reps 3 -ttime 70
./runner.sh -mtype cli -mno 3 -ipadd 10.0.0.10 -pno 1453 -nsvr 3 -ncli 3 -icli 2 -tcli 1 -vcli 2 -wrkld 1:~ -mgshrd true -mgsize ~ -nmw 2 -tmw 8 -reps 3 -ttime 70
./runner.sh -mtype cli -mno 4 -ipadd 10.0.0.9 -pno 1453 -nsvr 3 -ncli 3 -icli 2 -tcli 1 -vcli 2 -wrkld 1:~ -mgshrd true -mgsize ~ -nmw 2 -tmw 8 -reps 3 -ttime 70
./runner.sh -mtype cli -mno 5 -ipadd 10.0.0.10 -pno 1453 -nsvr 3 -ncli 3 -icli 2 -tcli 1 -vcli 2 -wrkld 1:~ -mgshrd true -mgsize ~ -nmw 2 -tmw 8 -reps 3 -ttime 70
./runner.sh -mtype cli -mno 6 -ipadd 10.0.0.9 -pno 1453 -nsvr 3 -ncli 3 -icli 2 -tcli 1 -vcli 2 -wrkld 1:~ -mgshrd true -mgsize ~ -nmw 2 -tmw 8 -reps 3 -ttime 70
# dstat on VMs 4,5,6,7,8
./runner.sh -mtype dstat -dsmt mw -mno 1 -nsvr 3 -ncli 3 -icli 2 -tcli 1 -vcli 2 -wrkld 1:~ -mgshrd true -mgsize ~ -nmw 2 -tmw 8 -reps 3 -ttime 70
./runner.sh -mtype dstat -dsmt mw -mno 2 -nsvr 3 -ncli 3 -icli 2 -tcli 1 -vcli 2 -wrkld 1:~ -mgshrd true -mgsize ~ -nmw 2 -tmw 8 -reps 3 -ttime 70
./runner.sh -mtype dstat -dsmt svr -mno 1 -nsvr 3 -ncli 3 -icli 2 -tcli 1 -vcli 2 -wrkld 1:~ -mgshrd true -mgsize ~ -nmw 2 -tmw 8 -reps 3 -ttime 70
./runner.sh -mtype dstat -dsmt svr -mno 2 -nsvr 3 -ncli 3 -icli 2 -tcli 1 -vcli 2 -wrkld 1:~ -mgshrd true -mgsize ~ -nmw 2 -tmw 8 -reps 3 -ttime 70
./runner.sh -mtype dstat -dsmt svr -mno 3 -nsvr 3 -ncli 3 -icli 2 -tcli 1 -vcli 2 -wrkld 1:~ -mgshrd true -mgsize ~ -nmw 2 -tmw 8 -reps 3 -ttime 70
# Middlewares on VMs 4,5
SSH_AUTH_SOCK=0 ssh dcetin@storelrt4zinzjmismsshpublicip4.westeurope.cloudapp.azure.com
./runner.sh -mtype mw -mno 1 -ipadd 10.0.0.10 -pno 1453 -pairs "10.0.0.6:11211 10.0.0.5:11211 10.0.0.11:11211" -nsvr 3 -ncli 3 -icli 2 -tcli 1 -vcli 2 -wrkld 1:~ -mgshrd true -mgsize ~ -nmw 2 -tmw 8 -reps 3 -ttime 70
SSH_AUTH_SOCK=0 ssh dcetin@storelrt4zinzjmismsshpublicip5.westeurope.cloudapp.azure.com
./runner.sh -mtype mw -mno 2 -ipadd 10.0.0.9 -pno 1453 -pairs "10.0.0.6:11211 10.0.0.5:11211 10.0.0.11:11211" -nsvr 3 -ncli 3 -icli 2 -tcli 1 -vcli 2 -wrkld 1:~ -mgshrd true -mgsize ~ -nmw 2 -tmw 8 -reps 3 -ttime 70
# Servers on VMS 6,7, 8
SSH_AUTH_SOCK=0 ssh dcetin@storelrt4zinzjmismsshpublicip6.westeurope.cloudapp.azure.com
./runner.sh -mtype svr -mno 1 -pno 11211
SSH_AUTH_SOCK=0 ssh dcetin@storelrt4zinzjmismsshpublicip7.westeurope.cloudapp.azure.com
./runner.sh -mtype svr -mno 2 -pno 11211
SSH_AUTH_SOCK=0 ssh dcetin@storelrt4zinzjmismsshpublicip8.westeurope.cloudapp.azure.com
./runner.sh -mtype svr -mno 3 -pno 11211
# Copy results
SSH_AUTH_SOCK=0 scp -qr dcetin@storelrt4zinzjmismsshpublicip1.westeurope.cloudapp.azure.com:/home/dcetin/asl-fall18-project/res /home/doruk/Desktop/client1res
SSH_AUTH_SOCK=0 scp -qr dcetin@storelrt4zinzjmismsshpublicip2.westeurope.cloudapp.azure.com:/home/dcetin/asl-fall18-project/res /home/doruk/Desktop/client2res
SSH_AUTH_SOCK=0 scp -qr dcetin@storelrt4zinzjmismsshpublicip3.westeurope.cloudapp.azure.com:/home/dcetin/asl-fall18-project/res /home/doruk/Desktop/client3res
SSH_AUTH_SOCK=0 scp -qr dcetin@storelrt4zinzjmismsshpublicip4.westeurope.cloudapp.azure.com:/home/dcetin/asl-fall18-project/res /home/doruk/Desktop/mw1res
SSH_AUTH_SOCK=0 scp -qr dcetin@storelrt4zinzjmismsshpublicip5.westeurope.cloudapp.azure.com:/home/dcetin/asl-fall18-project/res /home/doruk/Desktop/mw2res
SSH_AUTH_SOCK=0 scp -qr dcetin@storelrt4zinzjmismsshpublicip6.westeurope.cloudapp.azure.com:/home/dcetin/asl-fall18-project/res /home/doruk/Desktop/server1res
SSH_AUTH_SOCK=0 scp -qr dcetin@storelrt4zinzjmismsshpublicip7.westeurope.cloudapp.azure.com:/home/dcetin/asl-fall18-project/res /home/doruk/Desktop/server2res
SSH_AUTH_SOCK=0 scp -qr dcetin@storelrt4zinzjmismsshpublicip8.westeurope.cloudapp.azure.com:/home/dcetin/asl-fall18-project/res /home/doruk/Desktop/server3res
# Merge results
rsync -a /home/doruk/Desktop/client1res/ /home/doruk/Desktop/asl/asl-fall18-project/res/
rsync -a /home/doruk/Desktop/client2res/ /home/doruk/Desktop/asl/asl-fall18-project/res/
rsync -a /home/doruk/Desktop/client3res/ /home/doruk/Desktop/asl/asl-fall18-project/res/
rsync -a /home/doruk/Desktop/mw1res/ /home/doruk/Desktop/asl/asl-fall18-project/res/
rsync -a /home/doruk/Desktop/mw2res/ /home/doruk/Desktop/asl/asl-fall18-project/res/
rsync -a /home/doruk/Desktop/server1res/ /home/doruk/Desktop/asl/asl-fall18-project/res/
rsync -a /home/doruk/Desktop/server2res/ /home/doruk/Desktop/asl/asl-fall18-project/res/
rsync -a /home/doruk/Desktop/server3res/ /home/doruk/Desktop/asl/asl-fall18-project/res/
# Remove temporary results
rm -rf /home/doruk/Desktop/client1res/
rm -rf /home/doruk/Desktop/client2res/
rm -rf /home/doruk/Desktop/client3res/
rm -rf /home/doruk/Desktop/mw1res/
rm -rf /home/doruk/Desktop/mw2res/
rm -rf /home/doruk/Desktop/server1res/
rm -rf /home/doruk/Desktop/server2res/
rm -rf /home/doruk/Desktop/server3res/
# 2K ANALYSIS
# Servers
SSH_AUTH_SOCK=0 ssh dcetin@storelrt4zinzjmismsshpublicip6.westeurope.cloudapp.azure.com
./runner.sh -mtype svr -mno 1 -pno 11211
SSH_AUTH_SOCK=0 ssh dcetin@storelrt4zinzjmismsshpublicip7.westeurope.cloudapp.azure.com
./runner.sh -mtype svr -mno 2 -pno 11211
SSH_AUTH_SOCK=0 ssh dcetin@storelrt4zinzjmismsshpublicip8.westeurope.cloudapp.azure.com
./runner.sh -mtype svr -mno 3 -pno 11211
# One middleware setting
SSH_AUTH_SOCK=0 cssh dcetin@storelrt4zinzjmismsshpublicip{1,2,3,4,6,7,8}.westeurope.cloudapp.azure.com
-nsvr [1,3] -ncli 3 -icli 1 -tcli 2 -vcli 32 -wrkld [1:0,0:1] -mgshrd NA -mgsize NA -nmw 1 -tmw [8,32] -reps 3 -ttime 70
# Clients
./runner.sh -mtype cli -mno 1 -ipadd 10.0.0.10 -pno 1453
./runner.sh -mtype cli -mno 2 -ipadd 10.0.0.10 -pno 1453
./runner.sh -mtype cli -mno 3 -ipadd 10.0.0.10 -pno 1453
# dstats
./runner.sh -mtype dstat -dsmt mw -mno 1
./runner.sh -mtype dstat -dsmt svr -mno 1
# plus
./runner.sh -mtype dstat -dsmt svr -mno 2
./runner.sh -mtype dstat -dsmt svr -mno 3
# Midlewares
SSH_AUTH_SOCK=0 ssh dcetin@storelrt4zinzjmismsshpublicip4.westeurope.cloudapp.azure.com
./runner.sh -mtype mw -mno 1 -ipadd 10.0.0.10 -pno 1453 -pairs 10.0.0.6:11211
# or
./runner.sh -mtype mw -mno 1 -ipadd 10.0.0.10 -pno 1453 -pairs "10.0.0.6:11211 10.0.0.5:11211 10.0.0.11:11211"
# Two middleware setting
SSH_AUTH_SOCK=0 cssh dcetin@storelrt4zinzjmismsshpublicip{1,1,2,2,3,3,4,5,6,7,8}.westeurope.cloudapp.azure.com
-nsvr [1,3] -ncli 3 -icli 2 -tcli 1 -vcli 32 -wrkld [1:0,0:1] -mgshrd NA -mgsize NA -nmw 2 -tmw [8,32] -reps 3 -ttime 70
# Clients
./runner.sh -mtype cli -mno 1 -ipadd 10.0.0.10 -pno 1453
./runner.sh -mtype cli -mno 2 -ipadd 10.0.0.9 -pno 1453
./runner.sh -mtype cli -mno 3 -ipadd 10.0.0.10 -pno 1453
./runner.sh -mtype cli -mno 4 -ipadd 10.0.0.9 -pno 1453
./runner.sh -mtype cli -mno 5 -ipadd 10.0.0.10 -pno 1453
./runner.sh -mtype cli -mno 6 -ipadd 10.0.0.9 -pno 1453
# dstats
./runner.sh -mtype dstat -dsmt mw -mno 1
./runner.sh -mtype dstat -dsmt mw -mno 2
./runner.sh -mtype dstat -dsmt svr -mno 1
# plus
./runner.sh -mtype dstat -dsmt svr -mno 2
./runner.sh -mtype dstat -dsmt svr -mno 3
# Midlewares
SSH_AUTH_SOCK=0 ssh dcetin@storelrt4zinzjmismsshpublicip4.westeurope.cloudapp.azure.com
./runner.sh -mtype mw -mno 1 -ipadd 10.0.0.10 -pno 1453 -pairs 10.0.0.6:11211
SSH_AUTH_SOCK=0 ssh dcetin@storelrt4zinzjmismsshpublicip5.westeurope.cloudapp.azure.com
./runner.sh -mtype mw -mno 2 -ipadd 10.0.0.9 -pno 1453 -pairs 10.0.0.6:11211
# or
./runner.sh -mtype mw -mno 1 -ipadd 10.0.0.10 -pno 1453 -pairs "10.0.0.6:11211 10.0.0.5:11211 10.0.0.11:11211"
./runner.sh -mtype mw -mno 2 -ipadd 10.0.0.9 -pno 1453 -pairs "10.0.0.6:11211 10.0.0.5:11211 10.0.0.11:11211"