Community discussions

MikroTik App
 
jrestr29
just joined
Topic Author
Posts: 6
Joined: Mon Sep 05, 2022 7:04 am

PCQ queues + WAN connection for specific services

Mon Sep 05, 2022 7:28 am

hello folks!

I run an ISP with a little bit over 380 customers, right now we are facing a connection saturation issue so we are working on increasing our WAN Uplink capacity but we are going to use Simple queue hierarchy as well to define our customers profiles like this:


### Simple Queue tree

- Main Uplink @ 100 Mbps
-- Internet plan 30 Mbps / Queue total max-rate 60 Mbps / PCQ Max limit 30Mbps / Priority 1
--- Customer 1 @30Mbps / rate 6Mbps
--- Customer 2 @30Mbps / rate 6Mbps
-- Internet plan 20 Mbps / Queue total max-rate 40 Mbps / PCQ Max limit 20Mbps / Priority 2
--- Customer 1 @20Mbps / rate 4Mbps
--- Customer 2 @20Mbps / rate 4Mbps
-- Internet plan 10 Mbps / Queue total max-rate 20 Mbps / PCQ Max limit 10Mbps / Priority 3
--- Customer 1 @10Mbps / rate 2Mbps
--- Customer 2 @10Mbps / rate 2Mbps


By this approach we are trying to use Queues on simple queue to prioritize the traffic depending on the customer internet plan and also equally try to divide the available bandwidth between specific plan customers. So for example if the 30Mbps queue is maxed at 60Mbps the remaining 40mbps will be distributed between the customers of 20mbps and 10mbps plans.

Is this approach fine or can It end on a bottle neck ? I know some people recommend using queue tree instead of simple queue but we wouldn't like to mark every single packet coming from the clients just to know what kind of bandwidth plan they belong to specially because we will prefer to use the Queue tree to do Queing over service type like ICMP , HTTP / HTTPS, Streaming etc



However one of the big issues we are finding in the near future is that we are finishing the construction of a 40Gbps link to connect to streaming services CDN (netflix, amazon, youtube, facebook, etc) so we can offload all this traffic from our main uplink. Under these circumstances we would like this traffic to not being restricted by the main uplink queues, so for example:

If a customer of 10 Mbps plan is only getting 3 mbps because the main link is busy with clients from 30Mbps and 20 Mbps plans and this customer enters netflix it should be able to get more than 3mbps since this traffic is going from a different uplink

Any recommendation or advise is highly appreciated !

Who is online

Users browsing this forum: Egate, GoogleOther [Bot], johnson73, Majestic-12 [Bot], reinerotto, Semrush [Bot] and 69 guests