Community discussions

MikroTik App
 
dtaht
Member Candidate
Member Candidate
Topic Author
Posts: 209
Joined: Sat Aug 03, 2013 5:46 am

FQ_codel on mikrotik wifi?

Mon Jun 06, 2022 6:48 pm

as of linux 4.12, we'd put in some major enhancements to linux wifi, originally for the ath9k chip, nowadays the ath10k, most of mediatek's mt76 line, and most of intel's chipsets, making fq_codel run native (near zero cpu cost), and solving the packet aggregation and airtime fairness problems thoroughly. The relevant paper and test suite is here: https://www.cs.kau.se/tohojo/airtime-fairness/ - 2.5 the capacity at 1/10th the latency on some tests.

My question is - does mikrotik use the factory wifi driver, still? Are there options for ATF, now, at least?

A dream for me, has been for more folk to understand how important getting packet aggregation and ATF were to scaling 802.11ac and later for multiple stations. In 8 minutes, here, I'd explained what everyone had been getting wrong with wifi: https://www.youtube.com/watch?v=Rb-UnHDw02o&t=1558s
 
FBRFE
just joined
Posts: 1
Joined: Mon Apr 25, 2016 4:38 pm

Re: FQ_codel on mikrotik wifi?

Thu Jun 16, 2022 3:03 pm

bump :-)
 
UpRunTech
Member Candidate
Member Candidate
Posts: 209
Joined: Fri Jul 27, 2012 12:11 pm

Re: FQ_codel on mikrotik wifi?

Sat Jul 23, 2022 1:46 am

Mikrotik uses their own drivers. This is great in some ways like uniform behaviour across chipsets when configuring them and also CAPSMAN (which has to make some internal abstractions so you can do things like local and non-local forwarding) but it means they can be behind in chipset features like WAVE2, WPA3 and spectrum scanning on AC devices.

I have never explored this but you can change the queue type on any interface. Have a look at the interface queues and you can see the default for wireless is an SFQ type but you can change it to any defined queue type you like including CAKE and Codel. Whether this has any effect is open to discussion. The help entry doesn't expand on it at all.

https://help.mikrotik.com/docs/display/ ... rfaceQueue
 
User avatar
chechito
Forum Guru
Forum Guru
Posts: 2990
Joined: Sun Aug 24, 2014 3:14 am
Location: Bogota Colombia
Contact:

Re: FQ_codel on mikrotik wifi?

Sat Jul 23, 2022 3:04 am

maybe because of that MIkroTik wireless interface default queue is SFQ type

off course newer Codel and Cake can perform better
 
DarkNate
Forum Veteran
Forum Veteran
Posts: 999
Joined: Fri Jun 26, 2020 4:37 pm

Re: FQ_codel on mikrotik wifi?

Fri Dec 30, 2022 6:45 pm

maybe because of that MIkroTik wireless interface default queue is SFQ type

off course newer Codel and Cake can perform better
Tested using default SFQ vs default FQ_Codel queue type on wireless interface for hAP ax2. Couldn't see any performance benefit whatsoever in iPerf3/latency measurements during peak upload/download.
 
dtaht
Member Candidate
Member Candidate
Topic Author
Posts: 209
Joined: Sat Aug 03, 2013 5:46 am

Re: FQ_codel on mikrotik wifi?

Fri Feb 10, 2023 10:27 pm

single threaded like iperf tests, without also monitoring tcp latency (Try a packet capture in wireshark, do a RTT plot) will not, in general, show the underlying benefits of fq_codel or cake. You are measuring a dragster on a single track, with a plain iperf test. What of the ability to steer?

The real world consists of dozens or hundreds of flows, competing, across many machines. If you test for that, than you will see the benefits. One favorite test of mine is the rrul test.

https://blog.cerowrt.org/post/flaws_in_flent/

Another, especially for wifi, is called rtt_fair. https://www.cs.kau.se/tohojo/airtime-fairness/
 
mke
just joined
Posts: 23
Joined: Wed Sep 27, 2017 3:37 am

Re: FQ_codel on mikrotik wifi?

Mon Mar 11, 2024 2:37 am

Is the following the best way to test this on new ax devices?

- run fq_codel on wireless interface
- use two local machines on wifi for flent server and client

Who is online

Users browsing this forum: Semrush [Bot] and 20 guests