MilkFlint: OpenWrt 25.12 for the Flint 2 (GL-MT6000) with RSS, low-CPU multi-core SQM (cake_mq), DoH/DoT and DHCP Option 61

Hey all,

I’ve been putting together my own OpenWrt build called MilkFlint for the Flint 2 and figured I’d share it here in case anyone else finds it useful. This is an experimental alpha build, though I have been testing various parts over the past week. Even if you don't find it useful, have a look at the patches and use them in other builds if you like. Also thanks to @pesa1234 on this forum for various patches in their build that fixes many things on this Wi-Fi router already.

I’ve been running cake_mq with RSS on a 1 Gbit/s download connection, and it’s working well.

Note: This is ONLY for the GL.iNet Flint 2 (MT6000). Don't flash this on any other router.

I built this because I wanted a clean OpenWrt base with a few quality-of-life and performance tweaks baked in so I didn't have to set them up from scratch every time. Plus a custom UI over the top with LuCI when needed, I might continue adding features to the UI.

These are my buffer-bloat results over WiFi AX at 160MHz in the same room as the router, so this is under ideal conditions: https://www.waveform.com/tools/bufferbloat?test-id=3f34bf52-2727-43a2-a878-1f9605edcae9

Main features:

  • Kernel 6.12.115

  • Based on openwrt-25.12

  • Redesigned UI: Simple interface for common features but has LuCI still under advanced. I might add a few more common features people use in the next few builds.

  • Stable Wi-Fi: fork of the open-source mt76 driver with fixes for the MT7986's Wi-Fi on both bands (firmware resets, power save, block-ack sessions, firmware replies and more), plus mac80211 and hostapd fixes.

  • Easy Option 61 for Sky UK or others: If you're in the UK on Sky, you can easily set up DHCP Option 61 right out of the box on the internet page

  • Simple DoT / DoH: Quick setup for DNS over TLS or DNS over HTTPS.

  • RSS (Receive Side Scaling): Spreads incoming network traffic across multiple CPU cores.

  • Smart Queue (SQM) with cake_mq: Multi-core CAKE support to fix bufferbloat at much higher speeds. Note: Upload uses a single cake queue currently - though might look into changing it in future, my connection is not symmetrical so I wouldn't be able to test it well.

  • RSS: our own patches make each received packet cheaper (fewer slow descriptor reads, smaller buffer syncs) and let flow offloading work alongside Smart Queue.

  • cake_mq: CAKE patches cut per-packet work: less hashing, fewer speed re-splits, and batched shaper wakeups.

  • Ping via WAN is off and the firewall is set to drop by default so it appears as stealth on port scans by default.

  • PPPoE - fixes a long-standing OpenWrt gap: SQM on pppoe-wan is no longer bypassed by software flow offloading, so PPPoE users get shaped downloads with offloading on.

The patches are created using AI assistance. There is a large amount of local only debug logging enabled by default that you can disable System -> logs this is mostly for finding bugs or crashes if you want to review the logs.

Some of the patches are taken from the amazing pesa1234 repo: MT6000 custom build with LuCi and some optimization - kernel 6.18.x

How RSS and the Smart Queue (cake_mq) work together: Standard CAKE in SQM is single-threaded, meaning all your traffic shaping gets pinned to a single CPU core while the other three sit mostly idle. On fast fiber connections, that single core quickly becomes a bottleneck.

MilkFlint includes cake_mq (multi-queue CAKE) paired with RSS. Instead of one core doing all the heavy lifting, RSS and cake_mq spread packet processing and traffic shaping across all four cores on the MT6000. This lets you run SQM at much higher gigabit speeds without maxing out a single core, keeping your ping flat for gaming and calls even when the connection is being hammered.

MilkFlint 0.5a for the GL.iNet Flint 2 (GL-MT6000) (OpenWrt 25.12.6, alpha)

As usual when flashing from stock GL.iNet or another OpenWrt build, make sure you don't keep settings. Let me know if you try it out or run into any bugs!

This is the config I use for smart queue to get A+, make sure to select the correct connection type:

3 Likes

mmh I'm curious to see how it goes, also with the opinion of others

1 Like

