Community discussions

MikroTik App
 
Guscht
Member Candidate
Member Candidate
Topic Author
Posts: 236
Joined: Thu Jul 01, 2010 5:32 pm

Simple Queue - Total?

Sun Jul 18, 2021 1:58 am

Hi,

does anyone know what the "Total" tab under a Simple Queue does exactly?

Zwischenablage01.jpg

I can set limits here as well. But to what does the "Total" refer?
And I can set this for each simple Queue - "multiple totals" seem strange to me...

MT wiki is not clear:
And corresponding options for global-total HTB queue:

But this gives no explanation when to use and when to not use it. Or in which relation these limits are against the General/Advanced limits...

Thanks
You do not have the required permissions to view the files attached to this post.
 
User avatar
nichky
Forum Guru
Forum Guru
Posts: 1280
Joined: Tue Jun 23, 2015 2:35 pm

Re: Simple Queue - Total?

Sun Jul 18, 2021 1:11 pm

have you played with that? on wiki sayang (i picked one of them)

"total-limit-at (NUMBER/NUMBER): corresponds to limit-at"

so try: /queue simple add limit-at=2m/1m total-limit-at=3m/2m or other way around.
Of course, you have to fill the rest of max limit,
burst if you want

however, they should be related each other
 
User avatar
nichky
Forum Guru
Forum Guru
Posts: 1280
Joined: Tue Jun 23, 2015 2:35 pm

Re: Simple Queue - Total?

Sun Jul 18, 2021 1:26 pm

Just i did some testing.
From what i can see total-max-limit has priority than max-limit,i think that is all about.

e.g.
/queue simple
add max-limit=5M/5M name=queue1 target=192.168.88.2 total-max-limit=2M

Limitation would be on 2m, and its same for all parameters.

Just use your imagination where and how you will implement this.
 
Guscht
Member Candidate
Member Candidate
Topic Author
Posts: 236
Joined: Thu Jul 01, 2010 5:32 pm

Re: Simple Queue - Total?

Sun Jul 18, 2021 2:17 pm

Hi,

thanks, yes I played with it, but its not clear to me.

MT writes (in their wiki) about the total-stuff:
And corresponding options for global-total HTB queue:
I know, the global queue stuff is related with Queue Trees - not Simple Queues.

This is stated here too:
Zwischenablage01.jpg
and:
Zwischenablage02.jpg
You see, the "HTB global (Queue Tree)" is always prior the Simple Queues.

It makes sense that the Total limts have priority of the General/Advaned limits, because they are in the Packet Flow prior the Simple Queues.

But what are the reasons to set the limits in the Total tab insed of the General/Advanced tab? They are processed one step prior the Simple Queues. But are there advantages or disadvantages? We know, Queue Trees use a single CPU-core only. Is this (Total) related to the single-core-limitation of the Queue-Trees?

Or is this for Parent/Child scenarios? The Parent with limits under the Total tab and Child with limits under the General/Advanced tab?
You do not have the required permissions to view the files attached to this post.

Who is online

Users browsing this forum: No registered users and 68 guests