Hi there, I'm trying to set a custom Cake implementation, and after a couple of unsuccessful attempts, contacted the Cake mantainers for some support.
As we were going step by step, some modules were required to make things work. ifb, which is using to create a dummy interface in order to make cake work on ingoing traffic. And act_mirred, which is used to forward the traffic from the wan interface to this dummy device.
I can modprobe ifb without problem, but the issue comes when I try to load act_mirred, returning:
Quote:
modprobe: module act_mirred not found
modprobe: failed to load module act_mirred: No such file or directory
There's a way to load this module in order to have a fully working cake implementation? It was renamed or removed? I did this in the past on dd-wrt and I don't remember finding this issue.
Btw, I can set a qdisc on egress (no ifb required in this case), and it's working pretty snappy on upload.
You should ask "why you're trying to set cake when cake is already an option in QoS settings?". Well, yes, but no. Afaik, the current dd-wrt implementation just use the HTB in order to limit the bandwidth and then cake is applied in order to make the fairness magic work. Also, is using besteffort mode which is ok, but could be a little better. I'm trying to get rid of HTB and set cake the right way.
Joined: 08 May 2018 Posts: 14221 Location: Texas, USA
Posted: Mon Jul 12, 2021 1:12 Post subject:
If you're still using 41954, you need to update to something newer than 43382 which is when the latest cake code (at the time - Jun 10, 2020) was merged. I see there have been a few commits since then. The DD-WRT implementation is build out-of-kernel-tree. I am back-tracking commits for mvbeu for the 4.9 kernel, but so far, CONFIG_NET_ACT_MIRRED is compiled into the kernel itself, not as a module.
If you're still using 41954, you need to update to something newer than 43382 which is when the latest cake code (at the time - Jun 10, 2020) was merged. I see there have been a few commits since then. The DD-WRT implementation is build out-of-kernel-tree. I am back-tracking commits for mvbeu for the 4.9 kernel, but so far, CONFIG_NET_ACT_MIRRED is compiled into the kernel itself, not as a module.
Joined: 08 May 2018 Posts: 14221 Location: Texas, USA
Posted: Mon Jul 12, 2021 1:37 Post subject:
Still does not negate the fact that there are a few commits that aren't blatantly obvious to me that they have been merged from that git repo. I've emailed BrainSlayer about this, hopefully he will peek in here and comment. Thanks for the update! _________________ "Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT Pogo - A minimal level of ability is expected and needed... DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)
----------------------
Linux User #377467 counter.li.org / linuxcounter.net
I am also not a QoS expert but IFB is not available even not built in
I just wanted to try the simple Cake without HTB with dd-wrt.
I had already asked at the time of introduction if we can not just get the normal Cake (with the simple cake and OpenWRT I have a much better bufferbloat)
Must be somehow also possible to get such values with DD-WRT.