aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorVincenzo Maffione <[email protected]>2017-11-14 17:32:24 +0100
committerSander Vrijders <[email protected]>2017-11-15 08:19:05 +0000
commit8838f6dcfedd87c35e6325f501a17175bd410e3b (patch)
treefc437b3656d35ee773e5898cfe913e224435191c /examples
parent0335c28f6c30d9c53df2e83a9a37e436da40008d (diff)
downloadrumba-8838f6dcfedd87c35e6325f501a17175bd410e3b.tar.gz
rumba-8838f6dcfedd87c35e6325f501a17175bd410e3b.zip
examples: fix rinaperf invocation
In order to get infinite duration for the rinaperf test, the "-c 0" can be used.
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()