Different kernel, different download speed

Hello everyone, I have been using CachyOS on my laptop for quite some time and everything works very well. The only thing I can’t explain is why with kernel 6.9.3 my speed tests seem “throttled” and on average they give a result of 750 Mbps while with the LTS 6.6.32 kernel the speed tests return average values of 1.4 Gbps. I also noticed that the broadcom modules are also loaded while I have a “Killer AX1650i” detected as “Intel® Wi-Fi 6 AX203” and the bluetooth as “Intel Corp. AX201 Bluetooth”. With the LTS 6.6.32 the firmware that is loaded is 83 while with the 6.9.3 it is 89…

❯ sudo dmesg | grep iwlwifi
[    7.629204] iwlwifi 0000:00:14.3: Detected crf-id 0x1300504, cnv-id 0x80400 wfpm id 0x80000030
[    7.629244] iwlwifi 0000:00:14.3: PCI dev 51f0/1652, rev=0x370, rfid=0x10a100
[    7.635952] iwlwifi 0000:00:14.3: TLV_FW_FSEQ_VERSION: FSEQ Version: 0.0.2.42
[    7.636243] iwlwifi 0000:00:14.3: loaded firmware version 89.e9cec78e.0 so-a0-hr-b0-89.ucode op_mode iwlmvm
[    7.713159] iwlwifi 0000:00:14.3: Detected Intel(R) Wi-Fi 6 AX203, REV=0x370
[    7.721497] iwlwifi 0000:00:14.3: WRT: Invalid buffer destination
[    7.824290] iwlwifi 0000:00:14.3: WFPM_UMAC_PD_NOTIFICATION: 0x20
[    7.824299] iwlwifi 0000:00:14.3: WFPM_LMAC2_PD_NOTIFICATION: 0x1f
[    7.824306] iwlwifi 0000:00:14.3: WFPM_AUTH_KEY_0: 0x90
[    7.824314] iwlwifi 0000:00:14.3: CNVI_SCU_SEQ_DATA_DW9: 0x10
[    7.824371] iwlwifi 0000:00:14.3: Detected RF HR B5, rfid=0x10a100
[    7.825423] iwlwifi 0000:00:14.3: RFIm is deactivated, reason = 4
[    7.890326] iwlwifi 0000:00:14.3: base HW address: 4c:03:4f:f5:76:c5
[    8.158586] iwlwifi 0000:00:14.3: WRT: Invalid buffer destination
[    8.256622] iwlwifi 0000:00:14.3: WFPM_UMAC_PD_NOTIFICATION: 0x20
[    8.256632] iwlwifi 0000:00:14.3: WFPM_LMAC2_PD_NOTIFICATION: 0x1f
[    8.256640] iwlwifi 0000:00:14.3: WFPM_AUTH_KEY_0: 0x90
[    8.256649] iwlwifi 0000:00:14.3: CNVI_SCU_SEQ_DATA_DW9: 0x10
[    8.257742] iwlwifi 0000:00:14.3: RFIm is deactivated, reason = 4
[    8.326606] iwlwifi 0000:00:14.3: Registered PHC clock: iwlwifi-PTP, with index: 0
[    8.360903] iwlwifi 0000:00:14.3: WRT: Invalid buffer destination
[    8.458742] iwlwifi 0000:00:14.3: WFPM_UMAC_PD_NOTIFICATION: 0x20
[    8.458752] iwlwifi 0000:00:14.3: WFPM_LMAC2_PD_NOTIFICATION: 0x1f
[    8.458760] iwlwifi 0000:00:14.3: WFPM_AUTH_KEY_0: 0x90
[    8.458767] iwlwifi 0000:00:14.3: CNVI_SCU_SEQ_DATA_DW9: 0x10
[    8.460064] iwlwifi 0000:00:14.3: RFIm is deactivated, reason = 4

~
❯ lsusb | grep Bluetooth
Bus 003 Device 004: ID 8087:0026 Intel Corp. AX201 Bluetooth

~
❯ lspci -nnkv | sed -n '/Network/,/^$/p'
0000:00:14.3 Network controller [0280]: Intel Corporation Alder Lake-P PCH CNVi WiFi [8086:51f0] (rev 01)
        Subsystem: Rivet Networks Dual Band Wi-Fi 6(802.11ax) Killer AX1650i 160MHz 2x2 [Cyclone Peak] [1a56:1652]
        Flags: bus master, fast devsel, latency 0, IRQ 16, IOMMU group 10
        Memory at 6105274000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: <access denied>
        Kernel driver in use: iwlwifi
        Kernel modules: iwlwifi, wl


~

Waiting for some suggestions, I thank you for your attention.

1 Like

We have in the latest Kernel BBR3 patched.
You can change via sysctl to the default algorithm “cubic”. Maybe this helps.

Hi Ptr,
thanks for the suggestion but the same configuration on different kernels leads to these different results :frowning:
I also tried the core version of kernel and got the same result.

So, if I understand correct, this is also present on the default kernel?

Yes, I apologize but only now I thought of trying the default version as well. To be precise, I tried:

cachyos-v3/linux-cachyos 6.9.3-2
core/linux 6.9.3.arch1-1

cachyos-v3/linux-cachyos-lts 6.6.32-1
core/linux-lts 6.6.32-1

Damn. I’ve got the same problem, i guess, and didn’t even notice.

linux-cachyos download speedtest++: ~600
linux-cachyos-lts-lto download speedtest++: >900

