I'm having difficulty getting good LAN and WAN performance at the same time on a virtualised opnsense firewall.
I'm unsure if it's a Realtek problem, an Proxmox/KVM problem, or a FreeBSD/OPNsense problem (or combination thereof)
What I know is that if I enable CRC in the OPNsense VM, then:
* LAN traffic improves markedly (from 700mbit to 940mbit)
* VM CPU usage drops to a quarter
* LAN -> WAN traffic crawls to a halt
Obviously I want the improved LAN speed without killing the WAN.
On the Promox side, I have two identical NICs:
The wan has its own NIC connected to a virtual bridge, and the LAN is connected to the default virtual bridge used by all VMs.
Does the NIC hardware have to support the same checksum settings as that advertised in the virtual bridge and virtio NIC?
Can anyone help with this please?
Note some references I found on this:
* https://pve.proxmox.com/wiki/PfSense_Guest_Notes
* https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=165059
* https://www.reddit.com/r/PFSENSE/comments/842unp/having_an_issue_with_virtualized_pfsense_speeds/
I'm unsure if it's a Realtek problem, an Proxmox/KVM problem, or a FreeBSD/OPNsense problem (or combination thereof)
What I know is that if I enable CRC in the OPNsense VM, then:
* LAN traffic improves markedly (from 700mbit to 940mbit)
* VM CPU usage drops to a quarter
* LAN -> WAN traffic crawls to a halt
Obviously I want the improved LAN speed without killing the WAN.
On the Promox side, I have two identical NICs:
Code:
driver: r8152
version: v1.12.12
firmware-version: rtl8153a-4 v2 02/07/20
The wan has its own NIC connected to a virtual bridge, and the LAN is connected to the default virtual bridge used by all VMs.
Does the NIC hardware have to support the same checksum settings as that advertised in the virtual bridge and virtio NIC?
Can anyone help with this please?
Note some references I found on this:
* https://pve.proxmox.com/wiki/PfSense_Guest_Notes
* https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=165059
* https://www.reddit.com/r/PFSENSE/comments/842unp/having_an_issue_with_virtualized_pfsense_speeds/
Last edited: