GL-iNet AX1800 new router - OpenWrt support?

Hmm - been doing some performance digging, and a couple of things popped up...

Working on snapshot - at present, this is more like a SBC, in that we have cpu_scaling, and the base core freq is 864000, which steps to 1056000, and then finally up to the spec'ed 1200000 - vast majority of the time it's on the slower clocks...

to check...

cat /sys/bus/cpu/devices/cpu0/cpufreq/cpuinfo_cur_freq

At present, SNAPSHOT boots the CPU at 799999 which gets reset to 864000 - need to dig into this and see if we can address this somehow

The current default scheduling governor is schedutil - this is a fine one for applications, but for a router - performance would be the better choice, and it's available...

As we load up the device - all processes/threads are being routed over to CPU0 - so CPU's 1, 2, and 3 are pretty much idle...

Interrupts are odd - there are some that are scheduled across cores, much most are scheduled on GIC-0 - not a bad thing usually, as this is a GICv2 device, as normally GIC collects and distributes hard IRQ's across the cores (it just looks like everything is on one core, but this is how the driver presents itself to userland).

What's telling though is that items that tweak IRQ's - e.g. IRQBALANCE and the Receive Packet Steering Scripts have zero impact here - it's as though they don't apply at all... looking at the scripts there, I think it just exits...

Flow Offloads - SFO actually hurts performance in my setup, increasing latency, and decreasing thruput - oddly enough, toggling HFO is probably not supported, but is no difference compared to SFO

SQM - tried CAKE with both "Piece of Cake" and "Layer Cake" - on ethernet, so Link-Layer adaptation is Ethernet with Overhead set to 44 - it's a safe place to be, and looking at the qdisc's, it's working and putting up the expected values... challenge is that since everything is running on a single core, and that core is running on the slower clock, throughputs there are slow on a gigabit connection - e.g. about 400 Mbit/Sec with SQM enabled, and core0 at 100%

So at the moment with SNAPSHOT - there's not a lot of tweaks - e.g. disable RPS, disable Flow Offloads, disable SQM, don't use IRQBALANCE - and there, it's stable and reasonably good..

Not sure how much we can do with a 1.2GHz CPU, except to keep it hot with getting clock speeds up to rated, and keeping them warm with the governor set to performance - looking to see what can be done around getting GIC to starting moving IRQ's across more cores, as I mentioned above, it's kind of a unicore at the moment...

Other observations - on the AX1800 (and AXT1800), all interfaces for ethernet and wifi AP's are going across the NSS internal chip fabric - and not clear if the NSS UIB32 is appropriately clocked, at the moment, it's almost as though it's not, as even ethernet across the WAN/LAN is slower than expected - e.g. it's challenged to even get to 600Mbit/Sec right now...

Upside - ath11k radios are quite good at range - e.g. 10 meters across three walls, and it's better than expected when running at 25 dBm Tx power on both radios - 2.4 is quite good with g/n/ax (HE20) and 5Ghz with HE80 is better than expected - compared to MT76 on the GL-Inet MT6000, the AX1800 is better at range, and this is all RF and Rate Control - I'm perhaps a bit biased here, as I've done a lot of work on QC-Atheros platforms, but they've generally been better than most on radios... driver quality not withstanding...

All told - at the moment, we have a very stable image for AX/AXT 1800, and perhaps some additional performance with some deep effort...

Kudos again for all that put in the effort to onboard these two devices, and also to GL-Inet for their efforts on the HW - the HW is pretty good..

3 Likes

I just upgraded from my self-built image after 37 days of uptime to one that I downloaded from the firmware selector. I see nothing about nss_port5 in the dmesg output, so it has apparently be fixed, in a way that I was unable to figure out. For me, all 4 CPU cores are typically idle, but then again I am not running any VPN, just a very basic setup that shares one public IPv4 address via basic DHCP and NAT to some 10 to 20 devices.

I’m happy to read that the hardware has some potential. Mine replaced a second-hand Asus RT-AC86U that I ran a couple of years, until AsusWrt-Merlin dropped support for it about a year ago. In the forums that model was often criticized for poor lifespan due to running too hot. I didn’t try to enable any temperature graphs on my GL-AX1800 yet. The temperatures reported by the Asus RT-AC86U were around 70°C if I remember correctly.

