Bug 230970 - [bhyve] bridge interface slow downs bandwith speed
Summary: [bhyve] bridge interface slow downs bandwith speed
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: misc (show other bugs)
Version: 11.2-RELEASE
Hardware: amd64 Any
: --- Affects Only Me
Assignee: freebsd-virtualization mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-28 09:30 UTC by IPTRACE
Modified: 2018-08-28 10:32 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description IPTRACE 2018-08-28 09:30:06 UTC
Dear All!

I posted an issue on official forum without any reply.
So, I will paste the conetct of the thread here. Maybe it's possible to investigate and resolve the issue, bug.

https://forums.freebsd.org/threads/bhyve-vtnet-with-taps-and-low-local-speed-traffic.67259/

I've found the issue on my virtual infrastracture.
The speed descreases after moving between virtual machines.

Hypervisor:
OS: FreeBSD 11.2
Application: bhyve
Network: bridge+tap

Guests:
OS: FreeBSD 11.2
Network: vtnet
media: Ethernet 10Gbase-T <full-duplex>

Traffic flow:
INTERNET <-> hypervisor <-> FW (vm guest) <-> server (vm guest)

I set MTU to 4070 (max) and to 1500 as default standard, no difference.
All PF filters allowed without logging. After speed testing it looks like this.


hypervisor:~ % speedtest-cli --server 5134
Retrieving speedtest.net configuration...
Retrieving speedtest.net server list...
Retrieving information for the selected server...
Hosted by NETIA S.A. (Warsaw) [10.25 km]: 2.415 ms
Testing download speed................................................................................
Download: 1458.58 Mbit/s
Testing upload speed................................................................................................
Upload: 617.50 Mbit/s


FW:~ % speedtest-cli --server 5134
Retrieving speedtest.net configuration...
Retrieving speedtest.net server list...
Retrieving information for the selected server...
Hosted by NETIA S.A. (Warsaw) [252.37 km]: 1.944 ms
Testing download speed................................................................................
Download: 1135.09 Mbit/s
Testing upload speed................................................................................................
Upload: 561.99 Mbit/s


server:~ % speedtest-cli --server 5134
Retrieving speedtest.net configuration...
Retrieving speedtest.net server list...
Retrieving information for the selected server...
Hosted by NETIA S.A. (Warsaw) [252.37 km]: 2.324 ms
Testing download speed................................................................................
Download: 626.66 Mbit/s
Testing upload speed................................................................................................
Upload: 574.15 Mbit/s