Re: Diagnosing virtual machine network issues

From: Jason Bacon <bacon4000_at_gmail.com>
Date: Wed, 31 Jul 2024 12:45:55 UTC
On 7/30/24 15:27, Jason Bacon wrote:
> Coincidentally, I'm experimenting with FreeBSD under Qemu on my Mac Mini 
> M1 and seeing about 93 mbits/sec in iperf, regardless of the NIC 
> configured.  ( VM to bare metal host )  Bare metal to bare metal shows 
> 930 mbits/sec.

Never mind.  There was an intermittent issue of some sort, possibly a 
loose Ethernet cable?  MacOS may have been falling back on WiFi during 
my VM tests.  I'm now seeing native NIC performance under Qemu with -nic 
user,model=virtio:

<<<ROOT@tarponvm.acadix>>> ~ 16 # iperf -c barracuda 

------------------------------------------------------------ 

Client connecting to barracuda, TCP port 5001 

TCP window size: 32.8 KByte (default) 

------------------------------------------------------------ 

[  1] local 10.0.2.15 port 60623 connected with 192.168.0.48 port 5001 

[ ID] Interval       Transfer     Bandwidth 

[  1] 0.00-10.01 sec  1.09 GBytes   939 Mbits/sec

So Qemu is totally viable for running a high-performance FreeBSD VM on 
Apple Silicon.

-- 
Life is a game.  Play hard.  Play fair.  Have fun.