-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathsmall-clop
executable file
·84 lines (77 loc) · 1.93 KB
/
small-clop
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
#!/bin/bash
cd simulations;
# Run tests
python -m unittest discover . '*test*.py'
# python experiment.py \
# --numClients 150 \
# --numServers 50 \
# --numWorkload 200 \
# --workloadModel poisson \
# --serverConcurrency 4 \
# --serviceTime 4.00\
# --utilization 0.99 \
# --serviceTimeModel random.expovariate \
# --replicationFactor 3 \
# --selectionStrategy pending \
# --shadowReadRatio 0.1 \
# --accessPattern uniform \
# --nwLatencyBase 2.00 \
# --nwLatencyMu 0.0\
# --nwLatencySigma 0.00 \
# --expPrefix oracle\
# --simulationDuration 50000\
# --seed 2\
# --numRequests 1000000\
# --logFolder logs\
# --expScenario timeVaryingServiceTimeServers\
# --demandSkew 0.0\
# --highDemandFraction 0.0\
# --slowServerFraction 0.0\
# --slowServerSlowness 0.0\
# --intervalParam 500\
# --timeVaryingDrift 5;
# # To profile, replace the first line with:
# # python -m cProfile -o output.txt experiment.py \"
python experiment.py \
--numClients 300 \
--numServers 50 \
--numWorkload 200 \
--workloadModel poisson \
--serverConcurrency 4 \
--serviceTime 4 \
--utilization 0.99 \
--serviceTimeModel random.expovariate \
--replicationFactor 3 \
--backpressure \
--rateInterval 20\
--cubicC 0.000004\
--cubicSmax 10\
--cubicBeta 0.2\
--hysterisisFactor 2\
--selectionStrategy expDelay \
--shadowReadRatio 0.1 \
--accessPattern uniform \
--nwLatencyBase 2.00 \
--nwLatencyMu 0.0\
--nwLatencySigma 0.00 \
--expPrefix expDelay \
--simulationDuration 1000000 \
--seed 2 \
--numRequests 100000\
--logFolder logs\
--expScenario timeVaryingServiceTimeServers\
--demandSkew 0.0\
--highDemandFraction 0.0\
--slowServerFraction 0.0\
--slowServerSlowness 0.0\
--intervalParam 500\
--timeVaryingDrift 5;
cd ..
cd plotting;
# Rscript timeseries.r primary;
# Rscript timeseries.r rp;
# Rscript timeseries.r pending;
# Rscript timeseries.r pendingXserviceTime;
# Rscript timeseries.r oracle;
Rscript timeseries.r expDelay;
cd ..