
Originally Posted by
TheFu
Let's start by saying clearly, exactly, which hypervisor you are using.
Is this a bridge connection or something else? How is that setup?
Yes, agree.

Originally Posted by
TheFu
I'm using KVM with virtio drivers for a 20.04 desktop and seeing no issues. The bridge is manually setup using the interfaces file. The VM networking is static using a netplan config file.
As much for my own interest, as contributing to this thread, I did the same tests: Host = Debian server; bridge manually setup using networkd (I do not use netplan); VM IP address is dynamic via my main test network dhcp server on the same host computer; QEMU/KVM with virtio drivers; Guest = Ubuntu desktop 20.10.

Originally Posted by
TheFu
From the VM to the host, I see 20-30 Gbps.
I did a 300 second test using iperf:
Code:
doug@desk-gg:~$ iperf -c s15 -t 300 --window 416K
------------------------------------------------------------
Client connecting to s15, TCP port 5001
TCP window size: 416 KByte
------------------------------------------------------------
[ 3] local 192.168.111.4 port 41342 connected with 192.168.111.1 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0-300.0 sec 700 GBytes 20.0 Gbits/sec

Originally Posted by
TheFu
To other systems with GigE NICs, usually 920-940 Mbps.
I did a 300 second test using iperf:
Code:
doug@desk-gg:~$ iperf -c s18 -t 300 --window 416K
------------------------------------------------------------
Client connecting to s18, TCP port 5001
TCP window size: 416 KByte
------------------------------------------------------------
[ 3] local 192.168.111.4 port 40382 connected with 192.168.111.122 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0-300.0 sec 29.1 GBytes 835 Mbits/sec
Note the VM guest takes a lot more energy to do the same thing compared to doing it from the host. I am saying that the host processor consumes 33 watts while running the iperf command to a different piece of hardware, whereas the host doing the same (the VM is still active, but idle) thing uses only 7.1 watts (similar performance result, 830 Mbits/sec).
Bookmarks