hello magandrez, any chance you could help me clarify an error when i try to install owut? Below is the terminal output I am getting, and from what I understand

root@OpenWrt:/etc/apk/repositories.d# apk add owut
ERROR: unable to select packages:
  libubox20240329-2024.03.29~eb9bcb64-r1:
    conflicts: libubox20241219-2024.12.19~3868f47c-r1[libubox=2024.03.29~eb9bcb64-r1]
    satisfies: world[libubox20240329] cgi-io-2022.08.10~901b0f04-r21[libubox20240329] jshn-2024.03.29~eb9bcb64-r1[libubox20240329]
               jsonfilter-2025.04.18~8a86fb78-r1[libubox20240329] libblobmsg-json20240329-2024.03.29~eb9bcb64-r1[libubox20240329]
               libjson-script20240329-2024.03.29~eb9bcb64-r1[libubox20240329] libubus20250102-2025.01.02~afa57cce-r1[libubox20240329]
               libuci20250120-2025.01.20~16ff0bad-r1[libubox20240329] libuclient20201210-2024.10.22~88ae8f20-r1[libubox20240329]
               libudebug-2023.12.06~6d3f51f9[libubox20240329] libustream-mbedtls20201210-2024.07.28~99bd3d2b-r1[libubox20240329]
               logd-2024.04.26~85f10530-r1[libubox20240329] mtd-26[libubox20240329] netifd-2024.12.17~ea01ed41-r1[libubox20240329]
               odhcp6c-2024.09.25~b6ae9ffa-r1[libubox20240329] odhcpd-ipv6only-2024.05.08~a2988231-r1[libubox20240329]
               procd-2025.03.13~891094ae-r1[libubox20240329] procd-seccomp-2025.03.13~891094ae-r1[libubox20240329]
               procd-ujail-2025.03.13~891094ae-r1[libubox20240329] rpcd-2024.12.02~cc9a471c-r1[libubox20240329]
               rpcd-mod-file-2024.12.02~cc9a471c-r1[libubox20240329] rpcd-mod-iwinfo-2024.12.02~cc9a471c-r1[libubox20240329]
               rpcd-mod-luci-20240305-r1[libubox20240329] rpcd-mod-rrdns-20170710[libubox20240329] rpcd-mod-ucode-2024.12.02~cc9a471c-r1[libubox20240329]
               ubox-2024.04.26~85f10530-r1[libubox20240329] ubusd-2025.01.02~afa57cce-r1[libubox20240329]
               ucode-mod-nl80211-2025.03.24~b27d70c9-r1[libubox20240329] ucode-mod-rtnl-2025.03.24~b27d70c9-r1[libubox20240329]
               ucode-mod-uloop-2025.03.24~b27d70c9-r1[libubox20240329] uhttpd-2023.06.25~34a8a74d-r4[libubox20240329]
               urngd-2023.11.01~44365eb1-r1[libubox20240329] usign-2020.05.23~f1f65026-r1[libubox20240329]
  libubox20241219-2024.12.19~3868f47c-r1:
    conflicts: libubox20240329-2024.03.29~eb9bcb64-r1[libubox=2024.12.19~3868f47c-r1]
    satisfies: rpcd-mod-rpcsys-2024.12.02~cc9a471c-r1[libubox20241219]

And when I try to upgrade the outdated package, I get a similar error. My understanding is limited, but does it mean that the repositories aren't quite up to date?

