Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
201 lines (185 sloc) 6.931 kb
## -*- mode: python; coding: utf-8 -*-
## rrul test specification
include("netperf_definitions.inc")
DESCRIPTION="Realtime Response Under Load\n(with different congestion control algs)"
DEFAULTS={'PLOT': "all_scaled"}
DATA_SETS = o([
('TCP upload RENO',
{'command': find_netperf("omni", LENGTH, HOST, extra_args="-- -K reno,reno"),
'delay': DELAY,
'units': 'Mbits/s',
'runner': 'netperf_demo',}),
('TCP upload WESTWOOD',
{'command': find_netperf("omni", LENGTH, HOST, extra_args="-- -K westwood,westwood"),
'delay': DELAY,
'units': 'Mbits/s',
'runner': 'netperf_demo',}),
('TCP upload CUBIC',
{'command': find_netperf("omni", LENGTH, HOST, extra_args="-- -K cubic,cubic"),
'delay': DELAY,
'units': 'Mbits/s',
'runner': 'netperf_demo',}),
('TCP upload LEDBAT',
{'command': find_netperf("omni", LENGTH, HOST, extra_args="-- -K ledbat,ledbat"),
'delay': DELAY,
'units': 'Mbits/s',
'runner': 'netperf_demo',}),
('TCP upload avg',
{'apply_to': [glob("TCP upload*", exclude=["TCP upload sum"])],
'units': 'Mbits/s',
'runner': 'average',}),
('TCP upload sum',
{'apply_to': [glob("TCP upload*", exclude=["TCP upload avg"])],
'units': 'Mbits/s',
'runner': 'sum',}),
('TCP download RENO',
{'command': find_netperf("omni", LENGTH, HOST, extra_args="-- -M ,64k -K reno,reno"),
'delay': DELAY,
'units': 'Mbits/s',
'runner': 'netperf_demo',}),
('TCP download WESTWOOD',
{'command': find_netperf("omni", LENGTH, HOST, extra_args="-- -M ,64k -K westwood,westwood"),
'delay': DELAY,
'units': 'Mbits/s',
'runner': 'netperf_demo',}),
('TCP download CUBIC',
{'command': find_netperf("omni", LENGTH, HOST, extra_args="-- -M ,64k -K cubic,cubic"),
'delay': DELAY,
'units': 'Mbits/s',
'runner': 'netperf_demo',}),
('TCP download LEDBAT',
{'command': find_netperf("omni", LENGTH, HOST, extra_args="-- -M ,64k -K ledbat,ledbat"),
'delay': DELAY,
'units': 'Mbits/s',
'runner': 'netperf_demo',}),
('TCP download avg',
{'apply_to': [glob("TCP download*", exclude=["TCP download sum"])],
'units': 'Mbits/s',
'runner': 'average',}),
('TCP download sum',
{'apply_to': [glob("TCP download*", exclude=["TCP download avg"])],
'units': 'Mbits/s',
'runner': 'sum',}),
('Ping (ms) UDP EF',
{'command': find_netperf("UDP_RR", TOTAL_LENGTH, HOST, marking="EF,EF"),
'data_transform': 'rr_to_ms',
'units': 'ms',
'runner': 'netperf_demo',}),
('Ping (ms) UDP BK',
{'command': find_netperf("UDP_RR", TOTAL_LENGTH, HOST, marking="CS1,CS1"),
'data_transform': 'rr_to_ms',
'units': 'ms',
'runner': 'netperf_demo',}),
('Ping (ms) UDP BE',
{'command': find_netperf("UDP_RR", TOTAL_LENGTH, HOST),
'data_transform': 'rr_to_ms',
'units': 'ms',
'runner': 'netperf_demo',}),
('Ping (ms) ICMP',
{'command': find_ping(IP_VERSION, STEP_SIZE, TOTAL_LENGTH, HOST),
'units': 'ms',
'runner': 'ping',}),
('Ping (ms) avg',
{'apply_to': [glob("Ping (ms)*")],
'units': 'ms',
'runner': 'average',}),
])
PLOTS = o([
('download',
{'description': 'Download bandwidth plot',
'type': 'timeseries',
'legend_title': 'TCP download',
'series': [{'data': 'TCP download RENO',
'label': 'RENO',
'linewidth': 2.0},
{'data': 'TCP download WESTWOOD',
'label': 'WESTWOOD'},
{'data': 'TCP download CUBIC',
'label': 'CUBIC'},
{'data': 'TCP download LEDBAT',
'label': 'LEDBAT'},
{'data': 'TCP download avg',
'label': 'Avg',
'smoothing': 10,
'color': 'black',
'linewidth': 2}]}),
('download_scaled',
{'description': 'Download bandwidth w/axes scaled to remove outliers',
'parent': 'download',
'scaling': (5,95)}),
('upload',
{'description': 'Upload bandwidth plot',
'type': 'timeseries',
'legend_title': 'TCP upload',
'series': [{'data': 'TCP upload RENO',
'label': 'RENO',
'linewidth': 2.0},
{'data': 'TCP upload WESTWOOD',
'label': 'WESTWOOD'},
{'data': 'TCP upload CUBIC',
'label': 'CUBIC'},
{'data': 'TCP upload LEDBAT',
'label': 'LEDBAT'},
{'data': 'TCP upload avg',
'label': 'Avg',
'smoothing': 10,
'color': 'black',
'linewidth': 2}]}),
('upload_scaled',
{'description': 'Upload bandwidth w/axes scaled to remove outliers',
'parent': 'upload',
'scaling': (5,95)}),
('ping',
{'description': 'Ping plot',
'type': 'timeseries',
'legend_title': 'Ping (ms)',
'series': [{'data': 'Ping (ms) UDP EF',
'label': 'UDP EF'},
{'data': 'Ping (ms) UDP BK',
'label': 'UDP BK'},
{'data': 'Ping (ms) UDP BE',
'label': 'UDP BE'},
{'data': 'Ping (ms) ICMP',
'label': 'ICMP'},
{'data': 'Ping (ms) avg',
'label': 'Avg',
'smoothing': 10,
'color': 'black',
'linewidth': 2}]}),
('ping_scaled',
{'description': 'Ping w/axes scaled to remove outliers',
'parent': 'ping',
'scaling': (5,95)}),
('ping_cdf',
{'description': 'Ping CDF plot',
'type': 'cdf',
'parent': 'ping',
'cutoff': (DELAY,DELAY)}),
('totals',
{'description': 'Total bandwidth and average ping plot',
'type': 'timeseries',
'dual_axes': True,
'series': [{'data': 'TCP download sum',
'label': 'Download',
'smoothing': 10},
{'data': 'TCP upload sum',
'label': 'Upload',
'smoothing': 10},
{'data': 'Ping (ms) avg',
'label': 'Ping (ms)',
'smoothing': 10,
'color': 'red',
'axis': 2}]}),
('totals_scaled',
{'description': 'Total bandwidth and average ping plot (scaled)',
'parent': 'totals',
'scaling': (5,95)}),
('all_scaled',
{'description': 'Download, upload, ping (scaled versions)',
'type': 'meta',
'subplots': ('download_scaled', 'upload_scaled', 'ping_scaled')}),
('all',
{'description': 'Download, upload, ping (unscaled versions)',
'type': 'meta',
'subplots': ('download', 'upload', 'ping')}),
])
Jump to Line
Something went wrong with that request. Please try again.