Page 1 of 1
QoS cuts bandwidth in half
Posted: Tue Dec 10, 2024 6:15 am
by Dr.R. Clavan
For reasons that shall be left unexplained I want to severely limit the (download) bandwith to one particular (static) IP address in my network. I did this by adding a new service class ('slooow') with a Max BW of 800 kpbs and then add a classification rule where if the destination IP is that static IP it uses the 'slooow' classification. The default service class is 'normal' which has 'nolimit' for Max BW (and 95% BW at capacity). This in itself seems to works BUT my connection (= to my IP address) without QoS is 200/100 whereas WITH QoS this is reduced to about 100/100. It's looks like the overhead for using QoS is so big that in practice it cuts the available bandwidth in half.
Is this expected behaviour? Or am I setting something wrong?
Re: QoS cuts bandwidth in half
Posted: Tue Dec 10, 2024 6:56 am
by Lantis
Depending on your router and its CPU performance, yes very expected.
If you would like to provide that detail I can provide an indication of whether that seems right or if something else needs looking at.
In addition, what version are you running?
Re: QoS cuts bandwidth in half
Posted: Tue Dec 10, 2024 5:06 pm
by Dr.R. Clavan
Sorry, I probably should have mentioned that in my OP.
It's a TP-Link Archer C7 v2 running Gargoyle 1.12.0
Re: QoS cuts bandwidth in half
Posted: Wed Dec 11, 2024 12:38 am
by Lantis
Yes that is expected loss on your device. The processor is relatively weak.
There are also more recent versions than 1.12 which have less security vulnerabilities, if you are interested in upgrading.
Re: QoS cuts bandwidth in half
Posted: Wed Dec 11, 2024 2:32 am
by Dr.R. Clavan
I tried upgrading to 1.14 a while ago but that lead to problems, I don't remember what they were but had to revert back to 1.12 so will stay at that, at least for a while.
Most important for me is knowing the loss is expected.
I wish there was an easy way to have an IP specific 'hosts' file on the router, such that if a specific IP address would do a DNS query for say youtube.com it would instead return the address for get-a-job.com, that would also satisfy my current needs.
Re: QoS cuts bandwidth in half
Posted: Thu Dec 12, 2024 5:26 am
by Lantis
If you upgrade to the latest (1.15) you can use the weburl restrictions module to do block whatever site you like. It won’t redirect them but will stop browsing.