timing issues

master
Frederik Maaßen 2 years ago
parent 427d477d2d
commit 4056765548
  1. 5
      implementation/mininet_controller.py
  2. 4
      implementation/topologies/4r4h_topo.py
  3. 4
      implementation/topologies/6r4h_topo.py
  4. 4
      implementation/topologies/8r4h_topo.py

@ -312,10 +312,11 @@ def measure_packet_flow(net, client, server, server_ip, flow_measurement_targets
net[server].cmd(iperf_server_command)
sleep(1)
net[client].cmd(
f"iperf3 -c {server_ip} -b 0 -f m -i {interval} -t {length+2} {client_type_string} > {tmp_file_name}_client.out &")
f"iperf3 -c {server_ip} -b 0 -f m -i {interval} -t {length+3} {client_type_string} > {tmp_file_name}_client.out &")
sleep(2)
start_packet_counter_timers(net, interval, length, unique_test_name, test_prefix, test_type, timestamp)
sleep(length + 10)
sleep(length + 2)
# make sure packet counters ran out
info("\nStopping iPerf server...")

@ -387,7 +387,7 @@ class FourRoutersFourHosts(CustomTopo):
"failures": [
{
"type": "timer",
"timing": 17.1,
"timing": 19.1,
"execute": {
"use_pre_defined_function": True,
"command": (
@ -413,7 +413,7 @@ class FourRoutersFourHosts(CustomTopo):
"failures": [
{
"type": "timer",
"timing": 17.1,
"timing": 19.1,
"execute": {
"use_pre_defined_function": True,
"command": (

@ -384,7 +384,7 @@ class SixRoutersFourHosts(CustomTopo):
"failures": [
{
"type": "timer",
"timing": 17.1,
"timing": 19.1,
"execute": {
"use_pre_defined_function": True,
"command": (
@ -441,7 +441,7 @@ class SixRoutersFourHosts(CustomTopo):
"failures": [
{
"type": "timer",
"timing": 17.1,
"timing": 19.1,
"execute": {
"use_pre_defined_function": True,
"command": (

@ -531,7 +531,7 @@ class EightRoutersFourHosts(CustomTopo):
"failures": [
{
"type": "timer",
"timing": 17.1,
"timing": 19.1,
"execute": {
"use_pre_defined_function": True,
"command": (
@ -585,7 +585,7 @@ class EightRoutersFourHosts(CustomTopo):
"failures": [
{
"type": "timer",
"timing": 17.1,
"timing": 19.1,
"execute": {
"use_pre_defined_function": True,
"command": (