Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ait-client-netperf
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion tuneit
Original file line number Diff line number Diff line change
Expand Up @@ -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="], )
Expand Down