Community discussions

MikroTik App
 
DotTest37
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 60
Joined: Sun Oct 06, 2013 10:01 pm

QoS question.

Sun Jul 07, 2019 7:30 pm

I have an ISP that sometimes throttles my bandwidth.
My physical interface to the Modem is 1Gbit, but the bandwidth to the Internet is obviously a lot less that that.
It should be 25 Mbits, but sometimes it slows down to 10 Mbits for few days.
Ive seem many tutorials of setting QoS queues specifying total bandwidth and partial bandwidth for specific traffic.

is there any way to set aside 2 Mbits for certain type of traffic (VoIP for example) , regardless of the total available bandwidth?
I want to make sure certain traffic gets at least 2 Mbits, leaving the rest for anything else (web browsing, email, chat, etc)
 
mducharme
Trainer
Trainer
Posts: 1777
Joined: Tue Jul 19, 2016 6:45 pm
Location: Vancouver, BC, Canada

Re: QoS question.

Sun Jul 07, 2019 9:09 pm

is there any way to set aside 2 Mbits for certain type of traffic (VoIP for example) , regardless of the total available bandwidth?
I want to make sure certain traffic gets at least 2 Mbits, leaving the rest for anything else (web browsing, email, chat, etc)
No - you might be able to build a script to check for packet loss to try to dynamically determine the total bandwidth available, but that is about the best you could do. Also each time you change the limit the queue is destroyed and rebuilt which means it doesn't exist for a second or two after the change, so if you did a calculation like that you would not want to do it too often.
 
DotTest37
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 60
Joined: Sun Oct 06, 2013 10:01 pm

Re: QoS question.

Mon Jul 08, 2019 5:14 am

is there any way to set aside 2 Mbits for certain type of traffic (VoIP for example) , regardless of the total available bandwidth?
I want to make sure certain traffic gets at least 2 Mbits, leaving the rest for anything else (web browsing, email, chat, etc)
No - you might be able to build a script to check for packet loss to try to dynamically determine the total bandwidth available, but that is about the best you could do. Also each time you change the limit the queue is destroyed and rebuilt which means it doesn't exist for a second or two after the change, so if you did a calculation like that you would not want to do it too often.
Is this a MIkrotik limitation or a QoS limitation in general?
How other vendors handle this?
 
mducharme
Trainer
Trainer
Posts: 1777
Joined: Tue Jul 19, 2016 6:45 pm
Location: Vancouver, BC, Canada

Re: QoS question.

Mon Jul 08, 2019 5:20 am

Is this a MIkrotik limitation or a QoS limitation in general?
How other vendors handle this?
This is a general QoS limitation. With all products you need to enter a maximum rate and they use this to determine if the upstream provider is congested. If you are below this maximum rate and the provider is already congested, the QoS will not function properly. In general, if you need QoS, you are then forced to limit your rates to whatever the slowest speed you might ever get from your upstream provider typically is.
 
mducharme
Trainer
Trainer
Posts: 1777
Joined: Tue Jul 19, 2016 6:45 pm
Location: Vancouver, BC, Canada

Re: QoS question.

Mon Jul 08, 2019 5:40 am

You can try this: viewtopic.php?f=9&t=129294

That is not a typical feature for QoS, but it looks like someone has implemented it.

Who is online

Users browsing this forum: Amazon [Bot] and 28 guests