Project

General

Profile

Actions

Regression #12873

closed

Hyper-V RSC support in ``hn(4)`` driver is enabled by default and results in very low throughput

Added by Steve Wheeler 4 months ago. Updated about 1 month ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Hardware / Drivers
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
22.05
Release Notes:
Default
Affected Version:
2.6.0
Affected Architecture:
amd64

Description

RSC support was added to FreeBSD in 12.3 and is included in pfSense 22.01/2.6.

When run in Hyper-V it can create very low throughput in some conditions. That can be mitigated in some setups by disabling RSC in the vSwitches but not all.

RSC should be disabled when the system is routing but is not automatically and the current driver implementation provides no way to disable it manually.

See: https://forum.netgate.com/topic/169884/after-upgrade-inter-v-lan-communication-is-very-slow-on-hyper-v

And: https://reviews.freebsd.org/D29075?id=85183#771753

Actions #1

Updated by Steve Wheeler 3 months ago

This looks to have been addressed by this: https://reviews.freebsd.org/D34507
Only in FreeBSD/main currently.

Actions #2

Updated by Steve Wheeler about 1 month ago

  • Status changed from New to Feedback

This patch is now in 2.7 and 22.05-beta snapshots.

Actions #3

Updated by Steve Wheeler about 1 month ago

This seems to work as expected.

[22.05-BETA][admin@azure10.stevew.lan]/root: sysctl dev.hn.0.rsc_switch
dev.hn.0.rsc_switch: 0
[22.05-BETA][admin@azure10.stevew.lan]/root: sysctl -d dev.hn.0.rsc_switch
dev.hn.0.rsc_switch: switch to rsc

RSC support is now disabled by default.

Actions #4

Updated by Jim Pingle about 1 month ago

  • Status changed from Feedback to Resolved
Actions #5

Updated by Jim Pingle about 1 month ago

  • Subject changed from Hyper-V: RSC support in hn(4) creates very low thoughput to Hyper-V RSC support in ``hn(4)`` driver is enabled by default and results in very low throughput

Updating subject for release notes.

Actions

Also available in: Atom PDF