Search Mailing List Archives


Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[mininet-discuss] Not getting the actual link Bandwidth.

Bob Lantz rlantz at cs.stanford.edu
Sat Mar 14 17:15:37 PDT 2015


70 Mb/sec seems a bit low. You may be hitting resource limits in your configuration.

As seen below, it works fine for me even with a python web server! (87.4 Mb/s).

I'd recommend trying it with lower bandwidth limits. I'd also recommend using the latest OVS/kernel.

# mn -v output --link tc,bw=100 --topo linear,2 --test iperf
*** Iperf: testing TCP bandwidth between h1 and h2 
*** Results: ['88.6 Mbits/sec', '89.9 Mbits/sec']
# mn -v output --link tc,bw=100
mininet> h1 cd /tmp
mininet> h1 dd if=/dev/zero of=data bs=1M count=100
100+0 records in
100+0 records out
104857600 bytes (105 MB) copied, 0.108829 s, 964 MB/s
mininet> h1 python -m SimpleHTTPServer 80 >& /dev/null &
mininet> h2 wget http://10.1/data
--2015-03-13 21:41:47--  http://10.1/data
Resolving 10.1 (10.1)... 10.0.0.1
Connecting to 10.1 (10.1)|10.0.0.1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 104857600 (100M) [application/octet-stream]
Saving to: ‘data.1’

100%[======================================>] 104,857,600 10.4MB/s   in 9.6s   

2015-03-13 21:41:59 (10.4 MB/s) - ‘data.1’ saved [104857600/104857600]



> On Mar 10, 2015, at 10:10 PM, chaitanya tanwar <chaitanya.tanwar at gmail.com> wrote:
> 
> Hi all,
> 
> I have a topology like the following.
> 
> s1------------s2
>  |               |
> h1            h2
> 
> and both switches connected to POX controller.
> 
> I have set the badwidths of all the link at 100Mbps. But when i am starting a webserver at h1 and downloading a file at h2 (File size - 4.2MB, type - tar.gz) , then the maximum download speed as 10-11MBps.
> Why is that happening?
> But when i am testing the bandwidth with iperf i.e "iperf h1 h2", then its giving around 70MBps which can be considered as normal.
> 
> So is there a reason why the download speed is low? 
> I have tried 2 different web servers as well but both gave the same speed.
> 
> Thanks and Regards
> _______________________________________________
> mininet-discuss mailing list
> mininet-discuss at lists.stanford.edu
> https://mailman.stanford.edu/mailman/listinfo/mininet-discuss



More information about the mininet-discuss mailing list