root@OPNsense:~ # iostat -x
extended device statistics
device r/s w/s kr/s kw/s ms/r ms/w ms/o ms/t qlen %b
ada0 1 107 42.0 2570.7 1 1 0 1 0 8iostat -x 2. When I disable Automatic Discovery, the instantaneous writes drop back to near zero.root@firewall:/var/log/hostwatch # ls -l
total 56
-rw------- 1 root wheel 56388 Jan 16 14:35 hostwatch_20260116.log
lrwxr-x--- 1 root wheel 41 Jan 16 15:01 latest.log -> /var/log/hostwatch/hostwatch_20260116.log
Quote from: franco on January 16, 2026, 09:26:15 PMWell, it's either enabled or not. There may be a bug that doesn't stop it but I haven't seen it. Worst case a reboot would take care of it (when properly disabled).Does hostwatch suppose to create such disk writes?
Cheers,
Franco
Quote from: franco on January 16, 2026, 09:02:37 PMhttps://github.com/opnsense/changelog/blob/efe03ef435b5abfff641262fd69e02efd926be5a/community/25.7/25.7.11#L10-L12Thanks, I've seen it. But it still causing really high disk writes. For a time being I stopped this service...
Interfaces: Neighbors: Automatic Discovery.
Cheers,
Franco
Quote from: darkvoid on December 25, 2025, 03:29:56 PMChipping in from some experience with my setup.
netgraph networking works very well with bhyve.
I use the following script to setup a bridge to link the virtual machine directly to the OPNSense LAN interface:# Setup ng_bridge if required
if ! ngctl status bnet0: >/dev/null 2>&1; then
ngctl -f- <<END
mkpeer igc0: bridge lower link0
name igc0:lower bnet0
connect igc0: bnet0: upper link1
msg igc0: setpromisc 1
msg igc0: setautosrc 0
END
fi
This creates a bridge linked to igc0 (my OPNsense LAN interface) and prepares for bhyve to attach.
bhyve can subsequently attach to the bridge as follows:bhyve \
-c sockets=1,cores=8,threads=1 \
-m 16G \
-s 0,hostbridge \
-s 2,virtio-blk,/vm/hdd.img \
-s 3,virtio-net,netgraph,path=bnet0:,peerhook=link2 \
-s 4,virtio-9p,data=/zdata/vm \
-s 5,virtio-rnd \
-s 31,lpc \
-l bootrom,/vm/BHYVE_UEFI.fd,/vm/efi-vars.fd \
-l com1,stdio \
-u \
-H -P -S \
This has provided very stable and performant networking on the bhyve instance.