Skip to content

MilkFlint 0.87a

Pre-release
Pre-release

Choose a tag to compare

@OddBlueDog OddBlueDog released this 23 Nov 14:04
· 66 commits to milkflint-25.12 since this release

An update to 0.861a: Smart Queue's multi-queue CAKE now starts from 1 Gbit/s on Ethernet lines (500 Mbit/s on PPPoE), fixes to how multi-queue CAKE shares the speed between its queues, a queue per CPU wherever packet steering spreads a download, a "Use VPN's DNS" switch for devices sent through a VPN, and more trustworthy Test Bench delay figures. Still OpenWrt 25.12.6, with kernel changes to CAKE and the Ethernet driver (matching kernel modules are in MilkFlint's feed), and still an alpha.

What's new

Smart Queue

  • Multi-queue CAKE on Automatic starts from 1 Gbit/s on an Ethernet line (DHCP, static and the like), and stays at 500 Mbit/s on a PPPoE line. On Ethernet, one CAKE keeps up below a gigabit and keeps the hosts' and DSCP tins' fairness exact; on PPPoE, downloads all arrive on one CPU first. Upgrading moves an Automatic Ethernet queue below 1 Gbit/s back to one CAKE, once; a queue you set to multi-queue yourself stays as it is. The Smart Queue page and Performance Tuning say which threshold applies to your line and how its queues are spread over the CPUs.
  • Multi-queue CAKE shares the speed better. A queue whose traffic comes in bursts well under its share no longer goes on holding back part of the speed from the busy queues. In diffserv3 and diffserv4, the Bulk tin (CS1, LE) now yields across queues as it does in one CAKE: Bulk traffic on one queue gets a small share next to Best Effort traffic on another, half next to other Bulk traffic, and all of it on its own. And on downloads, CAKE no longer sets timers that have already expired after a burst of drops.
  • A queue per CPU wherever packet steering spreads a download. With RSS off, or in OpenWrt's own steering layout, an Ethernet WAN's downloads (and a VLAN WAN's on top of that port) are spread by packet steering, but multi-queue CAKE's queues were all fed from one CPU. They now get one CPU each, as a PPPoE line's already did.

VPN

  • Use VPN's DNS on Send through a VPN: devices sent through the VPN look names up with the VPN provider's DNS server, through the tunnel, while every other device keeps the router's DNS. Local names (.lan, your own DNS records) still work, it works with AdGuard Home on, and lookups never fall back to the router's DNS if the tunnel drops.

Test Bench and tuning

  • Smart Queue's delay in Test Bench reports is each tin's delay weighted by the traffic it carried, shown only for seconds with enough packets to be that second's own (quiet seconds used to show an older value), and the peak always comes from the busiest queue.
  • A download or upload that stops sending ends as "stalled" after 5 seconds instead of keeping the run waiting.
  • Performance Tuning's CAKE ECN and DSCP settings are tried again at the next reload if CAKE's module wasn't loaded yet, rather than being marked as done.

Ethernet driver

  • The adaptive interrupt moderation now counts only its own ring's interrupts. An experimental qdma_tx_dim module parameter (off by default, no change unless you turn it on) applies the moderation the other way round on QDMA, for comparing the two layouts.

Where the changes come from

  • MilkFlint's own, with tests: KUnit cases for multi-queue CAKE's sharing (bursty queues, the Bulk tin in each DiffServ mode, a near-idle third queue), the shaper's timer after drops, BLUE, live changes and COBALT's edge cases; unit tests for packet steering, sqm-scripts, Smart Queue's thresholds, Test Bench and Performance Tuning; and the router side in test VMs (CAKE scenarios, first boot and upgrade, packet steering with and without RSS).

Known issues

  • Device control is new. It has been tested in a test VM, not yet on many routers. If a device stays online after its time off begins, tell us which device and whether flow offloading is on.
  • LuCI's Software page still offers upgrades for the pinned packages. Its Upgrade button leaves them as they are: apk keeps the pinned version. They're upgraded by MilkFlint's own releases.
  • kmod-batman-adv isn't available. It doesn't build on this kernel, so it isn't in MilkFlint's kernel module feed and batman-adv mesh networks can't be set up for now. Kernel 6.12.114 renamed a field that the module still chooses by kernel version.
  • AdGuard Home knows devices by address. Rules for one device in its web interface need the device to keep its address (a reservation on the Clients page); rules by MAC address only work with AdGuard Home's own DHCP server, which stays off. Device control's SafeSearch follows a group's or device's current addresses.
  • Hardware offloading (WED) is experimental: it turns Smart Queue off while it's on, and it can only be switched with a restart. Leave it off unless you want the CPU free more than you want low latency under load.

Installing

Already on MilkFlint? Keep your settings. Flashing over an earlier MilkFlint with "Keep settings" ticked keeps your configuration, and the update brings it up to date. From GL.iNet's firmware or OpenWrt, don't keep settings: untick "Keep settings" (from a shell: sysupgrade -n), as settings from another firmware may not match this one.

  • Flash only milkflint-0.87a-r33311-981c978eff-mediatek-filogic-glinet_gl-mt6000-squashfs-sysupgrade.bin below. Never a factory, preloader or bl31-uboot image.
  • From an earlier MilkFlint: System → Upgrade, or in LuCI, System → Backup / Flash Firmware → Flash image, with "Keep settings" ticked.
  • From GL.iNet's firmware: System → Upgrade → Local Upgrade at http://192.168.8.1, untick "Keep Settings".
  • From OpenWrt: in LuCI, System → Backup / Flash Firmware → Flash image, untick "Keep settings".
  • After a fresh install (settings not kept), plug a cable into a LAN port and open http://192.168.1.1. There's no password yet: sign in with it empty and set one. Wi-Fi is off until you set it up on the Wi-Fi page.

To go back, flash GL.iNet's firmware the same way, again without keeping settings.

Source

Branch milkflint-25.12 at 7b3ee522ea. Building it is in the README.