root@OpenWrt:/etc/apk/repositories.d# apk update
 [https://downloads.openwrt.org/snapshots/targets/qualcommax/ipq60xx/packages]
 [https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/base]
 [https://downloads.openwrt.org/snapshots/targets/qualcommax/ipq60xx/kmods/6.6.87-1-46bed7c9878699f5a87382e4b120c668]
 [https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/luci]
 [https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/packages]
 [https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/routing]
 [https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/telephony]
 [https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/video]
OK: 10378 distinct packages available
root@OpenWrt:/etc/apk/repositories.d# apk upgrade
ERROR: unable to select packages:
  libubox20240329-2024.03.29~eb9bcb64-r1:
    conflicts: libubox20241219-2024.12.19~3868f47c-r1[libubox=2024.03.29~eb9bcb64-r1]
    satisfies: world[libubox20240329] cgi-io-2022.08.10~901b0f04-r21[libubox20240329] jshn-2024.03.29~eb9bcb64-r1[libubox20240329]
               jsonfilter-2025.04.18~8a86fb78-r1[libubox20240329] libblobmsg-json20240329-2024.03.29~eb9bcb64-r1[libubox20240329]
               libjson-script20240329-2024.03.29~eb9bcb64-r1[libubox20240329] libubus20250102-2025.01.02~afa57cce-r1[libubox20240329]
               libuci20250120-2025.01.20~16ff0bad-r1[libubox20240329] libuclient20201210-2024.10.22~88ae8f20-r1[libubox20240329]
               libudebug-2023.12.06~6d3f51f9[libubox20240329] libustream-mbedtls20201210-2024.07.28~99bd3d2b-r1[libubox20240329]
               logd-2024.04.26~85f10530-r1[libubox20240329] mtd-26[libubox20240329] netifd-2024.12.17~ea01ed41-r1[libubox20240329]
               odhcp6c-2024.09.25~b6ae9ffa-r1[libubox20240329] odhcpd-ipv6only-2024.05.08~a2988231-r1[libubox20240329]
               procd-2025.03.13~891094ae-r1[libubox20240329] procd-seccomp-2025.03.13~891094ae-r1[libubox20240329]
               procd-ujail-2025.03.13~891094ae-r1[libubox20240329] rpcd-2024.12.02~cc9a471c-r1[libubox20240329]
               rpcd-mod-file-2024.12.02~cc9a471c-r1[libubox20240329] rpcd-mod-iwinfo-2024.12.02~cc9a471c-r1[libubox20240329]
               rpcd-mod-luci-20240305-r1[libubox20240329] rpcd-mod-rrdns-20170710[libubox20240329] rpcd-mod-ucode-2024.12.02~cc9a471c-r1[libubox20240329]
               ubox-2024.04.26~85f10530-r1[libubox20240329] ubusd-2025.01.02~afa57cce-r1[libubox20240329]
               ucode-mod-nl80211-2025.03.24~b27d70c9-r1[libubox20240329] ucode-mod-rtnl-2025.03.24~b27d70c9-r1[libubox20240329]
               ucode-mod-uloop-2025.03.24~b27d70c9-r1[libubox20240329] uhttpd-2023.06.25~34a8a74d-r4[libubox20240329]
               urngd-2023.11.01~44365eb1-r1[libubox20240329] usign-2020.05.23~f1f65026-r1[libubox20240329]
  libubox20241219-2024.12.19~3868f47c-r1:
    conflicts: libubox20240329-2024.03.29~eb9bcb64-r1[libubox=2024.12.19~3868f47c-r1]
    satisfies: rpcd-mod-rpcsys-2024.12.02~cc9a471c-r1[libubox20241219]

not sure what happened but I requested a new build including owut in the firmware-selector and it worked?

Hi @mistamal The error you see is nothing related to owut.

You tried to upgrade your packages and you got a dependency conflict more specifically with the package libubox, which is part of the base packages IIRC. You could have attempted to resolve that dependency. By flashing a new version you get all the dependencies resolved, regardless of having included owut on the image you created.

You may want to get comfortable with resolving dependencies, otherwise you may have to re-install your desired image every time you want to include a new package.

I hope this helps clarifying the issue.

Cheers,

-Manuel

1 Like

Not exactly. From the versions of your packages, it seems you have installed a ā€œdevelopment buildā€ (i.e. not a ā€œstable releaseā€, currently 24.10), what happened is that, when attempting to upgrade the packages, a version conflict arose (rpcd-mod-rpcsys wants a libubox version that cannot be resolved). It is good to remember that packages from a ā€œdevelopment buildā€ are not available for download forever. You can read on the availability of packages for ā€œdevelopment buildsā€ here.

Hopefully this brings some light to the problem.

Cheers,

-Manuel

1 Like

AX1800 is still on snapshot last I checked, so your comment here is very valid...

Not sure how the OWUT tool would handle this for snapshop/master, as things there change day by day...

If installed, owut is capable of upgrading from a development build to a stable release, given there is one, if that’s what you mean.