I've been trying it out over the past few hours, and it seems very solid SQM is also giving me good results. I can't speak for MQ-Cake given the ubiquitous issue with PPPoE connections (I should add that my tests with it are a bit unusual because unfortunately I'm forced to run them over Wi-Fi), but with the normal one, everything's ok

1 Like

That is good it is working for you! I'm working on some tweaks to the Wi-Fi stability to try and improve a few more minor issues. Hopefully have another build out soon to test. I also use Wi-Fi for a large amount of my devices except 1.

I'm finding the Wi-Fi very good so far over the past few days of testing. I have an issue on my old laptop that has an old Intel Wireless-AC 9270, and at 160 MHz sometimes it seems to cut out, but it looks like a known issue from googling. All other devices seem to working well on Wi-Fi for me, including apple ones.

1 Like

The only thing I feel I should report over these last few hours (though it may take other people’s opinions to confirm whether it’s an objective problem) is sporadic and random moments when the connection seems to slow down. I don’t know how to explain it, but let’s say the effect I get is some YouTube Reels taking a few seconds to load or freezing while scrolling. I don’t know if they’re related to the issues you want to fix. But I thought it was important to bring it to your attention as a possible problem.

1 Like

Hmmm interesting, are you using 80MHz or 160MHz and what device is it? Wi-Fi is aways a bit variable but I have made a new build to see if it helps - you will probably want to check keep settings if on MilkFlint. Let me know how it is for you after you test it for a bit! I have only used it for around an hour.

Also there is a network scan page, so you could check for a less busy channel and then try 40MHz or 80MHz to potentially reduce Wi-Fi interference from neighbouring networks if the speeds on 40MHz or 80MHz are acceptable.

milkflint-0.12a

Download here: https://github.com/OddBlueDog/openwrt/releases/download/milkflint-0.12a/milkflint-0.12a-r33311-981c978eff-mediatek-filogic-glinet_gl-mt6000-squashfs-sysupgrade.bin - I would keep settings when you flash it if already on MilkFlint

  • Smart Queue is fairer between devices. A device with a steady small stream (a game, a call) no longer gets a smaller share for its downloads.
  • Wi-Fi keeps its pace after a missed frame. The driver no longer takes a failed frame’s fallback rate as the device’s speed.
  • Devices that ask twice to aggregate get a yes. Before, a repeated block-ack request was refused, which could stop a device aggregating its uploads.
  • Radios that fail to start now and then no longer stay off, and a radio switched off while starting stays off. These are fixes from OpenWrt’s development branch.
  • Less background work for the Wi-Fi firmware, with the same readings in the logs.

Hmm, tomorrow I’ll try to let you know how it goes. I use 160 MHz; my device is a OnePlus 10 Pro. It’s never given me problems in that regard, which is why I was curious to understand whether it’s an objective issue that other people can reproduce, or just something specific to me. Well, I guess I’ll have half a confirmation when I test the new build.

It definitely seems to be going better than before. Sometimes the upload in the waveform tests suddenly spikes and then drops during the test (but this could be more of a subjective issue than an objective one; to verify it, we’d need other people to test it to figure out whether it’s a source/common factor for everyone or not). But anyway, based on feeling, I’d say you’re on the right track for your first official release.

1 Like

OK, I took the plunge!

I use pesa's build normally. My connection is DOCSIS 1Gb down and 20Mb up. cake_mq doesn't work well due to known limitations of the hardware, which is a reason your solution is intriguing. To exercise all cores on the pesa build my configuration is 1) network/interfaces/Global network options/Packet steering is enabled all cpus and Steering flows (RPS) is 256. In Network/SQM QoS I'm using cake/piece_of_cake. LibreQOS is inconsistent but I can get A+. From my phone I can only get a B.

I'm loving your interface and the information it provides without having to install netdata. Thanks for the VPN interface, it's one thing I really like about gl.inet's version.

I'll let you know how sqm testing goes.

Off topic, there are so many speedup options on this device that conflict. SFO, HFO, different packet steering mechanisms, etc. I'm also looking at QOSMate. It's hard to come to grips with all of it.

Thanks for the build, and please keep it up! I think there is still much room left to get the most out of the Flint 2.

1 Like

Sounds good! This is what I'm using currently if it helps. I would leave RSS: hardware receive rings as the default one


