Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Sep 2016 00:10:16 +0000
From:      Eric Joyner <ricera10@gmail.com>
To:        Howard Su <howard0su@gmail.com>,  "freebsd-current@freebsd.org" <freebsd-current@freebsd.org>, freebsd-virtual@freebsd.orgr, Sepherosa Ziehau <sepherosa@gmail.com>
Subject:   Re: [VBox] Extreme slow UDP performance between host and guest
Message-ID:  <CA%2Bb0zg90H8m_Eaet3%2BC-uUoBTroC4Z8_U3rp4Q7EkghoaLZsNg@mail.gmail.com>
In-Reply-To: <CAAvnz_r7TtGb3fBnAZMUJhL=6Ziq5oODfkzSCWt7FUoVVEgE=w@mail.gmail.com>
References:  <CAAvnz_r7TtGb3fBnAZMUJhL=6Ziq5oODfkzSCWt7FUoVVEgE=w@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2Bb0zg90H8m_Eaet3%2BC-uUoBTroC4Z8_U3rp4Q7EkghoaLZsNg>