[VBox] Extreme slow UDP performance between host and guest

From: Howard Su <howard0su_at_gmail.com>
Date: Thu, 01 Sep 2016 09:05:57 +0000
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
Received on Thu Sep 01 2016 - 07:06:09 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:07 UTC