Question about queues

I am trying to understand the flow of queues. I have read alot about global-in, global-out and global-total, but I cant find any reference of those in the mikrotik os. When I look at queues I see simple, interface, tree and type.
Question: is there any way to configure the global queues?
Answer: I think .. NO

I think the flow of queue works like this

interface queue – global-in --‘mangle /prioritize packets’ – global-out — interface queue.

I think the interface queues are outward facing and deals with queueing packets that are coming in and out of the router.

I think the interface queue is in the device aka wifi card.. ethernet chipset, and they get mangled or looked at when they are inserted into the global-in queue , and the interface queue just deal with the order that the packets are stuck into the global-in or global-out

And the reason there is no configuration of these global queues, is because they are more of what router simply does, and it confined by things like memory and CPU


Please comment and let me know what to think
Thanks!

http://wiki.mikrotik.com/wiki/Manual:Queue

In RouterOS, these hierarchical structures can be attached at 4 different places:
global-in: represents all the input interfaces in general (INGRESS queue). Queues attached to global-in apply to traffic that is received by the router before the packet filtering
global-out: represents all the output interfaces in general (EGRESS queue).
global-total: represents all input and output interfaces together (in other words it is aggregation of global-in and global-out). Used in case when customers have single limit for both, upload and download.
: - represents one particular outgoing interface. Only traffic that is designated to go out via this interface will pass this HTB queue.

global-in sees all packets entering the router. global-out sees all packets leaving the router. global-total sees all packets going in AND out of the router. Interfaces only see packets leaving the router through that specific interface.

Simple Queues
Submenu level: /queue simple
One configuration item in /queue simle’ can create from 0 to 3 separate queues - one queue in global-in, one queue in global-out and one queue in global-total. If all properties of a queue have default values (no set limits, queue type is default), and queue has no children, then it is not actually created. This way, for exanple, creation of global-total queues can be avoided if only upload/download limitation is used.

Simple queues always attach to the globals.

Queue trees attach to the concept of parents. The parent can either be a global queue, or an interface, or another queue. At the root of a queue tree Adam or Eve (the root of a tree) have to be attached to either a global, or an interface. Depending on the parent the queue and its children only sees certain packets, as outlined above (global-in sees all ingress, global-out all egress, etc.).

The packet flow diagram (http://wiki.mikrotik.com/wiki/Manual:Packet_Flow) shows how packets are processed. Global-in happens directly after prerouting and destination NAT (and source NAT being undone), global-out and global-total happen directly after postrouting and source NAT (and destination NAT being undone), and then interface HTB happens.

thanks for the info

what kind of queue is the global-in ? SFQ, PCQ, fifo?

Id there any way to configure the global-in queue?

It isn’t a queue, it’s something you attach a queue to.

ah… hmmmm.. food for thought, Im sure ill have some more questions. but thanks!! this really helps/