Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 01 Sep 2016 09:05:57 +0000
From:      Howard Su <howard0su@gmail.com>
To:        "freebsd-current@freebsd.org" <freebsd-current@freebsd.org>, freebsd-virtual@freebsd.orgr, Sepherosa Ziehau <sepherosa@gmail.com>
Subject:   [VBox] Extreme slow UDP performance between host and guest
Message-ID:  <CAAvnz_r7TtGb3fBnAZMUJhL=6Ziq5oODfkzSCWt7FUoVVEgE=w@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAAvnz_r7TtGb3fBnAZMUJhL=6Ziq5oODfkzSCWt7FUoVVEgE=w>