QoS cuts bandwidth in half

Report issues relating to bandwith monitoring, bandwidth quotas or QoS in this forum.

Moderator: Moderators

Post Reply
Dr.R. Clavan
Posts: 17
Joined: Wed May 25, 2011 9:27 pm

QoS cuts bandwidth in half

Post 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?
Last edited by Dr.R. Clavan on Tue Dec 10, 2024 5:52 pm, edited 1 time in total.

Lantis
Moderator
Posts: 7063
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: QoS cuts bandwidth in half

Post 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?
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

Dr.R. Clavan
Posts: 17
Joined: Wed May 25, 2011 9:27 pm

Re: QoS cuts bandwidth in half

Post 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

Lantis
Moderator
Posts: 7063
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: QoS cuts bandwidth in half

Post 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.
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

Dr.R. Clavan
Posts: 17
Joined: Wed May 25, 2011 9:27 pm

Re: QoS cuts bandwidth in half

Post 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.

Lantis
Moderator
Posts: 7063
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: QoS cuts bandwidth in half

Post 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.
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

Post Reply