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..

4 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.

I created the thread Qualcommax: nss_port5_rx_clk_src: rcg didn't update its configuration for this problem. This problem may have been specific to the Linux 6.6 based branch. The current main branch snapshot is based on a 6.12.30 kernel.

I am not sure if there was a problem with https://firmware-selector.openwrt.org at the time you tried it. Whenever there is, I assume that there will updates to the thread that is linked by the "feedback" link at the bottom of the page. The output looks similar to what I saw yesterday after a recent problem (The OpenWrt Firmware Selector - #1425 by aparcar) had been fixed. In my case, there would be about 4 download buttons below the text output. I downloaded the "sysupgrade" one, uploaded the image to /tmp/sysupgrade.bin on the device, checked the sha256sum and upgraded to a newer OpenWrt by executing the following command:

sysupgrade -c -u /tmp/sysupgrade.bin

Not sure if this is normal or not, but has anyone noticed that the frequencies displayed (in the wireless overview) for each channel is way higher than what they ought to be for the 5Ghz range? I have selected channel 149 with 160MHz width, though I see similar results for all channels when using 160MHz width. I should say that none of my devices see or are able to connect in this situation. The wifi works normally when I select 80 MHz width.



Thanks for any insights in advance!

Actually it seems like 160MHz width is not supported by the chipset according to this datasheet: https://www.wallystech.com/story-Qualcomm_IPQ6018.html.
However, I see that the CPU is meant to run at 1.8GHz, has anyone tried to use it at that frequency without the need for forced air cooling?

There are multiple variants of the IPQ6018 - not all are rated at 1.8...

1 Like

I just ordered a second device at a 20% discount at https://www.amazon.de/GL-iNet-GL-AX1800-Flint-WiFi-Router/dp/B09HBW45ZJ/ so that I will be able to experiment more freely without any risk of bricking my main router.

I paid about 20% less than last year. I wonder if this device will soon be discontinued, to be replaced by something that would not work with OpenWrt. Other outlets, including AliExpress and the manufacturer’s own shop, offer this model at a much higher price.

If I sort the list of Wi-Fi 6 capable routers by the number of 1000baseT Ethernet ports, there are quite a few with 5 ports. The GL-AX1800 sits somewhere in the middle with regard to the memory and CPU resources. For my needs, it is an ideal device.

I wonder if this device will soon be discontinued, to be replaced by something that would not work with OpenWrt

Actually a followup product has been put to market for more than a year now. It is - unsurprisingly - called "Flint 2" and - as far as I understand - supports 24.1 already.

I forgot to mention the Flint 2, because I had dismissed it. Yes, it has two 2.5 gigabit Ethernet ports, more memory, and supposedly better WiFi. I don’t need any of that. I prefer low power consumption and certainly wouldn’t run any Docker images on my router. I think that 1000baseT and some form of dual band WiFi will cover many needs for the next 10 years or so. I fear that the Flint could be replaced with a cost reduced version that offers similar features. For example, the Qualcomm SoC could be replaced with something that would be unlikely to ever be supported in a mainline Linux kernel.

1 Like

And now the Flint 3 is out but not supported by mainstream OpenWrt yet.
My guess is the old Flint 1 aka AX1800 is coming up to EOL, but I would suspect the AXT1800 will go on for some time yet

Hi Marko,

I missed the point, why do you need to substitute your Flint? Or is it that you are seeking for a second device to be able to tinker with it safely?

Right, I just wanted a second device as a spare and for tinkering, such as playing around with VLANs and WLAN roaming, which I suppose will be more pleasant when both routers run OpenWrt. I thought that if anyone else in the EU has similar thoughts, now it would seem to be a good opportunity to take advantage of the discount.

1 Like

I see,

Personally, I own the GL-AR750S for the same purpose (and as a travel router). Very handy, very powerful.