diff --git a/examples/linearbandwidth.py b/examples/linearbandwidth.py
index 5cd05f0046c04b4e5a62f73175af5ce71f46261b..995bfa1e2f8f9721e653bc362a045cb821795ba8 100755
--- a/examples/linearbandwidth.py
+++ b/examples/linearbandwidth.py
@@ -27,7 +27,7 @@
 from mininet.node import UserSwitch, OVSKernelSwitch, Controller
 from mininet.topo import Topo
 from mininet.log import lg
-from mininet.util import irange
+from mininet.util import irange, quietRun
 from mininet.link import TCLink
 from functools import partial
 
@@ -78,6 +78,10 @@ def linearBandwidthTest( lengths ):
 
     topo = LinearTestTopo( hostCount )
 
+    # Select TCP Reno
+    output = quietRun( 'sysctl -w net.ipv4.tcp_congestion_control=reno' )
+    assert 'reno' in output
+
     for datapath in switches.keys():
         print "*** testing", datapath, "datapath"
         Switch = switches[ datapath ]
@@ -97,7 +101,7 @@ def linearBandwidthTest( lengths ):
             # since the reference controller is reactive
             src.cmd( 'telnet', dst.IP(), '5001' )
             print "testing", src.name, "<->", dst.name,
-            bandwidth = net.iperf( [ src, dst ] )
+            bandwidth = net.iperf( [ src, dst ], seconds=10 )
             print bandwidth
             flush()
             results[ datapath ] += [ ( n, bandwidth ) ]