diff --git a/ait-client-netperf b/ait-client-netperf index c035f8e..985b12f 100755 --- a/ait-client-netperf +++ b/ait-client-netperf @@ -6,7 +6,7 @@ import sys, subprocess as sp def netperf(server, proto="UDP", ptype="stream", msgsize=4096, duration=15): - cmd = "netperf -P0 -H %s -t omni -l %d -- -m %d -T%s -d%s -o PROTOCOL,LOCAL_SEND_SIZE,LSS_SIZE,ELAPSED_TIME,LOCAL_SEND_CALLS,THROUGHPUT,RSR_SIZE,REMOTE_RECV_CALLS,REMOTE_RECV_THROUGHPUT,RT_LATENCY,TRANSACTION_RATE" % (server, duration, msgsize, proto, ptype) + cmd = "netperf -P0 -H %s -t omni -l %d -- -m %d -T%s -d%s -R1 -o PROTOCOL,LOCAL_SEND_SIZE,LSS_SIZE,ELAPSED_TIME,LOCAL_SEND_CALLS,THROUGHPUT,RSR_SIZE,REMOTE_RECV_CALLS,REMOTE_RECV_THROUGHPUT,RT_LATENCY,TRANSACTION_RATE" % (server, duration, msgsize, proto, ptype) sys.stderr.write("%s\n" % cmd) p = sp.Popen(cmd, shell=True, stdin=sp.PIPE, stdout=sp.PIPE, stderr=sp.PIPE, close_fds=True) diff --git a/tuneit b/tuneit index 4bf4349..e74c514 100755 --- a/tuneit +++ b/tuneit @@ -91,7 +91,7 @@ def usage(): def main(args): try: - opts, args = getopt.getopt(args, "d:D:c:hq:r:s:", + opts, args = getopt.getopt(args, "d:D:c:h:q:r:s:", [ "db", "diff=", "common=", "help", "query=", "replay=", "show="], )