Skip to content

Commit 47889eb

Browse files
committed
test: remove retransmits metric from tcp throughput perf test
Similar to pkt_loss in the latency test, it is always 0. Signed-off-by: Patrick Roy <[email protected]>
1 parent 9d51884 commit 47889eb

File tree

4 files changed

+0
-33
lines changed

4 files changed

+0
-33
lines changed

tests/integration_tests/performance/configs/test_network_tcp_throughput_config_4.14.json

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4871,15 +4871,6 @@
48714871
],
48724872
"unit": "seconds"
48734873
},
4874-
"retransmits": {
4875-
"statistics": [
4876-
{
4877-
"function": "Sum",
4878-
"name": "total"
4879-
}
4880-
],
4881-
"unit": "#"
4882-
},
48834874
"throughput": {
48844875
"statistics": [
48854876
{

tests/integration_tests/performance/configs/test_network_tcp_throughput_config_5.10.json

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4871,15 +4871,6 @@
48714871
],
48724872
"unit": "seconds"
48734873
},
4874-
"retransmits": {
4875-
"statistics": [
4876-
{
4877-
"function": "Sum",
4878-
"name": "total"
4879-
}
4880-
],
4881-
"unit": "#"
4882-
},
48834874
"throughput": {
48844875
"statistics": [
48854876
{

tests/integration_tests/performance/configs/test_network_tcp_throughput_config_6.1.json

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4871,15 +4871,6 @@
48714871
],
48724872
"unit": "seconds"
48734873
},
4874-
"retransmits": {
4875-
"statistics": [
4876-
{
4877-
"function": "Sum",
4878-
"name": "total"
4879-
}
4880-
],
4881-
"unit": "#"
4882-
},
48834874
"throughput": {
48844875
"statistics": [
48854876
{

tests/integration_tests/performance/test_network_tcp_throughput.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,6 @@
3434
THROUGHPUT = "throughput"
3535
THROUGHPUT_TOTAL = "total"
3636
DURATION = "duration"
37-
RETRANSMITS = "retransmits"
38-
RETRANSMITS_TOTAL = "total"
3937
BASE_PORT = 5000
4038
CPU_UTILIZATION_VMM = "cpu_utilization_vmm"
4139
CPU_UTILIZATION_VCPUS_TOTAL = "cpu_utilization_vcpus_total"
@@ -188,10 +186,6 @@ def consume_iperf_tcp_output(cons, result, vcpus_count):
188186
duration = float(total_received["seconds"])
189187
cons.consume_data(DURATION, duration)
190188

191-
total_sent = result[IPERF3_END_RESULTS_TAG]["sum_sent"]
192-
retransmits = int(total_sent["retransmits"])
193-
cons.consume_data(RETRANSMITS, retransmits)
194-
195189
# Computed at the receiving end.
196190
total_recv_bytes = int(total_received["bytes"])
197191
tput = round((total_recv_bytes * 8) / (1024 * 1024 * duration), 2)

0 commit comments

Comments
 (0)