From 54bd4e4d3a319b5b9ee5f94f6dce58e8a79f4d11 Mon Sep 17 00:00:00 2001 From: Bob Lantz Date: Fri, 21 Oct 2016 13:24:03 -0700 Subject: [PATCH] For 10Mb/s links, we should certainly be network-limited rather than CPU-limited, which should expose the feature we are trying to demonstrate (TCP data rate slowing down as latency increases due to congestion control.) --- examples/linearbandwidth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/linearbandwidth.py b/examples/linearbandwidth.py index 1dd7ab1..88aa862 100755 --- a/examples/linearbandwidth.py +++ b/examples/linearbandwidth.py @@ -87,7 +87,7 @@ def linearBandwidthTest( lengths ): info( "*** testing", datapath, "datapath\n" ) Switch = switches[ datapath ] results[ datapath ] = [] - link = partial( TCLink, delay='2ms' ) + link = partial( TCLink, delay='2ms', bw=10 ) net = Mininet( topo=topo, switch=Switch, controller=Controller, waitConnected=True, link=link )