Indeed! I tested RSS against openwrt layout and it was an incremental improvement, which would have likely been more were I to have a faster connection. mq_cake seemed another incremental improvement and together they seem to add more consistency to test results.
I can see work being spread around regardless, due to the monitors in your dashboard---awesome, thanks!

(I am a bit frustrated with libreqos strangeness but don't know how to address it and don't have a better alternative.)

I see you have SFO enabled. The warning about possibly interfering with SQM always made me nervous.

1 Like

Yup, there are a couple of SFO patches that fix its issues with SQM: one lets SQM tell devices apart again, so uploads are shared fairly between them, and the other lets downloads get SFO’s speed-up too. I haven’t had any stability issues with it so far, but I don’t have many devices on my network to test it fully, so I might put together a better test setup soon to properly soak test it.

I'm glad you like the interface, if you want something else adding that you think would be cool lemme know.

I haven't yet tested the VPN yet either, but will get around to that at the weekend.

I did some light testing of the Guest Network and it worked with one device, but I haven' tested multiple.

1 Like

That is awesome to hear!

My network is simple too, might as well be for initial testing eh?

I guess you saw in the pesa thread about the guy who was getting a 15% efficiency gain somewhere?

I think the interface, especially now in the AI days, is going to allow the best expression of the human craft. There are ways to present data that are easier to absorb than others and it takes a lot of time and care to perfect things. What I'm looking for is a way to easily tell if a tweak has had a beneficial effect. Differences can be hard to spot and there is no data persistence for comparisons.

One thing I don't think I see in your current version is...in the gl.inet gui I could assign a wireguard VPN to one website (IIRC).

PS when you come up with a cool patch like your SFO fix wouldn't it be adopted somehow elsewhere? I don't know the submission process.

Oh, I hadn't noticed that the SFO option was enabled by default, maybe that's what was causing those sporadic millisecond increases in my Waveform bufferbloat tests. The patches that fix the incompatibility seem to be working properly, but maybe not completely, and sometimes the upload traffic has a moment where Cake loses it and the ms go up? It's just a hypothesis from someone who doesn't know much about this; now i have SFO disabled and I don't see any major changes, but I'm interested in seeing how the upload side behaves with clean tests without congesting the line.

I'll do some further testing on waveform today and see if I can find any further tweaks to improve it.

1 Like

Is the GUI your own (looks great), or what is it based on?

I get those too and always have, no matter the firmware so I doubt it's SFO.

The 95th percentile is what you're trying to nail down and I don't know that it's possible, in real life, to do much about it.

1 Like

What’s new in 0.3a

https://github.com/OddBlueDog/openwrt/releases/download/milkflint-0.3a/milkflint-0.3a-r33311-981c978eff-mediatek-filogic-glinet_gl-mt6000-squashfs-sysupgrade.bin

  • Less lag during big downloads. Incoming traffic reaches a free CPU sooner and in smaller batches, so games, pings and video calls stay closer to normal while something downloads. It uses a little more CPU.
  • Downloads that won’t slow down get slowed anyway. Some servers ignore Smart Queue’s polite “please slow down” signals (ECN). Smart Queue now slows them the same way as any other download. Newer low-latency (L4S) traffic is left alone.
  • Changing channel no longer kicks everyone off. When you change the Wi-Fi channel or width, the radio moves and your devices follow, without having to reconnect. Moving into or out of 160 MHz, onto a radar channel, or changing other Wi-Fi settings at the same time still restarts the radio.
  • Steadier Wi-Fi. Fixes for hostapd crashes and freezes, devices whose connection could restart halfway through joining, and radios that stayed off after a failed start. Most of these come from OpenWrt and hostapd.
  • A WPA3 password check. WPA3 networks no longer accept a 64-character hex key, which WPA3 devices can’t join with.
  • Quiet connections last longer. With flow offloading on, idle UDP connections (games, voice, VPNs) now stay open for 3 minutes instead of 1.
1 Like

Thanks! Glad you like it. It is my own that was generated largely with AI.

I wanted to include some of the features that are easy to access on stock GL.iNet firmware but in a cleaner looking dashboard.

Any features or data you'd like to see on the UI easier?

1 Like

Excellent, I'm installing now. :smiling_face_with_sunglasses:

1 Like