NanoPi R5C - Rockchip RK3568B2 - 2 PCIe 2.5Gbps

Try 24.10rc6? I'm running 24.10rc6 on my R5C gateway and internet speed is fine. It's handling ~450 Mbps CAKE SQM download (I have 600/20 ISP service) over a distant WiFi AP with just a quick test now. It's faster on a wired connection (WiFi is holding it back, not the R5C), but suffice to say I'm not limited anywhere near to 175Mbps.

1 Like

No joy.

The Snapshot and 24.10.0-rc6 only allow for about 95mbps down and up. With FriendlyWrt it’s averaging 700mbps down and 185mbps up.

Test is being run from TP-Link Deco BE25 connected directly to the r5c via 2.5gps port.

OpenWrt 24.10.0-rc6

Sorry to hear it didn't work out.

Probably you've already tried this, but installing without keeping your configuration and re-configuring using a backup as a guide might fix a hidden issue. Or not. It could just be a waste of your time.

2 Likes

Have you adjusted the net-smp-affinity?

1 Like

I reinstalled squash from scratch each time. Tried the latest OpenWrt Snapshot and the latest RC supporting the NanoPI R5C.

No. How do I do that?

Install WinSCP - login into your router.
Navigate to the /etc/hotplug.d/net folder
in there you will see a file called smp-affinity, can you post the R5c?
will look something like -

 friendlyarm,nanopi-r5c|\
-radxa,e25)
+radxa,e25|\
+sinovoip,rk3568-bpi-r2pro)
        set_interface_core 2 "eth0"
        set_interface_core 4 "eth1"

	find /sys/class/net/eth*/queues/[rt]x-[01]/[rx]ps_cpus -exec sh -c '[ -w {} ] && echo f > {} 2>/dev/null' \; 
	;;

add in the find/sys/class line as is will set queues to all 4 cpu, but also try changing it to 3 (rather than f), which will just use the first 2 cpu as i think from default eth* are pinned to cpu 3 and 4. I don't own a R5C so this is may be different, I use a R4S and R6S.

Your methoid worked. I'm about to sysupgrade to -rc5 with owut and would like to use --rootfs-size ROOTFS_SIZE option of owut.
What should be the size put here not to expose myself on bricking the device?
1040 mentioned in this post from September?

I guess that doing upgrade with rootfs size will allow to expand and sysupgrade in place with biggger storage.

Regarding /etc/hotplug.d/net' there's no definition hhere for r5c:

case "$(board_name)" in
armsom,sige7|\
friendlyarm,nanopc-t6|\
friendlyarm,nanopi-r3s|\
friendlyarm,nanopi-r5c|\
friendlyarm,nanopi-r6c|\

But in LuCi - Interfaces->Devices->Global options I can see:


turned on. Maybe this will help?

This must be in that 40-net-smp-affinity file.

https://git.openwrt.org/?p=openwrt/openwrt.git;a=blobdiff;f=target/linux/rockchip/armv8/base-files/etc/hotplug.d/net/40-net-smp-affinity;fp=target/linux/rockchip/armv8/base-files/etc/hotplug.d/net/40-net-smp-affinity;h=8bbce1c32857e4edd96551adc3427b6d84281e93;hp=5753d1e856023b5977714d2ae85b01fb5da4cba1;hb=4ebcc5375a5f3610164a3b605437b4392f021454;hpb=cfb7df2991d9b9580d9c14b482813214bddbe125

Can anyone confirm that I can safely upgrade with owut and declare bigger rootfs size?
I'd like to upgrade to newest stable but also make rootfs bigger.

I use imagebuilder and run this:

# edit .config file and increase CONFIG_TARGET_ROOTFS_PARTSIZE=256.
sed -i 's/^CONFIG_TARGET_ROOTFS_PARTSIZE=104$/CONFIG_TARGET_ROOTFS_PARTSIZE=255/' .config