Community discussions

MikroTik App
 
jandafields
Forum Guru
Forum Guru
Topic Author
Posts: 1515
Joined: Mon Sep 19, 2005 6:12 pm

simple queues are very inaccurate

Sat Sep 21, 2013 8:04 pm

Everytime I have ever tried to use simple queue to limit speed, the actual speed received or sent by the client is much lower than what it is set at.

For example, limit at 10/10, no burst, the client actually maxes out at around 5/5.

However, if I use Queue Tree to do the same thing, the client gets right at 10/10.

Why is simple queue so inaccurate? This happens in all versions, including the newest 6.4
 
tchus
Member Candidate
Member Candidate
Posts: 111
Joined: Tue Jan 25, 2011 12:08 am

Re: simple queues are very inaccurate

Sun Sep 22, 2013 5:21 am

Everytime I have ever tried to use simple queue to limit speed, the actual speed received or sent by the client is much lower than what it is set at.

For example, limit at 10/10, no burst, the client actually maxes out at around 5/5.

However, if I use Queue Tree to do the same thing, the client gets right at 10/10.

Why is simple queue so inaccurate? This happens in all versions, including the newest 6.4
I'm glad someone finally pointed out this shortcoming of MT simple queues!. Yes, Why is this so!!! MT? WTF?
 
dboreham
Frequent Visitor
Frequent Visitor
Posts: 96
Joined: Sat May 03, 2008 4:17 pm

Re: simple queues are very inaccurate

Sun Sep 22, 2013 5:41 am

My simple queue setup produces 100% accurate and expected results.

Perhaps something is happening in the packet flow and queuing that isn't what you expect (but is still correct)?
 
User avatar
deem
just joined
Posts: 21
Joined: Mon Sep 16, 2013 6:14 pm

Re: simple queues are very inaccurate

Sun Sep 22, 2013 1:37 pm

Perhaps something is happening in the packet flow and queuing that isn't what you expect
Agreed. Check the statistics of upload/download queues separately. It seems only one is used for all traffic.

Simple queues work fine if you understand what you do.
 
bdennie
newbie
Posts: 32
Joined: Thu Aug 05, 2010 4:52 pm

Re: simple queues are very inaccurate

Fri Oct 04, 2013 11:05 pm

We are having issues with simple queues only when the traffic is over 10M. We have thousands of customers using simple queues under 5M plans and they all works perfect. If we setup a customer for a 30M download and 5M upload. The customer can only do 1 concurrent connection at 17M and get there full 5M upload. If we disable the simple queue I am able to get 93M/87M speedtest. If I set the same shaping up with advanced queue and packet marking then everything works as expected.

We have noticed though that if we have the customer shaped to 30M with a simple queue they can
Download ISO at 10M
Download exe file at 10M
and still get 10M on speedtest for a total of 30M traffic on simple queue.

What we are seeing is that we are unable to get 1 concurrent tcp connection on a simple queue to go past 10M reliably. They can get a total of 30M but needs to have it coming from different streams. If we take off the simple queue with no other changes everything works perfect.

We have found a way around this but would prefer to shape all customers the same.
 
netmaster
Frequent Visitor
Frequent Visitor
Posts: 68
Joined: Thu Jan 05, 2006 11:42 am

Re: simple queues are very inaccurate

Fri Oct 04, 2013 11:47 pm

set
queue=ethernet-default/ethernet-default

by default is sets queue=default-small/default-small
which is too inaccurate with greater speeds
 
bdennie
newbie
Posts: 32
Joined: Thu Aug 05, 2010 4:52 pm

Re: simple queues are very inaccurate

Mon Oct 07, 2013 11:53 pm

Thank you very much, We have tested the ethernet-default and so far it seems to be working. We just need to get this setup in the network now. But works in test lap.
 
User avatar
eugenevdm
Member Candidate
Member Candidate
Posts: 208
Joined: Tue Jun 01, 2004 12:23 pm
Location: Stellenbosch, South Africa
Contact:

Re: simple queues are very inaccurate

Tue Oct 22, 2013 4:39 pm

We have the same problem which is very easily reproducible. Our system uses a FreeRadius to assign "Mikrotik-Rate-Limit" of 512k/10240k to clients. MikroTik assigns "default-small" as queue type.

To reproduce the problem we go to a high site and do a TCP bandwidth test direction send to client's IP.

On the graph the client ALWAYS get 4mbit. If you remove the dynamically created simple queue, the client suddenly gets speeds of up to their full 10mbit.

To test if "default-small" is the problem, we go to Queue Types and change default-small from Queue Size 10 packets to Queue Size 50 packets. Now our 10mbit client is getting a very good speed.

We researched this problem and found this post of the forum asking similar question:
http://forum.mikrotik.com/viewtopic.php?f=2&t=57724
So, I've just changed default-small queue size from 10 to 50 packets, and that seems to do the trick for the high speed customers. But, now the lower speed customers will see longer latency.
Changing internal defaults on MikroTik queues seems wrong and we are worried about a huge network wide change (many high sites) that might assist big customers but give more latency to small customers. Can anybody provide us with additional insight into what is going on here?

Who is online

Users browsing this forum: Bing [Bot] and 49 guests