[VBox] Extreme slow UDP performance between host and guest
Eric Joyner
ricera10 at gmail.com
Tue Sep 27 00:10:28 UTC 2016
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"
>
More information about the freebsd-current
mailing list