Page 1 of 1

throttle bandwidth not work on Xiaomi Mi Mini (MT7620A)

Posted: Sat Jun 21, 2025 5:52 am
by diamalex
hello everyone! please help me figure out the problem. My router is Xiaomi MiFi Mini (powered by MTK7620A processor), the latest stable firmware, version 1.14.0
I've been using Padavan firmware for a long time, so I decided to try Gargoyle because of its ability to limit bandwidth. What did I do? I went to the "Firewall" section and selected "Quotas". In this section, I selected "Add new quota". Next, I made the settings as follows: "Applies to - Entire local network", "Max total up+down = 1 Gb", "qouta resets = never", "quota is active = always", "When Exceeded = Throttle Bandwidth" and tried to specify various limits, for example 50 Kb/sec, 100 Kb/sec, 500 Kb/sec. Also, to speed up the quota's achievement of the set value, I chose 50 Mb or 100 Mb "total up+down". Unfortunately, when the quota is reached, the download speed and upload speed do not change at all. It's like this function doesn't work. I thought that the module responsible for quotas might be faulty, and I tried to choose the Internet blocking mode instead of the speed limit. The blocking works - when the quota is reached, the Internet is blocked. But the Throttle Bandwidth function does not work at all. And I want to understand - is this a firmware problem, or is it impossible to use it on my router model, or am I setting it up incorrectly? please help me figure it out.

Re: throttle bandwidth not work on Xiaomi Mi Mini (MT7620A)

Posted: Sat Jun 21, 2025 8:00 am
by Lantis
You are correct that there is an issue. It has been resolved in February 2024.
If you run 1.15.x you will not have this issue.
viewtopic.php?t=18113

Re: throttle bandwidth not work on Xiaomi Mi Mini (MT7620A)

Posted: Sat Jun 21, 2025 9:07 am
by diamalex
Lantis wrote:
Sat Jun 21, 2025 8:00 am
You are correct that there is an issue. It has been resolved in February 2024.
If you run 1.15.x you will not have this issue.
I express my great gratitude to you! I didn't know there was a 1.15 firmware. Now I've uploaded a new firmware to my router, and today I'm going to test the bandwidth limitation feature!

Re: throttle bandwidth not work on Xiaomi Mi Mini (MT7620A)

Posted: Wed Jun 25, 2025 4:21 am
by diamalex
Lantis wrote:
Sat Jun 21, 2025 8:00 am
You are correct that there is an issue. It has been resolved in February 2024.
If you run 1.15.x you will not have this issue.
viewtopic.php?t=18113
Dear Lantis, everything worked out for me, thank you very much, bandwidth limitation works fine on firmware 1.15. Please give me an answer to the question - I used Padavan firmware earlier on my Xiaomi Mi Mini. I also tried installing OpenWRT once. Both of these firmware downloads pretty quickly on my router. It takes about 15 seconds to reboot. At the same time, the Gargoyle firmware takes a very long time to load, probably more than a minute, maybe 1.5 minutes. Why is that?

P.S. It was exactly the same on 1.14 firmware

Re: throttle bandwidth not work on Xiaomi Mi Mini (MT7620A)

Posted: Wed Jun 25, 2025 9:28 am
by ektus
The boot delay may be the check for busy Wifi frequencies that's a requirement in some/most regulatory domains in order to allow usage of high bandwidth channels or some of the 5Ghz channels (weather radar compatibility). It doesn't bother me at all 'cause uptime of my routers is measured in years 8-)

Re: throttle bandwidth not work on Xiaomi Mi Mini (MT7620A)

Posted: Wed Jun 25, 2025 5:39 pm
by Lantis
What is your WAN? Is it wired or wireless?
Do you have quotas or QoS enabled?

Boot time should not be significantly longer than plain OpenWrt before the web interface becomes accessible. On my minipc it is 10s or less lol. On a GLiNET MT6000 I would say 30-45s web interface up.
Access to the internet may take an additional 30-60 seconds while the extra firewall elements from Gargoyle are established.
If QoS is active there is a 15s monitoring delay before it allows traffic.
If your WAN is slow to come up (wifi vs wired) Gargoyle will wait up to 30s before giving up.

In the latest version there is probably 1 extra firewall restart cycle than necessary at boot time as OpenWrt now fully flushes the firewall, but once it is up it should be comparable.

Re: throttle bandwidth not work on Xiaomi Mi Mini (MT7620A)

Posted: Wed Jun 25, 2025 5:40 pm
by Lantis
ektus wrote:
Wed Jun 25, 2025 9:28 am
The boot delay may be the check for busy Wifi frequencies that's a requirement in some/most regulatory domains in order to allow usage of high bandwidth channels or some of the 5Ghz channels (weather radar compatibility). It doesn't bother me at all 'cause uptime of my routers is measured in years 8-)
Also a factor, but you’d hope this was consistent across both :)