fq_codel shaping halves download speed

Started by th3voic3, February 02, 2024, 01:44:59 PM

Previous topic - Next topic
Hi,

I have a 1000/50 connection.

I setup shaping according to this https://maltechx.de/en/2021/03/opnsense-setup-traffic-shaping-and-reduce-bufferbloat/ which worked just fine in the versions below 24.1
In 24.1 my speed is halved if I enable the download rule.

Maybe related:
I also found out that in 24.1 the PowerD settings no longer had an effect and I had to set the tunables:
dev.hwpstate_intel.0.epp=80
dev.hwpstate_intel.1.epp=80
dev.hwpstate_intel.2.epp=80
dev.hwpstate_intel.3.epp=80

to keep my CPU from going to 70 Celsius.

I'm using a Protectli VP2420.


Okay it's definitely related to speedshift.
I added hint.hwpstate_intel.0.disabled="1" to /boot/loader.conf.local and the issue is gone after a reboot.

And at what temperature does it run now? These are passively cooled (fanless) devices, so the manufacturer bios settings may be geared towards power saving, to keep it from running hot.
In theory there is no difference between theory and practice. In practice there is.

February 05, 2024, 06:09:01 AM #3 Last Edit: February 05, 2024, 12:55:15 PM by th3voic3
With speed shift disabled with the hint I can use PowerD again. The temperatures are in the 50-60 degrees Celsius range again as before the upgrade.

I can check the core boot settings for anything related but I'm wondering if I should just leave it like it is now or if there is any advantage to making it work with speed shift.

Update: I wrote a ticket to Protectli. I'll post an update once I have anything to report.