aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/example.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/examples/example.py b/examples/example.py
index 9f0ce03..dd18a07 100755
--- a/examples/example.py
+++ b/examples/example.py
@@ -48,7 +48,8 @@ print(exp)
with ExperimentManager(exp):
exp.swap_in()
exp.bootstrap_prototype()
- c1 = Client("rinaperf", options ="-t perf -s 1000 -c 10000")
- s1 = Server("rinaperf", arrival_rate=2, mean_duration=5, options = "-l", nodes = [a], clients = [c1])
- sb = StoryBoard(exp, duration=3600, servers = [s1])
+ c1 = Client("rinaperf", options ="-t perf -i 1000 -s 1000 -c 0")
+ s1 = Server("rinaperf", arrival_rate=2, mean_duration=5,
+ options = "-l", nodes = [a], clients = [c1])
+ sb = StoryBoard(exp, duration=20, servers = [s1])
sb.start()