D
D
Dmitry2014-10-17 12:47:01
Shaping
Dmitry, 2014-10-17 12:47:01

How to set up shaping on Mikrotik for a small provider?

Hello dear!
There is a small network, immediately for understanding, it looks like this:
78b09230293c4fc9af71a5fb105228d6.PNG
Clients are motley, there are gamers who care about ping, and movie fans who care about torrent speed, and social network lovers, etc. They live at rates of 2-4 Mbps. On RouterBoard RB750GL, RouterOS v6.20 there is a bunch of simple queue for clients configured like this:

 > queue simple print 
Flags: X - disabled, I - invalid, D - dynamic 
 0    ;;; ro
      name="3.3 all" dst=192.168.3.3/32 parent=none packet-marks="" priority=8/8 queue=wireless-default/wireless-default limit-at=128k/256k max-limit=512k/2M 
      burst-limit=0/0 burst-threshold=0/0 burst-time=4s/4s 

 1    ;;;    
      name="3.4 all" target=pppoe dst=192.168.3.4/32 parent=none packet-marks="" priority=8/8 queue=wireless-default/wireless-default limit-at=128k/256k max-limit=3M/512k 
      burst-limit=0/0 burst-threshold=0/0 burst-time=4s/4s 

и т. д.

Clients have also increased at times when the total traffic grows to 30-35 Mbps, the 400 MHz Mikrotik processor is loaded at 100%, delays increase and all the ensuing consequences appear. Actually, there are two options for "unloading" Mikrotik , but each solution has accompanying misunderstandings, please help:
  1. Optimize queues by applying different logic. But it's not entirely obvious which type of queue will load the processor less and be as comfortable as possible for clients?
  2. Transfer PPPoE connection and NAT to the modem , and route or bridge on Mikrotik. But is it much easier for him to route than to natit? And if you bridge, then, as I understand it, the router will not look into packets and shaping will not work?

Please tell me the best solution.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
B
brutal_lobster, 2014-10-17
@brutal_lobster

Regarding the CPU load:
wiki.mikrotik.com/wiki/Manual:Tools/Profiler
(maybe the percents are loaded not by queues, but by open dns;)
Regarding queues:
wirelessconnect.eu/articles/bandwidth%20_control
+
wiki.mikrotik.com /wiki/Manual:Queues_-_PCQ
As for nat, it all depends on the specific chip inside the 750GL, namely whether it supports line rate nat / nat hw acceleration.
About the bridge - wiki.mikrotik.com/wiki/TransparentTrafficShaper

O
Oleg Kalinkin, 2014-10-17
@by_MHz

This is the chapel of this model, and it is positioned as for home use or a small office.
It's not only about the shaper, but also about nat, bridge, pppoe.
It’s bad with the budget, put a PC on it, linux, make settings - it’s enough

K
Kirill 1, 2014-10-17
@SmileyK

@seventh you want to drive fast in a sports car and carry bags of cement!!!
Not only do you use a solution for a home / small office, but you also burn the nerve cells of users (business).
Well, it’s not advisable to use a piece of iron with a 100% load, you always need to lay a couple of percent on power + for the future ...

C
Cool Admin, 2014-10-24
@ifaustrue

Installing a dumb computer, buying a Router OS x86 license for it and migrating to it is more than easy.
Your 750-you will not cope with such a load (with dignity, without losing, so to speak, face). He has 25-35 Mbps in TTX with 25 different rules.
But if this is too easy a difficult path, then first upgrade to the latest version, then profiling, for what the percent is eating, then eliminating this glutton.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question