From the messaging we’ve seen on this forum and in notes, it sounds like ROS 7 was a massive shift for MikroTik away from a lot of custom engineered work so they could track upstream more closely. I suspect once they finish getting all of the table stakes stuff implemented and mostly bug free they will start following the upstream kernel more closely. That’s my hope, at least. It’s one of the reasons 7 is exciting, even if it’s taking a while for it to actually stabilize with all of the core functionality people want. It’s a huge step in the right direction. I’m going off topic so will move on.
I think you are conflating three things. The underlying LTE buffers in the device(s) are huge. I have seen 25 seconds of it on one device, tested recently. (and they still shipped it!) LTE/5g/etc itself throughout its entire stack has major bufferbloat problems, for which multiple fixes for the enode-bs, rans, and clients have been proposed, none, implemented. https://scholar.google.com/scholar?hl=en&as_sdt=0%2C10&q=bufferbloat+5g - for some papers on it. There are three proposals in that list that I like a lot. Fixing the underlying buffering on cell phones and routers actually requires changes to the signalling in the (chipset specific) lte/5g driver stack to essentially have a completion interrupt for a BQL like interface, or better reports of underlying buffering to the overlying driver. Might be happening in a few phones soon, can´t tell, but only works on the uplink side. There are zillions of other things LTE operators do wrong today, like have a lousy performance setting on the uplink scheduler. 1 number, changed in their operations, would make online gaming for 5G fwa work a lot better. There´s a really great paper on that, too, that I cannot find right now.
cake-autorate is a research project that attempts to use active measurements to manage a LTE connections more tolerable. It is the Wrong thing compared to actually fixing the underlying drivers, but without access to those drivers, they are trying to manage the buffering better. The team is very enthusiastic about their work as are those that have been willing to tweak and fiddle. I am sorry you only achieved 5/1 with your settings, please check the very active forum thread for help. https://forum.openwrt.org/t/cake-w-adaptive-bandwidth/135379/3415?u=dtaht
They are crazy, but my kind of crazy. In particular, I LOVE all the analysis tools they have developed to gain insights into this very thorny problem.
I see that you saw no difference between cake and the mikrotik product? Mikrotik is in a market position to improve drivers (or at least work with their chipset vendor to do so), and pick on the cellular folk, better than I am. The downstream and upstream schedulers can be improved greatly in addition to attempting to address the buffering.
In general, you do have to choose what device you put openwrt on carefully. I like the A/B test out of reflashing the hap ac-lite, for example. I LIKE (and need) ROUTEROS for all the features!! and want to see it improve to have the least bufferbloat in the industry.
To summarize, LTE and to an even greater extent 5G, is insanely bufferbloated, and without the big cellular providers understanding it, stepping in, and making it a priority to fix, it cannot be fixed well with 3rd party patches or active measurement. PLEASE pester your cellular providers about fixing their !@#! bufferbloat. My community has done all it can. Someone strapping the CEO of T-Mobile or Verizon in a chair and saying, “if you fix your bufferbloat, you will take another 5+ million FWA customers next year…” might work. It worked for me on musk: https://www.youtube.com/watch?v=c9gLo6Xrwgw
The whole starlink team is now aiming for 20ms of consistent latency, but they have a lot of their stack left to fix even after 2 years of trying, and a few ¨minor" problems like orbital mechanics getting in the way. Their gen2 router got a lot better recently, as did the gen3…
Won’t work for me. I would like to know how to get beyond 1st-level ISP support to someone who would understand the topic. Not actively taking measures - just understand what bufferbloat means.
It’s not LTE carriers that are the problem per se. They follow the 3GPP/etc specs. LTE is a shared media, so speed changes with other’s usage, sometime rapidly. It’s the modem manufacturers that are the issue IMO. e.g. none that I know report the current bandwidth assigned (which should be deterministic with RBs assigned), which prevents using current channel capacity to set the max-bandwidth in CAKE/etc. Mikrotik could ask their modem vendors for some way to extract the current bandwidth from the modem, because that’s what missing for LTE and queues.
*) arp - added ARP status (CLI only);
*) calea - improved system stability when adding bridge rule without “calea” package installed;
*) console - updated copyright notice;
*) defconf - do not add loopback interface to the bridge ports (introduced in v7.14beta3);
*) defconf - fixed wifi configuration if interface MAC address is changed;
*) defconf - increased LTE interface wait time;
*) dhcpv6-client - install dynamic IPv6 blackhole routes in corresponding routing-table;
*) dns - fixed domain name lookup resolving for internal services;
*) fetch - fixed DNS resolving when domain has only AAAA entries (introduced in v7.13);
*) fetch - fixed timeout when content-length is 0 (introduced in v7.14beta4);
*) fetch - improved fetch stability in SFTP mode;
*) fetch - less verbose logging;
*) iot - improved LoRa LNS;
*) l3hw - fixed neighbor offloading after link flap;
*) l3hw - preserve offloading for VLANs when bridge ports are down;
*) leds - fixed default LTE LED configuration for wAPR-2nD;
*) lte - added AT channel support for Quectel EM120K-GL modem;
*) lte - don’t duplicate primary band in 5G SA mode for chateau 5G;
*) lte - fixed “use-peer-dns” setting for EC200A modem;
*) lte - fixed an issue for EC200A modem that IPv6 address could be added as IPv4 address;
*) lte - fixed support for config-less modem detection (introduced in v7.13);
*) lte - improved modem recovery after failed IPv4 configuration;
*) mpls - fixed VPN fragmentation when forwarding IP traffic;
*) port - fixed support for USB/serial adapters (introduced in v7.13);
*) port - removed bogus serial port on RB750Gr3, RB760iGS and RBM11G devices;
*) ppp - added support for “WISPr-Session-Terminate-Time” RADIUS attribute;
*) qos-hw - fixed “tx-queue7-packet” counter;
*) routerboard - added “reset-button” support for RBwAPR-2nD device;
*) sfp - added support for modules requiring single byte I2C read transactions;
*) sfp - improved link establishment for RB4011 devices;
*) smips - improved system stability (introduced in v7.14beta4);
*) sms - improved system stability when working with SMS;
*) snmp - hide “MikroTik” in LLDP MIB when branding with hide SNMP option is used;
*) ssh - improved SSH performance on ARM, MIPS, MMIPS, SMIPS and TILE devices;
*) system - improved system stability when processing packets in FastPath (introduced in v7.13);
*) tftp - improved invalid request processing;
*) timezone - updated timezone information from “tzdata2023d” release;
*) tr069 - don’t duplicate cellular info in “X_MIKROTIK_5G” nodes when connected in NR SA mode;
*) vlan - fixed non-running VLAN interface after failed MTU change;
*) vrf - prevent VRF interface name collision with interface lists;
*) vxlan - fixed underlying tunnel reusing routing marks of encapsulated packets;
*) wifi - fixed issue with setting country profile (introduced in v7.13.1);
*) wifi - increased value for SAE retransmit period to 3s to improve WPA3 compatibility with IoT client devices;
*) wifi - use “Latvia” as default value for “country” property;
*) winbox - added “Name” parameter under “Tools/Netwatch” menu;
*) winbox - added “Port Cost Mode” setting under “Bridge” menu;
*) winbox - added “VRF” parameter under “Tools/Ping” menu;
*) winbox - added “x25519” argument for “DH Group” parameter under “IP/IPsec/Profiles” menu;
*) winbox - added missing “Protocol” arguments under “IPv6/Firewall” menu;
*) winbox - added missing monitoring properties under “WireGuard/Peers” menu;
*) winbox - fixed “Bridge Cost” range under “Interfaces/VPLS” menu;
*) winbox - fixed “Password” button under “Quick Set” menu;
*) winbox - improved system stability with large packets;
*) winbox - remove “Root Bridge ID” property under “Bridge/MSTIs” menu;
Not all features/data plane functionality is 100% L3HW. This is MikroTik, not Juniper MX/PTX.
is unclear?
CCR1k models, older RBs, or even CCR2k and newer CRSes have data plane features/config scenarios/situations where packets/Ethernet frames gets punted to the CPU, and for that MikroTik uses the Linux kernel Netfilter framework, not the Marvell switching SDK nor even DPDK/VPP for the punted CPU-traffic.
Are you new to MikroTik? This is not Juniper MX304, where all data-plane is 100% custom SDK/Code offloaded 24/7 to the ASIC.
Updated wAP ac LTE from 7.14beta3 to 7.14beta6. Modem model and firmware information is now gone from the LTE interface overview.
Firmware upgrade tool can’t check current modem firmware either:
[admin@tik] /interface/lte> firmware-upgrade lte1
status: unknown current version
The LTE interface has a permanent red comment saying ‘A newer version of modem firmware is available!’.
I specifically quoted the part that is unclear. You posted a link to an articles that talks specifically about a TCP end-point optimization to prove your point that the kernel on routers absolutely must be upgraded. How does one relate to the other?
It is definitely not related only to "end-points". If you go into pull request, the patch is really huge.. But engineers from Mikrotik should say, if they use Linux TCP/IP network stack or Qualcomm SDK (especially for WiFi - what I expect).
Networking changes for 6.8.
Core & protocols
Analyze and reorganize core networking structs (socks, netdev, netns, mibs) to optimize cacheline consumption and set up build time warnings to safeguard against future header changes.This improves TCP performances with many concurrent connections up to 40%.
Add page-pool netlink-based introspection, exposing the memory usage and recycling stats. This helps indentify bad PP users and possible leaks.
Refine TCP/DCCP source port selection to no longer favor even source port at connect() time when IP_LOCAL_PORT_RANGE is set. This lowers the time taken by connect() for hosts having many active connections to the same destination.
Refactor the TCP bind conflict code, shrinking related socket structs.
Refactor TCP SYN-Cookie handling, as a preparation step to allow arbitrary SYN-Cookie processing via eBPF.
Tune optmem_max for 0-copy usage, increasing the default value to 128KB and namespecifying it.
Allow coalescing for cloned skbs coming from page pools, improving RX performances with some common configurations.
Reduce extension header parsing overhead at GRO time.
Add bridge MDB bulk deletion support, allowing user-space to request the deletion of matching entries.
Reorder nftables struct members, to keep data accessed by the datapath first.
Introduce TC block ports tracking and use. This allows supporting multicast-like behavior at the TC layer.
Remove UAPI support for retired TC qdiscs (dsmark, CBQ and ATM) and classifiers (RSVP and tcindex).
More data-race annotations.
Extend the diag interface to dump TCP bound-only sockets.
Conditional notification of events for TC qdisc class and actions.
Support for WPAN dynamic associations with nearby devices, to form a sub-network using a specific PAN ID.
There is at least one change from 7.14beta4 to 7.14beta6 that is left out from the published changelog however it affects clients with Intel Wireless-AC 8265 (at least Windows 10 ones having the latest driver, version 20.70.32.1) when connecting to cAP ax. While these clients were able to connect with
/interface/wifi/security set management-protection=required
setting up till 7.14beta4 (and 7.13.0) after the upgrade to 7.14beta6 in order to be able to connect the said parameter has to be changed to
/interface/wifi/security set management-protection=allowed
While we are at the less than complete documentation:
IPIPv6 available in the CLI only is completely missing from the current documentation, only IPIP(v4) is included.
RouterOS v7 I believe is running kernel version 5.6. Since 5.6 release date, to current-day 6.8, A LOT OF THINGS HAVE CHANGED IN THE NETWORKING STACK of the Linux Kernel since 5.6.
Do you want me to look up each kernel change log and flood this forum post with 500+ lines of networking stack change log? I think not. Do you know how to Google yourself to find the network stack changelogs? Surely as an engineer, you know how to, right?