Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
22.1 Legacy Series
»
22.1rc1 slow in Hyper-V
« previous
next »
Print
Pages:
1
[
2
]
3
4
5
Author
Topic: 22.1rc1 slow in Hyper-V (Read 20805 times)
mnaim
Jr. Member
Posts: 55
Karma: 5
Re: 22.1rc1 slow in Hyper-V
«
Reply #15 on:
January 27, 2022, 05:45:16 pm »
I can confirm that. Hyper-V on Server 2022 (on premise)
21.7
Download 800Mbps
Upload 881Mbps
22.1
Download 829Mbps
Upload 1.57Mbps
After rollback (thanks to this post snapshot was taken) speeds are ok.
Logged
franco
Administrator
Hero Member
Posts: 17665
Karma: 1611
Re: 22.1rc1 slow in Hyper-V
«
Reply #16 on:
January 27, 2022, 07:23:09 pm »
Can someone record a packet capture on 22.1 with thew Hyper-V slowdown and tell us if it's bad checksums, missing packets or out of order traffic? At first glance there is no mention in FreeBSD bug tracker but having full download speed but poor upload seems to indicate outgoing checksum issues?
Cheers,
Franco
Logged
Com DAC
Newbie
Posts: 18
Karma: 4
Re: 22.1rc1 slow in Hyper-V
«
Reply #17 on:
January 27, 2022, 07:44:17 pm »
Here is a full all interface packet capture while using speedtest.net. Both my upload and download are being impacted.
Packet Capture: REDACTED BY ADMIN
Thank you,
«
Last Edit: January 27, 2022, 07:46:56 pm by franco
»
Logged
franco
Administrator
Hero Member
Posts: 17665
Karma: 1611
Re: 22.1rc1 slow in Hyper-V
«
Reply #18 on:
January 27, 2022, 07:47:14 pm »
Thanks I grabbed it and redacted the URL.
Cheers,
Franco
Logged
dandickson
Newbie
Posts: 1
Karma: 0
Re: 22.1rc1 slow in Hyper-V
«
Reply #19 on:
January 27, 2022, 08:37:35 pm »
I snapshotted one of my production systems and upgraded it, i'm seeing issues on the download traffic, the upload seems normal.
I had to revert the machine back however if it would help, I can provide a temporary test system for you to run tests against franco
Logged
AllPurposeGeek
Newbie
Posts: 2
Karma: 0
Re: 22.1rc1 slow in Hyper-V
«
Reply #20 on:
January 28, 2022, 05:13:38 am »
I am having this same issue on the published release.
Host is Windows Server 2022
NIC is a Intel(R) 82576 Gigabit.
Virtual "Switch" is configured with "Enable single-root I/O virtualization SR-IOV"
Speed is 1-2 Megabits with or without TCP offloading. Had to roll back to 21.7
Logged
franco
Administrator
Hero Member
Posts: 17665
Karma: 1611
Re: 22.1rc1 slow in Hyper-V
«
Reply #21 on:
January 28, 2022, 10:29:09 am »
I'm looking at
https://github.com/opnsense/src/commit/cdc59163ff8e8f2a
which isn't on FreeBSD 13.0-RELEASE. Is that a positive on "Windows Server 2019 hosts and later"? Maybe RSC can be disabled in the host to test this theory?
Cheers,
Franco
Logged
Com DAC
Newbie
Posts: 18
Karma: 4
Re: 22.1rc1 slow in Hyper-V
«
Reply #22 on:
January 28, 2022, 02:17:58 pm »
I've setup two new test vswitches (one for WAN and one for LAN). Disabled software RSC on both and now my download speeds are great but my upload speeds are still unusable.
I think this might be on to something.
Logged
Maurice
Hero Member
Posts: 1213
Karma: 158
Re: 22.1rc1 slow in Hyper-V
«
Reply #23 on:
January 28, 2022, 04:55:19 pm »
Upgraded a production system to 22.1. Throughput dropped from several hundred Mbps to less than 5 Mbps (up and down). Came here to learn it's a known issue. Windows Server 2022, Gen2 VM, Intel NIC, no special settings.
Can't provide more information, sorry. Not back in the debugging / development game (yet). Just need a working system, so already rolled back to 21.7.
Maurice
Logged
OPNsense virtual machine images
OPNsense aarch64 firmware repository
Commercial support & engineering available. PM for details (en / de).
N0ah
Newbie
Posts: 2
Karma: 0
Re: 22.1rc1 slow in Hyper-V
«
Reply #24 on:
January 28, 2022, 06:04:34 pm »
Same here, upgraded from 21.7 to 22.1, speeds dropped from ~190 / 40 mbps to 3-15mbps.
Server 2019 Core, Gen 2, v9 VM; WAN vSwitch is based on a Realtek Card, LAN vSwitch on Multiplex / 2x Intel. No SR-IOV.
Could provide tests, logs or whatnot.
Reverted back to 21.7, but kept a snapshot of 22.1.
Cheers
«
Last Edit: January 28, 2022, 06:06:26 pm by N0ah
»
Logged
franco
Administrator
Hero Member
Posts: 17665
Karma: 1611
Re: 22.1rc1 slow in Hyper-V
«
Reply #25 on:
January 28, 2022, 08:00:28 pm »
I'm building a kernel without the RSC support now to try.
EDIT: just to report back on the packet capture analysis... it didn't show obvious stack issues so I assumed that this is some sort of packet disappearing act which made me look at changes between FreeBSD 13.0 and 13-STABLE we are using.
Cheers,
Franco
«
Last Edit: January 28, 2022, 08:04:03 pm by franco
»
Logged
franco
Administrator
Hero Member
Posts: 17665
Karma: 1611
Re: 22.1rc1 slow in Hyper-V
«
Reply #26 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
Logged
Com DAC
Newbie
Posts: 18
Karma: 4
Re: 22.1rc1 slow in Hyper-V
«
Reply #27 on:
January 28, 2022, 08:51:03 pm »
that seems to have done it. Speeds are good with the updated kernel.
Logged
Maurice
Hero Member
Posts: 1213
Karma: 158
Re: 22.1rc1 slow in Hyper-V
«
Reply #28 on:
January 28, 2022, 09:08:10 pm »
Upgraded to 22.1 again and installed the patched kernel. First impression: Performance "feels" like 21.7.
Thanks, Franco.
Maurice
Logged
OPNsense virtual machine images
OPNsense aarch64 firmware repository
Commercial support & engineering available. PM for details (en / de).
Sisyphe
Newbie
Posts: 18
Karma: 2
Re: 22.1rc1 slow in Hyper-V
«
Reply #29 on:
January 29, 2022, 12:50:01 am »
Hi,
I'm experiencing similar slowdowns with 22.1 final on ESXi 7.0 Update 3. Reverting to 21.7 resolved the issue.
I haven't tried the patched kernel yet as I assume this may only be relevant for Hyper-V.
Cheers
«
Last Edit: January 29, 2022, 12:54:30 am by Sisyphe
»
Logged
Print
Pages:
1
[
2
]
3
4
5
« previous
next »
OPNsense Forum
»
Archive
»
22.1 Legacy Series
»
22.1rc1 slow in Hyper-V