Low USB3 speed

I mean, IPQ870x should get its actual speed out of the box, not bogged down by an inefficient cpu usage management from the firmware.

I'm not here to bash developers, u guys have done such a tremendous job of giving freedom to people like us, but these SOCs need more justice, isn't it?

Can we please stop with these magical secret sauce fixes that are not public.

Either make it public or simply not even post about it.

7 Likes

Can you kindly share it? Its an open community so please.

It says ,20 but that is across 4 cores. So 4.00 would be 100%. .20 would be .05% across all 4 cores.

How about for MT7621? Does it have fix for low USB speed now?

This "fix" was merged into rooter below
It fixes it somewhat but the usb speed issues still persist over 250-300 mbps when it should be well north of 700 when using usb3 on another device.

This will work for MT7621 devices and does even the load across the cores.

create as etc/init.d/usbspeed
set permissions

#!/bin/sh /etc/rc.common
# Copyright (C) 2006 OpenWrt.org

START=35

start() {
	NP=$(grep -c ^processor /proc/cpuinfo )
	if [ "$NP" -gt 1 ]; then
		INTERRUPT=$(ls /proc/irq/ | sed '/default/d')
		USB_NUMBER=$(grep "xhci-hcd" /proc/interrupts | awk -F: '{print $1}' | sed 's/^ //')

		for I in ${INTERRUPT}; do
			if [[ "${I}" = "${USB_NUMBER}" ]]; then
					echo "3" > /proc/irq/${I}/smp_affinity 2>/dev/null
				else
					echo "1" > /proc/irq/${I}/smp_affinity 2>/dev/null
				fi
		done
	fi
}
4 Likes

Thank you all! that very good for USB Disk.

Any Update
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
I'm getting speeds on Mcuzone Board Type C where I installed m.2 Modem 5G on it , I got speeds around ** Download: 700 Mb/s** with using USB Type 3.2 cable from board to other device (mesh or laptop)

Where on OpenWrt system or ROOter system maximum I'm getting Download :300 MB/s

So mostly I think new modems need new usb adapter that supporting high speed like connection type C ..

I have mt7621, 6.9.3 kernel, +25% OC CPU, hwnat and natflow from x-wrt (for mtk_eth_soc), mtk wifi driver 5.1.0.0 for mt7615 + skb_recycler from qualcommax

usb 2.0 ncm modem ---> wifi5 ~ 350Mbps (DL)

CPU usage per cores for 350Mbps DL --> wifi5
1 - 30%
2 - 0%
3 - 25%
4 - 0%

So 1Gbps could be posible on mt7621 with NCM modem

2 Likes

Its possible ,
I found one person overclock the CPU , where he got a higher speeds 45%