issues with network script

Bug #1796190 reported by Jeff Lane 
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Checkbox Provider - Base
Won't Fix
Undecided
Jeff Lane 

Bug Description

network script has some issues that are just becomming evident.

1: on high speed nics, for now, it needs to drop to iperf2 as that provides better performance results. We'll make a better attempt later.

2: reporting is not correct. The more I stare at the results the more I think it needs to simply get the final SUM and average that across num_runs. The way it works now results in this (for example on a 25Gb NIC):

[ 5] 0.0-60.0 sec 56108 MBytes 7844 Mbits/sec
[ 4] 0.0-60.0 sec 56122 MBytes 7846 Mbits/sec
[ 3] 0.0-60.0 sec 56120 MBytes 7846 Mbits/sec
[SUM] 0.0-60.0 sec 168350 MBytes 23537 Mbits/sec

DEBUG:root:Min Transfer speed: 7835.0 Mb/s
DEBUG:root:Max Transfer speed: 23572.0 Mb/s
INFO:root:Avg Transfer speed: 11768.442622950819 Mb/s
INFO:root:47.07% of theoretical max 25000 Mb/s
WARNING:root:Poor network performance detected against 192.168.122.65
WARNING:root: Transfer speed: 11768.442622950819 Mb/s
WARNING:root: 47.07% of theoretical max 25000 Mb/s

Note this really shoudl have been a passing result as the iperf sum shows 23Gb/s.

This was never evident on 10Gb or slower, and I'm not entirely sure why it's only showing now, but I think the fix here is to just get the SUM line from the output and forget the rest of the math.

Tags: scripts
Jeff Lane  (bladernr)
Changed in plainbox-provider-checkbox:
assignee: nobody → Jeff Lane (bladernr)
Jeff Lane  (bladernr)
description: updated
Changed in plainbox-provider-checkbox:
status: In Progress → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.