Skip to content

Commit

Permalink
latency: fix maximum bandwidths
Browse files Browse the repository at this point in the history
RTT were in microseconds, not in milliseconds.
  • Loading branch information
vincentbernat committed Aug 1, 2015
1 parent 8da26e6 commit ffceb58
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lab-latency/systemtap-graph
Expand Up @@ -160,11 +160,11 @@ def graph(options):
ax1.set_ylabel("Window size (bytes)", fontsize=9)
ax2 = ax1.twinx()
lns.extend(ax2.plot(local['ts'],
local['snd_cwnd'] * local['snd_mss'] * 1000 / local['rtt'],
local['snd_cwnd'] * local['snd_mss'] * 1000000 / local['rtt'],
'-', color='DarkViolet',
label='Max send bandwidth'))
lns.extend(ax2.plot(remote_or_local['ts'],
remote_or_local['skmem_rb'] * 1000 / 2 / remote_or_local['rcv_rtt'],
remote_or_local['skmem_rb'] * 1000000 / 2 / remote_or_local['rcv_rtt'],
'-', color='DarkOrange',
label='Max receive bandwidth'))
lns.extend(ax2.plot(local['ts'],
Expand Down
2 changes: 1 addition & 1 deletion lab-latency/systemtap-run
Expand Up @@ -79,7 +79,7 @@ run() {
rm -f wait-iperf3
log_info_msg "Execute benchmark..."
sleep $TIME
setup_qos delay 5ms 1ms 25% loss 0.00001%
setup_qos delay 20ms 2ms 25% loss 0.00001%
wait $local
wait $remote
# We should copy remote data but in our case, they are on the same 9P FS
Expand Down

0 comments on commit ffceb58

Please sign in to comment.