22.1rc1 slow in Hyper-V

Started by Com DAC, January 15, 2022, 03:42:32 PM

Previous topic - Next topic
Is there any kernel fix which can solve similar issue on qemu/kvm installation? I'm suffering from bad WAN upload speed since upgrading to 22.1

This change helped me to solve my upload issue:
https://forum.opnsense.org/index.php?topic=26602.msg128862#msg128862

QuoteIf you have a VLAN but HAVE NOT assigned the parent interface please do so, enable it and then all the hardware features are properly turned off to get your speed back.

Hello,

we have the same problem with 22.1.9 on our Hyper-V Cluster.
If the vServers and the Opnsense VM are on the same Host there is perfect speed.
But if the VMs are on different Hosts than the Opnsense VM the upload speed is horrible.
Is there any fix we can try?

Quote from: Yoshisan on June 28, 2022, 01:28:12 PM
Hello,

we have the same problem with 22.1.9 on our Hyper-V Cluster.
If the vServers and the Opnsense VM are on the same Host there is perfect speed.
But if the VMs are on different Hosts than the Opnsense VM the upload speed is horrible.
Is there any fix we can try?
The fix that worked for me was to disable RSC on the shared physical interface:
QuoteSet-VMSwitch -Name "your-switch-name" -EnableSoftwareRsc $false

IIRC this is a known bug in FreeBSD. It may be worth trying the beta of OPNsense coming out in July to see if this resolves the issue?

I tried this right now but the problem remains.

Is there any opnsense-patch we can install for trying to solve this issue?
Or maybe switch back to an older kernel which doesn't include the bug?

@Franco
Is it safe for me to try this?
Thanks in advance!

Quote from: franco on January 28, 2022, 08:17:36 PM
So when on 22.1 install this kernel and reboot:

# opnsense-update -zkr 22.1-hyperv
# yes | opnsense-shell reboot

(might take a bit to sync the kernel to all mirrors... the default mirror should have it)


Cheers,
Franco

You are very late to this particular party. None of discussed applies to 22.1.x installations.

You have an error, but certainly not this one.


Cheers,
Franco

But if I change back to version 21.7.x the problem is gone and the speed is perfect over different hosts  ::)

The fix
QuoteSet-VMSwitch -Name "your-switch-name" -EnableSoftwareRsc $false
didn't work for me...

Yes, different issue as I said. Please don't hijack this thread.

Microsoft changed a couple of things in FreeBSD 13 that weren't optimal it seems...


Cheers,
Franco