pfsense on kvm -- slow network speed
-
Hello,
first of all I am totally new with pfsense and I also have like no experience with *bsd.
my problem is the network speed of pfsense under kvm.
When I test the bandwidth with iperf, I get a value about 11 times as fast on a linux guest to the linux host as when it runs from the pfsense to the linux host.- gentoo: 192.168.122.1
- pfsense: 192.168.122.111
- debian: 192.168.122.51
[ 4] local 192.168.122.1 port 5001 connected with 192.168.122.111 port 11928 [ ID] Interval Transfer Bandwidth [ 4] 0.0-10.0 sec 2.07 GBytes 1.78 Gbits/sec [ 5] local 192.168.122.1 port 5001 connected with 192.168.122.51 port 35012 [ 5] 0.0-10.0 sec 22.2 GBytes 19.1 Gbits/sec
'Hardware Checksum Offloading' is enabled in the webinterface. On the host side I switched off everything with "ethtool -K <inf> tx off". The virtual network cards are set to virtio.
Anyone got an idea where i can look?
- pfsense 2.4.4-RELEASE-p1 (amd64)
- QEMU version 3.1.0
- Host kernel 4.19.10-gentoo
Thanks for every tip
Thorsten -
i installed a freebsd 11.2. and this vm worked as expected. So it doesn't seem to be a basic freebsd problem.
Unfortunately my freebsd knowledge are less than basic, so I have no idea at which place I could look.
Does anyone here have pfsense running on kvm and no network performance problems? -
@macduke I got it running, seems like everything is fine so far.
I’m using unraid with virtio nics (also shared with the server as I only have 2 nic ports for now
I have only got enabled the hardware checksum preference. I haven’t touched any other preference on unRaid or the VM