I'm running 7.2.3 and get the same error when trying to use cake on virtual interfaces. But it works for physical ones, for example, my WAN interface is ether1. I haven't tested if it actually functions properly, but RouterOS let's me assign the queue.So, I'm trying to use Cake on my WAN interface but fail:
In my tests it never was possible to attach cake as interface queues on virtual interfaces.But it works for physical ones, for example, my WAN interface is ether1. I haven't tested if it actually functions properly, but RouterOS let's me assign the queue.
/user/ssh-keys> import public-key-file=UNIMUS.pub user=unimus error - contact MikroTik support and send a supout file (2)
/ip/ssh> regenerate-host-key This will regenerate current SSH host keys, yes? [y/N]: y error - contact MikroTik support and send a supout file (2)
#error exporting /ip/ssh
Will it be? Come to think about it, is /127 supported? Will it be?/31 was never officially supported, use /32 instead.
Sound of silence.Has there been any communication regarding CAKE from the devs; apart from the one-liner in the changelog?
Absolutely nothing from Mikrotik that I can see besides that nonsensical one liner in the changelog. Comments from the community so far haven't had an official response yet, unfortunately.Has there been any communication regarding CAKE from the devs; apart from the one-liner in the changelog?
hi mrz, thanks for a direct answer out of curiosity why not support /31? other gear supported this well except for MT, care to shed some light/rationale of not implementing this?/31 - no
/127 - is supported and works
I opened a ticket with them about this last week. Their response is just as nonsensical:Absolutely nothing from Mikrotik that I can see besides that nonsensical one liner in the changelog. Comments from the community so far haven't had an official response yet, unfortunately.Has there been any communication regarding CAKE from the devs; apart from the one-liner in the changelog?
Say what now? It works fine in simple queues. I immediately emailed one of the authors of CAKE and asked him to weigh in on one of the existing threads. Hopefully he can disabuse Mikrotik of some of their foolish notions.MikroTik did not develop CAKE, we are using the implementation from Linux. Here you can see Toke Høiland-Jørgensen explain that "you cannot use the cake shaper when running in under HFSC"https://lists.bufferbloat.net/pipermail ... 04765.html
As a workaround, you can use HTB + FQ_Codel.
Best regards,
Doesent work in l3hw logic in 317s and it makes my ospf table messy with 100+ more entries. Packet source also doesent work with /32.In 99% of the cases /32 can be used instead of /31. Even in setups where remote end has /31, but MT side has configured ptp /32.
我们Need PPP Radius Accounting for IPv6 PD to create IPDR Data in Radius Software. Without This feature our system is totally not compliant to govt regulations and ISP's are unable to implement IPv6 to their Customers.我们do need this, but it is not a bug - it is instead a feature that they have not implemented yet. It is an important feature, but I can understand why they are prioritizing it below fixing things that were working in ROS 6.
Although this is technically true, the reality is that the service provider space in North America tends to view any vendors who don't support /31 as out of date, and not a serious solution. So, MikroTik is often thrown into the second tier, only due to a lack of /31 support.In 99% of the cases /32 can be used instead of /31. Even in setups where remote end has /31, but MT side has configured ptp /32.
It would only let me use it on a PHY. Not soft interfaces, not even LTE (back when my LTE still worked that is, dig)So, I'm trying to use Cake on my WAN interface but fail:
What's the right way to do that?Code:Select all> queue/interface/set pppoe-out1 queue=cake-512k failure: non rate limit queues are useless on this interface
I dont want use or play with HTB. Setting up CAKE is/was simple and efficient. I want to use it not only on ethernet interface, on LTE and on PPP/VPN interfaces too. The only cause not to throw away Mikrotik at home (on wireless I swtiched to cheap router/openWRT combo) the hope of working CAKE, but it seems I have to switch to OpenWRT in routing too.I opened a ticket with them about this last week. Their response is just as nonsensical:
Absolutely nothing from Mikrotik that I can see besides that nonsensical one liner in the changelog. Comments from the community so far haven't had an official response yet, unfortunately.
Say what now? It works fine in simple queues. I immediately emailed one of the authors of CAKE and asked him to weigh in on one of the existing threads. Hopefully he can disabuse Mikrotik of some of their foolish notions.MikroTik did not develop CAKE, we are using the implementation from Linux. Here you can see Toke Høiland-Jørgensen explain that "you cannot use the cake shaper when running in under HFSC"https://lists.bufferbloat.net/pipermail ... 04765.html
As a workaround, you can use HTB + FQ_Codel.
Best regards,
The main problem I've been having with CAKE is that, in RouterOS, you can't set it as an interface queue without setting a limitation. The error says something like "it would have no effect", which doesn't seem right to me. Why would Linux allow you to do this, why would CAKE best practices recommend it?
Who knows.
I thing he mean v37, because is on top.What do you see that I do not see?
I see only v34, v37 and v40
I don’t see changelog for v40What do you see that I do not see?
I see only v34, v37 and v40
I don’t see changelog for v40
I note I am not really active in the mikrotik world an would like to keep accumulating cake results here:viewtopic.php?t=179307It's worth noticing that it's not possible to combine or benefit from queues that contain different "shapers" with each other. A "shaper" is just a packet scheduler that delays packets to reach a desired speed thus there is no point in stacking two "shapers" on top of each other, quite the opposite.
However, I believe that a simple queue does't contain a "shaper" so it should be fine to use with Cake.Thus the reference to HFSCis not really applicable in the case of simple queues.
Bottom line, since Cake utilize its own package scheduler, you won't be able to take advantage of other MT queues that also use a shaper. Unfortunately since the queue types are not documented with reference to the Linux variants, it's difficult to tell which ones that contain a shaper or not.
Change log for v40 is in this thread:I don’t see changelog for v40
Cake was *designed* to run the same at line rate, with an external shaper, and/or with its own shaper. In the case where it is used as a htb or hfsc leaf qdisc, you have to run it in bandwidth unlimited mode (which is the default). Disallowing or ignoring usage of the "bandwidth" keyword should suffice when used as a leaf. We've communicated this info to mikrotik. I'd also kept saying the bandwidth param should be optional over here:viewtopic.php?t=179307- I don't know what the fuss is about!
From what I understand, interface queues only work on the egress (upload). If that's not enough of a disappointment from MikroTik's currently erroneous reasoning and the unanswered questions regarding their recent decision to make CAKE virtually useless on RouterOS, you can only apply CAKE queue to a PHY interface (e.g. eth0, eth1, eth2, eth3) and not an interface such as PPP.Maybe I'm missing something here with what Mikrotik is doing with CAKE in this build. How is one supposed to configure the upload and download separately on an interface?
I'm using pppoe and don't see a way to do it. I'm new to Mikrotik and have been using edgerouter and openwrt in the past and can configure cake from command line way easier than what is going on with routeros.
If I could access a regular linux cli to configure cake it would be helpful, but that doesn't seems possible.
CAKE seems to interact and work exactly as expected with HTB (simple queues and queue trees) when used as a leaf qdisc with its shaper enabled. If you're trying to create a "proper" HTB setup you'd use CAKE without its shaper enabled, but that doesn't mean other configuration are non-sensical or "doesn't work". You could use queue trees and packet marks to select between different CAKE queues with their shapers enabled for example. This would not be possible if CAKE's bandwidth option would be unavailable for leafs.Cake was *designed* to run the same at line rate, with an external shaper, and/or with its own shaper. In the case where it is used as a htb or hfsc leaf qdisc, you have to run it in bandwidth unlimited mode (which is the default). Disallowing or ignoring usage of the "bandwidth" keyword should suffice when used as a leaf. We've communicated this info to mikrotik. I'd also kept saying the bandwidth param should be optional over here:viewtopic.php?t=179307- I don't know what the fuss is about!
See here for an example were the DL/UL is shaped by the ISP to 500/100Surely, download is shaped and controlled by the ISP and upload by the client?
What am I not understanding here with everyone wanting Cake on Simple Queue?
It could be today or this week itself.What's new in 7.3beta40 (2022-May-11 12:18):
it''s been 2 weeks after last release, waiting for the next release.
Or not.It could be today or this week itself.
Agree.Why speculate. It comes when it comes.
Agreed, I think they are looking to hold off given how poorly the 7.2.x branch has gone thus far, There is also no official Long Term release yet for 7.x, that said 7.1.5 is sitting in the 7.x Long Term branch at the moment which is probably the best option thus far.Agree.Why speculate. It comes when it comes.
Let them work and solve the issues instead of rushing out new versions with new bugs.
No complains please ... you should have not open the door to ........it''s been 2 weeks after last release, waiting for the next release.
No complains please ... you should have not open the door to ... :) :).....it''s been 2 weeks after last release, waiting for the next release.
The programmer who is working on BGP to bring it to the same functionality as v6 had.What programmer?
It looks like it, I haven't tried it yet. At least the way I interpret the changelog it looks like it.seems we got CAKE back?
You need this Normis -https://www.redbubble.com/i/t-shirt/BGP ... 1893.UGYPMJoke <<==
You ==>
:)
You need this Normis -https://www.redbubble.com/i/t-shirt/BGP ... 1893.UGYPM
But remeber that ...https://koszulkowy.pl/865-there-s-no-pl ... ukiem.html:)
Ok. Cake is not allowed for simple queues and tree queues anymore. Will be disabled. Got it.What's new in 7.3beta40 (2022-May-11 12:18):
!) queue - do not allow using CAKE type in simple and tree setups (already configured queues will be disabled);
Wait. What? 7.3beta40 says to disable and disallow cake for simple/tree queues. Then 7.3rc1 appears with this changelog line. I dont get it. Shouldnt this combo (cake+simple/tree queue) disallowed since beta40 already? What is it about to show a warning for an impossible queue because disallowed configuration?What's new in 7.3rc1 (2022-May-27 11:50):
*) queue - display warning for CAKE type in simple and tree setups when "bandwidth" parameter is configured;
great news !!!*) queue - allow to set higher limits than 4G;
Instead of completely not allowing you to accidentally create non-working configuration, you will now see a warning if you do.Like for example, that they changed their minds and enabled Cake for use with queues again in 7.3rc1 after a dialogue with Dave Taht (@dtaht)?
Good news, but It will be not accidental and sometimes works :DInstead of completely not allowing you to accidentally create non-working configuration, you will now see a warning if you do.Like for example, that they changed their minds and enabled Cake for use with queues again in 7.3rc1 after a dialogue with Dave Taht (@dtaht)?
I did a test. PC1(iperf client 192.168.1.2.254) ----------->(LAN 192.168.2.1)ROS V7 (WAN 192.168.1.20)----------->PC2 (iperf server 192.168.1.234)It definitely does not work, but I hear placebo is a strong drug
I've not encountered any issues connecting a Samsung phone with Android 12 to a wifiwave2 AP using either only WPA3-PSK or WPA2-PSK/WPA3-PSK transition mode.@hecatae ww2 works on 7.3rc1. but still no go for samsung phones on WPA3 & Android 12
If a cake queue type is configured in a simple or tree queue, the bandwidth must not be configured inside the cake queue type, but as limit of the containing simple or tree queue. This makes sense it it was also confirmed by @dtaht that cake was designed to work in such configurations.What's new in 7.3beta40 (2022-May-11 12:18):
!) queue - do not allow using CAKE type in simple and tree setups (already configured queues will be disabled);
Ok. Cake is not allowed for simple queues and tree queues anymore. Will be disabled. Got it.
What's new in 7.3rc1 (2022-May-27 11:50):
*) queue - display warning for CAKE type in simple and tree setups when "bandwidth" parameter is configured;
Wait. What? 7.3beta40 says to disable and disallow cake for simple/tree queues. Then 7.3rc1 appears with this changelog line. I dont get it. Shouldnt this combo (cake+simple/tree queue) disallowed since beta40 already? What is it about to show a warning for an impossible queue because disallowed configuration?
/queue type add name=cake-WAN-tx kind=cake cake-diffserv=diffserv3 cake-flowmode=dual-srchost cake-nat=yes add name=cake-WAN-rx kind=cake cake-diffserv=besteffort cake-flowmode=dual-dsthost cake-nat=yes /queue simple add max-limit=500M/100M name=queue1 queue=cake-WAN-rx/cake-WAN-tx target=wan-pppoe
I confirm this issue with Samsung phones.@hecatae ww2 works on 7.3rc1. but still no go for samsung phones on WPA3 & Android 12
Please open a support ticket and include a supout file, or at least the output of '/interface/wifiwave2/export'.I confirm this issue with Samsung phones.
Hi. normisIt definitely does not work, but I hear placebo is a strong drug
no way
Hi. normis
If CAKE doesn't work on RouterOS, why did Mikrotik introduce the queue type in 7.1beta3?
Now that CAKE is introduced, why not let us simply use it?
@dtaht shows that CAKE can work with simple queues and queue trees without setting bandwidth
@jbl42 @arm920t also proved that CAKE works well in action.
CAKE
Why do you still say that CAKE is a placebo? If RouterOS is not compatible with CAKE, it may be the best choice to delete CAKE directly. I really want CAKE to be featured on RouterOS.
If you give us the ability to see what cake is doing from cli then everyone can see if it's working or not. Having the equivalent command for "tc -s qdisc show dev eth0" in routerOS would provide the ability to see how cake is classifying traffic or if it's working at all.
Think you missed the "equivalent" part...no way
Yep, running fine so far.Any RB5009 owners updated?
I think that was a wise decision instead of imposing some kind of hard limitations.@normis wrote: Instead of completely not allowing you to accidentally create non-working configuration, you will now see a warning if you do.
@mrz wrote: You are allowed to set bw-limits in simple and queue-trees with cake type. There is a warning because it does not work in certain scenarios. So it's up to you now when and how to use cake, and if you get the setup where it does not work, well you have been warned.
BDF using on OSPF few path have problems in v6. We hope that will be fixed in ROS7. I wait for it very mutch.If you are referring to BFD, then it is a work in progress, it was not promised that it will be ready on the 7.3 release.
That hack is unfortunately long gone.I don't know if it is still possible to get a Linux shell on RouterOS, either on hardware or in a CHR (where it is supposed to be much easier).
If you give us the ability to see what cake is doing from cli then everyone can see if it's working or not. Having the equivalent command for "tc -s qdisc show dev eth0" in routerOS would provide the ability to see how cake is classifying traffic or if it's working at all.
WPA3 on Android 12 (Google phone) is a long time problem, I never succed a connection with my phones, WPA3 was a Google bug, solved this winter, still not working with MT devices, the only way is to use only WPA2.@hecatae ww2 works on 7.3rc1. but still no go for samsung phones on WPA3 & Android 12
我希望你意识到整个网络和完整companies are waiting on completion of features like this before they can even consider to upgrade to v7,If you are referring to BFD, then it is a work in progress, it was not promised that it will be ready on the 7.3 release.
我们真的想放弃v6和继续v7中,布鲁里溃疡t we cannot until we have that feature parity. And in the mean time, there is work on L3HW and CAKE, instead of on BFD and similar existing features.
I'm referring to BGP Multipath selection, BGP Aggregation, RFC 6666, RFC 6286,BGP Advertisement monitoring and BGP Prefix limit (prefix limit has "initial support" with 7.3 after having having MT officials here in the forum claiming it is not needed at all).If you are referring to BFD,.
It's not about "promises", it is about having a roadmap so we can decide to buy ROS7 only boxes now and having required features until the boxes have to be deployed.it was not promised that it will be ready on the 7.3 release
Nobody said anything like that. There are combinations of settings that are invalid, and there are correct settings. When using incorrect settings, RouterOS will show a warning. It is clearly written in the changelog.
Why do you still say that CAKE is a placebo? If RouterOS is not compatible with CAKE, it may be the best choice to delete CAKE directly. I really want CAKE to be featured on RouterOS.
我们ll, that's one way to look at it.Stop releasing versions, because one feature is not finished does not make sense.
That's a process without development-team involvement at all.
Fully broken!!!What's new in 7.3rc1 (2022-May-27 11:50):
*) ww2 - general stability and throughput improvements;
No, I and other people are saying that you should first finish the implementation in v7 of all major features that were in v6 before you start extending it with new stuff.So you are saying that you cannot upgrade to v7 because these features are missing, but BGP Multipath, RFC6666, and RFC6286 never existed in v6 too.
Prefix limits and viewing advertisements are already possible.
normis wrote: but you ask for a new feature BFD
Is it really that difficult Normis???Sorry I really don't understand the point.
You say " Only when these features are finished, we can in-place upgrade existing routers running v6, and THEN you can focus on new features." but you ask for a new feature BFD
Yes, now these addresses are visible.<< does this relate to the longstanding bug where the router gets an address via SLAAC, but it was not visible anywhere in the interface?
Don't know about that.Fully broken!!!What's new in 7.3rc1 (2022-May-27 11:50):
*) ww2 - general stability and throughput improvements;
....
So something is messing things up heavily in 7.3rc on the wifi wave 2 side
But what company do you mean? In my country we have only Ubiquity and Mikrotik routers..Cisco only switches..I mean for company, not home users like TP-Link, Asus, D-Link...What I have realized is that Mikrotik is good from small to mid size networks and our goal should be to replace mikrotik from our network as soon as our network starts to grow. No proper feature list or any roadmap. Everything bug spotted we get the same reply "we have been able to reproduce the issue and will fix it in an upcoming release but we cannot commit any time line". My employer does not use Mikrotik at all due to their unreliability and bugs, I use it for my home network but always recommend my clients to immediately move away from Mikrotik as soon as they can afford other vendors. I see only baseless argument on the part of Mikrotik team, always trying to prove that they are right. Yes, a fully functional routing engine atleast one at par with v6 is required for any enterprise customers. I am sure that soon some Forum Guru will come and simp for Mikrotik. Also team if this post has caught your attention then try working on M-DNS repeater or make container package available at the earliest.
For sure there is somewhere an error, but can not imagine where it is.Don't know about that.
Fully broken!!!
....
So something is messing things up heavily in 7.3rc on the wifi wave 2 side
It works for me on 2 hAP AC3, no problems having clients connect.
Are you sure the issue is not elsewhere ?
please check my ticket SUP-79812, the problem related with BGP and i use it in real world with real customer, i can not just upgrade to v7 with this conditions.So you are saying that you cannot upgrade to v7 because these features are missing, but BGP Multipath, RFC6666, and RFC6286 never existed in v6 too.
Prefix limits and viewing advertisements are already possible.
I think that problem is inherent to IPsec. Do you know about any other IPsec product that offers this functionality?If MikroTik ask me about only one feature to fix, then I answer in first place LOGGING. IPSec or wireless or vpn's have one very old problem.
Please add some uniq id to each peer in IPSec, mac in wireless, id in vpn... because when I have e.g. 40x IPSec tunnel mode then understand what log line is assignet to what tunnel is insaine problematic. On 3 problematic tunnels who reports problems it's impossible to know what line refer to what peer.
Check up you configuration. My Audience works fine. I've upgraded from 7.3b40. WW2, wpa2-psk, wpa2-eap.Fully broken!!!What's new in 7.3rc1 (2022-May-27 11:50):
*) ww2 - general stability and throughput improvements;
Upgraded a working 7.2 Audience setup to 7.3rc. I confirm the ww2 access list can now be sorted, great.
BUT, none of my Wifi clients gets an IP address anymore via DHCP. So Wifi is unusable and all wireless clients a down for now.
tried few things to find the obvious issue but nothing is showing up.
Downgrading to previous release did not solve this. Not even installing back 7.2
Had to also again apply an 7.2 backup to get things back to work.
So something is messing things up heavily in 7.3rc on the wifi wave 2 side
If you have FastTrack enabled, don't forget to add inbound/outbound firewall filter rules so target-interface-traffic does not get fast-tracked.Is use the folowwing config in several installations with success for months on pppoe connections shaped by the ISP to 500/100:
It dramatically reduces latency under full load from 150ms to 15ms. Not only in synthetic flent rrul tests. SIP and MS Teams calls work without issues while the ISP pppoe link is under full load with other traffic. While the same calls start to stutter and drop out in the same situation without cake.Code:Select all/queue type add name=cake-WAN-tx kind=cake cake-diffserv=diffserv3 cake-flowmode=dual-srchost cake-nat=yes add name=cake-WAN-rx kind=cake cake-diffserv=besteffort cake-flowmode=dual-dsthost cake-nat=yes /queue simple add max-limit=500M/100M name=queue1 queue=cake-WAN-rx/cake-WAN-tx target=wan-pppoe
I do agree that MT has a long way to make good logging.If MikroTik ask me about only one feature to fix, then I answer in first place LOGGING. IPSec or wireless or vpn's have one very old problem.
Please add some uniq id to each peer in IPSec, mac in wireless, id in vpn... because when I have e.g. 40x IPSec tunnel mode then understand what log line is assignet to what tunnel is insaine problematic. On 3 problematic tunnels who reports problems it's impossible to know what line refer to what peer.
How separate logs and export them to second site without checking all lines, this is always hard way.
Strategy.. Line with IP Remote Peer and all below are to one tunnel, until line with IP of other Peer IP is not that easy.
I just say, if this will be improve in ros7, then I will be happy. All my LTE topic are less importand then logging.
Maybe placebo for the measurements too, multiple DSLReports tests say that works. But if You are so clever guy, please write a correct guide using CAKE with RouterOS.It definitely does not work, but I hear placebo is a strong drug
Prefix mess:viewtopic.php?t=124291
Timestamp should be in a IEEE standard format, not jun/02/2022
Events that may log more than one line should have the same ID.
If a cake queue type is configured in a simple or tree queue, the bandwidth must not be configured inside the cake queue type, but as limit of the containing simple or tree queue. This makes sense it it was also confirmed by @dtaht that cake was designed to work in such configurations.
Is use the folowwing config in several installations with success for months on pppoe connections shaped by the ISP to 500/100:
It dramatically reduces latency under full load from 150ms to 15ms. Not only in synthetic flent rrul tests. SIP and MS Teams calls work without issues while the ISP pppoe link is under full load with other traffic. While the same calls start to stutter and drop out in the same situation without cake.Code:Select all/queue type add name=cake-WAN-tx kind=cake cake-diffserv=diffserv3 cake-flowmode=dual-srchost cake-nat=yes add name=cake-WAN-rx kind=cake cake-diffserv=besteffort cake-flowmode=dual-dsthost cake-nat=yes /queue simple add max-limit=500M/100M name=queue1 queue=cake-WAN-rx/cake-WAN-tx target=wan-pppoe
@Normis
If working voice calls under full load are considered placebo, I do not mind.
And MikroTik is not alone as HW vendor not understanding queuing for networks with high bandwidth differences between interfaces. Also the big players just recently got it and started to implement queuing in a way not introducing 100s of milliseconds buffer bloat impacting video streams and voice calls under high load.
If you only have +10 to +15ms bufferbloat under full WAN load, there is not much left to improve for cake. It seems your ISP's shaper and/or buffering is quite good.I have a 1Gbit fiber connection over pppoe and when i use these settings ( corrected for 1000mb up and 1000mb down ) this does not improve things, only losing some bandwith.
即使设置带宽为900 mb, the bufferbloat remains te same ( about +10ms to +15ms on a 2ms unloaded ping )
I have a 1Gbit fiber connection over pppoe and when i use these settings ( corrected for 1000mb up and 1000mb down ) this does not improve things, only losing some bandwith. Even when setting bandwith to 900mb up and down, the bufferbloat remains te same ( about +10ms to +15ms on a 2ms unloaded ping )
Also buffer bloat is usually less of an issue for symetric lines like 1000/1000. In extreme cases like 1000/50 cable internet connections, the Ack packets for incoming TCP might be enough to saturate the uplink.It's usually pretty hard to saturate >1Gbs connections without proper test equipment so that's probably why you don't see any major difference ie only achieves 10-15 ms latency.
That's what we did for many years before there was Cake.Also, in such cases it will be sufficient to have a simple queue tree with e.g. 4 or 8 priorities derived from DSCP, similar to what you have with WiFi WMM.
But it appears that some people really are only satisfied when having CAKE.
I get 100/7Mbps from my ISP and CAKE helps for me too. I know its a sophisticated algorithm, and hard to integrate, but It worth to integrate well into RouterOS because for small ISP-s and home users it can help a lot and give better experience with weaker connection too. So I dont understand why CAKE is poorly endowed by Mikrotik.Also buffer bloat is usually less of an issue for symetric lines like 1000/1000. In extreme cases like 1000/50 cable internet connections, the Ack packets for incoming TCP might be enough to saturate the uplink...
Ad "hard to integrate" :I know its a sophisticated algorithm, and hard to integrate, but It worth to integrate well into RouterOS because for small ISP-s and home users it can help a lot and give better experience with weaker connection too. So I dont understand why CAKE is poorly endowed by Mikrotik.
Ps. Yes I know, it is probably harder than that, and in case of MT we have a very much customized kernel. Don´t roast me! please! :)Installing “CAKE” out of tree on Linux
CAKE is included in upstream Linux as of kernel v4.19. This means it is available out of the box on most modern Linux distributions. If you’re running an older kernel, you can compile the out-of-tree version as follows:
Do a:
IF you have kernel source installed to leverage, adding cake is as easy as
git clonehttps://github.com/dtaht/sch_cake.git
cd sch_cake
make; sudo make install
That´s exactly my point. :)woland. v7 is based on kernel 5.6.6 AFAIK. So no need to worry about that.
Before it was explained that indeed instead of "connection", it should have said "session".*) bgp - added "name" parameter for connections; (beta40)
if they meant sessions and not connections, we don't see it in rc1 and rc2............
may we have an official explanation?
regards
非常感谢,Before it was explained that indeed instead of "connection", it should have said "session".*) bgp - added "name" parameter for connections; (beta40)
if they meant sessions and not connections, we don't see it in rc1 and rc2............
may we have an official explanation?
regards
And indeed, there now is a name value in "session" (which is the name of the "connection" with a numeric suffix -1 -2 etc).
However, what was not mentioned is that this addition is only available in commandline mode, not in webfig or winbox.
/routing/bgp/session/print shows it, also in rc1.
I cannot understand why new features are always only available in commandline at first, and later added to other modes.
This is a prime example of a feature that is mainly useful for winbox and webfig modes, where data is presented in tabular form.
Apparently adding something to winbox and webfig requires new development every time. When I was a designer there then I
would have spent the long time before v7 was finally released to re-work that system so that anything developed for the
router software would automatically be available in all environments, e.g. through the use of one central command table
that has the information required for all three presentations.
But apparently it doesn't exist. And now is not the time to work on that, now is the time to achieve feature completeness
of v7 relative to v6 first.
one central command table that has the information required for all three presentations.
Now wouldn't that be handy to know? If your suggesting MT publishes a schema for winbox/API/REST attributes... I'm with you – it must exist...somewhere, but clearly winbox isn't the place to look.There must be some table of commands and their options, and of output values and their type.
Cosmetics. What if you use/set a new value at CLI that is not visible to winbox yet. Then you go to winbox and save the corresponding dialog. You can now fear and sweat. Will Winbox reset your value from the setting you just made before with CLI? To be honest: I highly assume that. That is why I never hit "OK" buttons in Winbox. The window-close-x seems to be safe. Btw, is there a user permissions to grant read-only access to winbox?When a new command is added to commandline, or a new value is output from a command, it should "automatically" appear in all presentations.
cake should work just fine on pppoe and mpls encapsulated traffic. Certainly pppoe is well tested in the openwrt world. But that needs to be tested, as well as MPLS, on mikrotik.In my tests it never was possible to attach cake as interface queues on virtual interfaces.But it works for physical ones, for example, my WAN interface is ether1. I haven't tested if it actually functions properly, but RouterOS let's me assign the queue.
But what works, at least for me up to ROS 7.2.3 on RB5009/4011, is creating a simple queue targeting a virtual interface and using cake queue types.
This seems not te be possible anymore starting with latest beta.
人能思考using a cake queue on the physical interface used fot the pppoe traffic.
But cake will hardly work on pppoe encapsulated traffic.
Also setups with parallel uplinks on different VLANs sharing the same physical WAN interface will not be able to apply different cake queues to different uplinks.
Is is also important to note that interface queues affect egress traffic only.
As I understand it, with the current change, cake can only be used if WAN uplink is running unencapsulated (no pppoe, ipsec, etc) on an exclusive physical interface carring no other traffic than WAN.
@jbl42 - Since you grok this, I am hereby delegating to you to let me know if this ever gets sorted. Really happy to see you had had a working cake connection over ppoe for months as you describe above.If a cake queue type is configured in a simple or tree queue, the bandwidth must not be configured inside the cake queue type, but as limit of the containing simple or tree queue. This makes sense it it was also confirmed by @dtaht that cake was designed to work in such configurations.What's new in 7.3beta40 (2022-May-11 12:18):
!) queue - do not allow using CAKE type in simple and tree setups (already configured queues will be disabled);
Ok. Cake is not allowed for simple queues and tree queues anymore. Will be disabled. Got it.
What's new in 7.3rc1 (2022-May-27 11:50):
*) queue - display warning for CAKE type in simple and tree setups when "bandwidth" parameter is configured;
Wait. What? 7.3beta40 says to disable and disallow cake for simple/tree queues. Then 7.3rc1 appears with this changelog line. I dont get it. Shouldnt this combo (cake+simple/tree queue) disallowed since beta40 already? What is it about to show a warning for an impossible queue because disallowed configuration?
Is use the folowwing config in several installations with success for months on pppoe connections shaped by the ISP to 500/100:
It dramatically reduces latency under full load from 150ms to 15ms. Not only in synthetic flent rrul tests. SIP and MS Teams calls work without issues while the ISP pppoe link is under full load with other traffic. While the same calls start to stutter and drop out in the same situation without cake.Code:Select all/queue type add name=cake-WAN-tx kind=cake cake-diffserv=diffserv3 cake-flowmode=dual-srchost cake-nat=yes add name=cake-WAN-rx kind=cake cake-diffserv=besteffort cake-flowmode=dual-dsthost cake-nat=yes /queue simple add max-limit=500M/100M name=queue1 queue=cake-WAN-rx/cake-WAN-tx target=wan-pppoe
@Normis
If working voice calls under full load are considered placebo, I do not mind.
And MikroTik is not alone as HW vendor not understanding queuing for networks with high bandwidth differences between interfaces. Also the big players just recently got it and started to implement queuing in a way not introducing 100s of milliseconds buffer bloat impacting video streams and voice calls under high load.