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
18 changes: 16 additions & 2 deletions flent/tests/tcp_ndown.conf
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,17 @@ STREAMS=get_test_parameter('download_streams', cast=int)

DATA_SETS = o([
('TCP download avg',
{'apply_to': [glob("TCP download::*", exclude=["TCP download sum"])],
{'apply_to': [glob("TCP download::*")],
'units': 'Mbits/s',
'runner': 'average',}),
('TCP download sum',
{'apply_to': [glob("TCP download::*", exclude=["TCP download avg"])],
{'apply_to': [glob("TCP download::*")],
'units': 'Mbits/s',
'runner': 'sum',}),
('TCP download fairness',
{'apply_to': [glob("TCP download::*")],
'units': 'Idx',
'runner': 'fairness',}),
('Ping (ms) ICMP',
{'ip_version': IP_VERSION, 'interval': STEP_SIZE, 'length': TOTAL_LENGTH,
'host': HOST, 'units': 'ms', 'runner': 'ping'}),
Expand Down Expand Up @@ -121,6 +125,16 @@ PLOTS = o([
{'description': 'Download bandwidth combination bar plot',
'parent': 'box_combine',
'type': 'bar_combine'}),
('bar_fairness',
{'description': 'Jain\'s fairness combined bar plot',
'type': 'bar_combine',
'cutoff': (DELAY,-DELAY),
'group_by': 'groups',
'axis_labels': ['Fairness index'],
'series': [{'data': 'TCP download fairness',
'label': 'Download fairness',
'combine_mode': 'mean'}]}),

])


Expand Down
19 changes: 17 additions & 2 deletions flent/tests/tcp_nup.conf
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,17 @@ STREAMS=get_test_parameter('upload_streams', cast=int)

DATA_SETS = o([
('TCP upload avg',
{'apply_to': [glob("TCP upload::*", exclude=["TCP upload sum"])],
{'apply_to': [glob("TCP upload::*")],
'units': 'Mbits/s',
'runner': 'average',}),
('TCP upload sum',
{'apply_to': [glob("TCP upload::*", exclude=["TCP upload avg"])],
{'apply_to': [glob("TCP upload::*")],
'units': 'Mbits/s',
'runner': 'sum',}),
('TCP upload fairness',
{'apply_to': [glob("TCP upload::*")],
'units': 'Idx',
'runner': 'fairness',}),
('Ping (ms) ICMP',
{'ip_version': IP_VERSION, 'interval': STEP_SIZE, 'length': TOTAL_LENGTH,
'host': HOST, 'units': 'ms', 'runner': 'ping'}),
Expand Down Expand Up @@ -178,6 +182,17 @@ PLOTS = o([
{'description': 'Upload bandwidth combination bar plot',
'parent': 'box_combine',
'type': 'bar_combine'}),

('bar_fairness',
{'description': 'Jain\'s fairness combined bar plot',
'type': 'bar_combine',
'cutoff': (DELAY,-DELAY),
'group_by': 'groups',
'axis_labels': ['Fairness index'],
'series': [{'data': 'TCP upload fairness',
'label': 'Upload fairness',
'combine_mode': 'mean'}]}),

])


Expand Down