Hi you are saying bw=3, so isn't the +/-3 mbps you observe what you want? /PA
On Wed, 9 Dec 2020 at 22:31, knet solutions <knetsolutio...@gmail.com> wrote: > Hi , > > > Recently i migrated my sdn lab environment from ubuntu 16.04 to ubuntu > 20.04. > mininet in ubuntu 20.04 , running along with ryu controller > simple_switch_13 application. > Linear topology ,restrict the bandwidth with 5 mbps like below. > > self.addLink(s1, s2, cls=TCLink, bw=3) > > I run the IPERF UDP traffic test for 5mbps, it automatically reduces to > 3mbps(path bandwidth) and not showing any packets loss.. > i tried iperf, iperf3, ditg - all same result. > > mininet> h1 iperf3 -c h6 -u -b 5m > Connecting to host 10.1.1.6, port 5201 > [ 5] local 10.1.1.1 port 43817 connected to 10.1.1.6 port 5201 > [ ID] Interval Transfer Bitrate Total Datagrams > [ 5] 0.00-1.00 sec 424 KBytes 3.47 Mbits/sec 300 > [ 5] 1.00-2.00 sec 356 KBytes 2.92 Mbits/sec 252 > [ 5] 2.00-3.00 sec 356 KBytes 2.92 Mbits/sec 252 > [ 5] 3.00-4.00 sec 355 KBytes 2.91 Mbits/sec 251 > [ 5] 4.00-5.00 sec 356 KBytes 2.92 Mbits/sec 252 > [ 5] 5.00-6.00 sec 356 KBytes 2.92 Mbits/sec 252 > [ 5] 6.00-7.00 sec 355 KBytes 2.91 Mbits/sec 251 > [ 5] 7.00-8.00 sec 356 KBytes 2.92 Mbits/sec 252 > [ 5] 8.00-9.00 sec 356 KBytes 2.92 Mbits/sec 252 > [ 5] 9.00-10.00 sec 355 KBytes 2.91 Mbits/sec 251 > - - - - - - - - - - - - - - - - - - - - - - - - - > [ ID] Interval Transfer Bitrate Jitter Lost/Total > Datagrams > [ 5] 0.00-10.00 sec 3.54 MBytes 2.97 Mbits/sec 0.000 ms 0/2565 > (0%) sender > [ 5] 0.00-10.19 sec 3.54 MBytes 2.91 Mbits/sec 0.062 ms 0/2565 > (0%) receiver > > iperf Done. > mininet> > > > In ubuntu 16.04, i didnt observe this issue. > Any one faced this issue? > > Thanks > > > > > _______________________________________________ > Ryu-devel mailing list > Ryu-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/ryu-devel > -- Fragen sind nicht da um beantwortet zu werden, Fragen sind da um gestellt zu werden Georg Kreisler
_______________________________________________ Ryu-devel mailing list Ryu-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ryu-devel