From 2554a2d02da18c88f36c92d99b514b09cc2df1ad 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 56dc6a1..ff07d07 100755 --- a/examples/linearbandwidth.py +++ b/examples/linearbandwidth.py @@ -86,7 +86,7 @@ def linearBandwidthTest( lengths ): print "*** testing", datapath, "datapath" 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 )