From 8838f6dcfedd87c35e6325f501a17175bd410e3b Mon Sep 17 00:00:00 2001 From: Vincenzo Maffione Date: Tue, 14 Nov 2017 17:32:24 +0100 Subject: examples: fix rinaperf invocation In order to get infinite duration for the rinaperf test, the "-c 0" can be used. --- examples/example.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'examples') 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() -- cgit v1.2.3