Did you use the "-b" option to set the bandwidth it uses for UDP? It defaults to 1Mb/s, which is close to what you're seeing. Plus, I think the recommendation is that you use iperf3, anyway, and I don't think it has this quirk. On Thu, Sep 1, 2016 at 2:06 AM Howard Su <howard0su_at_gmail.com> wrote: > I used iperf to do a quick experiment on the UDP performance between > VirtualBox and Guest through vboxnetadp. Guest is acting as server and Host > machine is acting as client. the UDP throughput is only 1/350 of TCP > throughput. > > Guest kernel is -Current and Host Kernel is 11.0-RC2. Anyone has idea? is > there any known issue in vboxnetadp? > > ------------------------------------------------------------ > Client connecting to 192.168.0.60, UDP port 5001 > Sending 1470 byte datagrams > UDP buffer size: 9.00 KByte (default) > ------------------------------------------------------------ > [ 3] local 192.168.0.1 port 48290 connected with 192.168.0.60 port 5001 > [ ID] Interval Transfer Bandwidth > [ 3] 0.0-10.0 sec 1.25 MBytes 1.05 Mbits/sec > [ 3] Sent 893 datagrams > [ 3] Server Report: > [ 3] 0.0-10.0 sec 1.25 MBytes 1.05 Mbits/sec 0.039 ms 0/ 893 (0%) > > ------------------------------------------------------------ > Client connecting to 192.168.0.60, UDP port 5001 > Sending 4096 byte datagrams > UDP buffer size: 9.00 KByte (default) > ------------------------------------------------------------ > [ 3] local 192.168.0.1 port 58009 connected with 192.168.0.60 port 5001 > [ ID] Interval Transfer Bandwidth > [ 3] 0.0-10.0 sec 1.25 MBytes 1.05 Mbits/sec > [ 3] Sent 321 datagrams > [ 3] Server Report: > [ 3] 0.0-10.0 sec 1.25 MBytes 1.05 Mbits/sec 0.100 ms 0/ 321 (0%) > > ------------------------------------------------------------ > Client connecting to 192.168.0.60, TCP port 5001 > TCP window size: 32.8 KByte (default) > ------------------------------------------------------------ > [ 3] local 192.168.0.1 port 15490 connected with 192.168.0.60 port 5001 > [ ID] Interval Transfer Bandwidth > [ 3] 0.0-10.0 sec 447 MBytes 374 Mbits/sec > > > -Howard > > -- > -Howard > _______________________________________________ > freebsd-current_at_freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org" >Received on Mon Sep 26 2016 - 22:10:27 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:08 UTC