[   16.359428] iwlwifi 0000:03:00.0: enabling device (0000 -> 0002)
[   16.405182] iwlwifi 0000:03:00.0: Detected crf-id 0x400410, cnv-id 0x400410 wfpm id 0x80000000
[   16.405342] iwlwifi 0000:03:00.0: PCI dev 2725/0024, rev=0x420, rfid=0x10d000
[   16.423294] iwlwifi 0000:03:00.0: TLV_FW_FSEQ_VERSION: FSEQ Version: 0.0.2.42
[   16.426149] iwlwifi 0000:03:00.0: loaded firmware version 89.202a2f7b.0 ty-a0-gf-a0-89.ucode op_mode iwlmvm
[   16.905989] Modules linked in: snd_hda_intel(+) intel_rapl_msr ee1004(+) wl(POE+) libarc4 uvcvideo mei_hdcp mei_wdt mei_pxp snd_intel_dspcfg processor_thermal_device_pci_legacy btusb snd_intel_sdw_acpi btrtl kvm iwlwifi videobuf2_vmalloc processor_thermal_device snd_hda_codec processor_thermal_wt_hint uvc btintel processor_thermal_rfim videobuf2_memops snd_hda_core btbcm videobuf2_v4l2 processor_thermal_rapl rapl vfat intel_cstate btmtk fat snd_hwdep think_lmi(+) intel_rapl_common intel_uncore psmouse e1000e intel_wmi_thunderbolt videodev pcspkr firmware_attributes_class processor_thermal_wt_req i2c_i801 cfg80211 wmi_bmof snd_pcm thunderbolt ucsi_acpi ptp videobuf2_common typec_ucsi bluetooth pps_core snd_timer mc ecdh_generic i2c_smbus processor_thermal_power_floor typec intel_xhci_usb_role_switch mei_me crc16 processor_thermal_mbox mei intel_pch_thermal roles intel_soc_dts_iosf int3403_thermal int340x_thermal_zone int3400_thermal acpi_pad acpi_thermal_rel mousedev joydev mac_hid lz4 lz4_compress winesync(OE)
[   17.252400] iwlwifi 0000:03:00.0: Detected Intel(R) Wi-Fi 6 AX210 160MHz, REV=0x420
[   17.265257] iwlwifi 0000:03:00.0: WRT: Invalid buffer destination
[   17.423956] iwlwifi 0000:03:00.0: WFPM_UMAC_PD_NOTIFICATION: 0x20
[   17.423973] iwlwifi 0000:03:00.0: WFPM_LMAC2_PD_NOTIFICATION: 0x1f
[   17.423993] iwlwifi 0000:03:00.0: WFPM_AUTH_KEY_0: 0x90
[   17.424008] iwlwifi 0000:03:00.0: CNVI_SCU_SEQ_DATA_DW9: 0x0
[   17.427896] iwlwifi 0000:03:00.0: loaded PNVM version 35148b80
[   17.443250] iwlwifi 0000:03:00.0: Detected RF GF, rfid=0x10d000
[   17.513300] iwlwifi 0000:03:00.0: base HW address: 4c:49:6c:4b:2b:25
[   18.199461] iwlwifi 0000:03:00.0: WRT: Invalid buffer destination
[   18.358199] iwlwifi 0000:03:00.0: WFPM_UMAC_PD_NOTIFICATION: 0x20
[   18.358236] iwlwifi 0000:03:00.0: WFPM_LMAC2_PD_NOTIFICATION: 0x1f
[   18.358274] iwlwifi 0000:03:00.0: WFPM_AUTH_KEY_0: 0x90
[   18.358291] iwlwifi 0000:03:00.0: CNVI_SCU_SEQ_DATA_DW9: 0x0
[   18.449471] iwlwifi 0000:03:00.0: Registered PHC clock: iwlwifi-PTP, with index: 1
[   18.495172] iwlwifi 0000:03:00.0: WRT: Invalid buffer destination
[   18.653750] iwlwifi 0000:03:00.0: WFPM_UMAC_PD_NOTIFICATION: 0x20
[   18.653780] iwlwifi 0000:03:00.0: WFPM_LMAC2_PD_NOTIFICATION: 0x1f
[   18.653800] iwlwifi 0000:03:00.0: WFPM_AUTH_KEY_0: 0x90
[   18.653815] iwlwifi 0000:03:00.0: CNVI_SCU_SEQ_DATA_DW9: 0x0



03:00.0 Network controller [0280]: Intel Corporation Wi-Fi 6E(802.11ax) AX210/AX1675* 2x2 [Typhoon Peak] [8086:2725] (rev 1a)
        Subsystem: Intel Corporation Wi-Fi 6 AX210 160MHz [8086:0024]
        Flags: bus master, fast devsel, latency 0, IRQ 18
        Memory at dc100000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: <access denied>
        Kernel driver in use: iwlwifi
        Kernel modules: iwlwifi, wl


Does changing to the cubic algorithm help?

Otherwise I think you need to create an issue at https://bugzilla.kernel.org so that the intel guys take a look on this wifi thing.

do i have to create /etc/sysctl.conf file and edit it with:
net.ipv4.tcp_available_congestion_control = cubic

or changes should work real time with:

sysctl net.ipv4.tcp_congestion_control=cubic

sudo sysctl net.ipv4.tcp_congestion_control=cubic

and then retest.

Hello,

As suggested, I reported the issue on bugzilla.kernel.org where they advised me to perform a bisect to find the offending commit. I had difficulties with Archlinux, so I had to use Debian 12 directly. I’m not sure if I did everything correctly and if I was taken into consideration.
However, for your information, I noticed that with kernels later than version 6.8.12, the bandwidth is used at 80 MHz, while with kernels earlier than version 6.8.12, the bandwidth is correctly used at 160 MHz when I connect to my 5GHz wireless network. Therefore, I assume this is the cause of the download speed drop. I verified this with the command sudo iw dev.

Best regards.