Ok, maybe your torrent is fully taking up your upload and causing problems there so your HTTP cannot send back that it got the packet and is ready for the next. Set a similar queue tree for your out interface and see how that goes. I think you mentioned that it was a 1 meg upload correct? So set 1M as the max and 756k for http and 256 for other.
I’ve been capping the upload speed from the torrent application at 2k for the tests, so the upload speed was always available. Tried setting up a queue for the uploads:
/queue tree
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=13M max-limit=15M name=\
"HTTP Traffic In" packet-mark=http parent="Global Traffic In" priority=1 queue=default
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=2M max-limit=15M name=\
"Other Traffic In" packet-mark=other parent="Global Traffic In" priority=8 queue=default
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=768k max-limit=1M name=\
"HTTP Traffic Out" parent="Global Traffic Out" priority=1 queue=default
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=256k max-limit=256k \
name="Other Traffic Out" parent="Global Traffic Out" priority=8 queue=default
Nothing is getting logged in it though, byte count stays at 0. Anything else I might have to add/change?
You are missing the “Global Traffic In” and “Global Traffic Out” queue’s in there so I can’t see what they are attached to.
Stupid me I missed to fill in the packet marks in the Out rules, they’re being logged now.
Here’s the code:
/queue tree
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 max-limit=15M name=“Global Traffic In” parent=
global-in priority=1
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 max-limit=1M name=“Global Traffic Out” parent=
pppoe-out1 priority=1 < Tried both pppoe and global out interfaces, still no priorities
/queue type
set default kind=pfifo name=default pfifo-limit=50
set ethernet-default kind=pfifo name=ethernet-default pfifo-limit=50
set wireless-default kind=sfq name=wireless-default sfq-allot=1514 sfq-perturb=5
set synchronous-default kind=red name=synchronous-default red-avg-packet=1000 red-burst=20 red-limit=60
red-max-threshold=50 red-min-threshold=10
set hotspot-default kind=sfq name=hotspot-default sfq-allot=1514 sfq-perturb=5
add kind=pcq name=pcq-default pcq-classifier=“” pcq-limit=50 pcq-rate=0 pcq-total-limit=2000
set default-small kind=pfifo name=default-small pfifo-limit=10
/queue tree
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=13M max-limit=15M name=“HTTP Traffic In”
packet-mark=http parent=“Global Traffic In” priority=1 queue=default
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=2M max-limit=15M name=“Other Traffic In”
packet-mark=other parent=“Global Traffic In” priority=8 queue=default
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=768k max-limit=1M name=“HTTP Traffic Out”
packet-mark=http parent=“Global Traffic Out” priority=1 queue=default
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=256k max-limit=256k name=“Other Traffic Out”
packet-mark=other parent=“Global Traffic Out” priority=8 queue=default
/queue tree
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 max-limit=15M name=“Global Traffic In” parent=
global-in priority=1
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 max-limit=1M name=“Global Traffic Out” parent=
pppoe-out1 priority=1 < Tried both pppoe and global out interfaces, still no priorities
1.) Move the Global-In to either Global-out or Ether2, preferably Ether2. I find it much much easier to actually assign the queues to the actual interfaces they are on rather than the generic Global, it’s easier to not only control what a specific interface can do, but also easier to know what rules to apply to it in my opinion. If you look at the packet flow diagram Global-In comes from traffic that the router has recieved, not what it has sent out. You cannot do anything about the traffic that you have received when you download it other than process it, you can however control what the router is going to send out.
The pppoe interface for the other one should be fine for that one. You could also probably get away with putting it on the WAN interface. You have to keep in mind that all of these settings and rules are from the perspective of the router not from the client. It can only control what it sends you or what it sends out, not what it receives from others.
Did the changes, and switched global in with ether2 and global out aswell, left pppoe as it is and still the same, Other traffic is never getting managed. Pity such an easy feat is turning out to be so hard ![]()
If it can be of any help, here’s what goes on in the aforementioned testing. Shot taken after a few mins of having both http/other running simultaneously.

I’m not sure why this is giving you so much trouble. I have a very similar setup at my home and when I have a torrent running, I’m able to watch things like Netflix with barely any noticeable change than with it not running once the download/stream has started. It just takes normal web browsing a couple of seconds longer than normal to start going to a web page and downloading it.
Once I get home today I can post what I have set up.
Hi again!
I’m going through some testing again and I noticed that the queued bytes fields are always empty. Could my problem be caused by this? And how do I get bytes to be queued for management?
The Queued bytes/packets are just how many packets/bytes are currently in memory waiting to be sent out of the queue. If they are empty that means it has had no reason to hold that information in memory waiting to be sent.
Keep in mind that the router board can only queue and control traffic that it has already received, it cannot do anything about the traffic it receives from others, it gets what it gets when it gets it. If your connection to your ISP is just dropping anything after the first 15 Mbps of traffic it is getting that could be why your connection is not scaling the way you want it to. Try setting your max Download to something less than your 15 Megs and see if that has any affect.
Dude, you are the man! That was the problem, I capped the max limit at 10Mbit and tried again, it scaled down the torrents at 2Mbit and gave full priority to HTTP! Thanks again!
One last note before I can call this case closed, is there any way to dynamically set the max limit? As the speed test show up 15Mbit, as in 1.5/1.6MB per sec. Mostly because I don’t wish to cap it lower than what I can get.
Glad it is working. Been racking my brain trying to figure out why it was being such a pain for you.
You might be able to work something out with a script that will check what is capable every now and then and make adjustments with the script. I’m not sure if you can use the built in bandwidth tests of the MikroTik from a script and pull meaningful values out though. I’m also not much of a programmer, so wouldn’t be able to help you much there in writing one. I can do basic things and that’s about it.
Generally speaking, most of the time you want to set around 85% of the connections full capacity as the upper limit. Things tend to stop working well when it gets to or past that point. The best thing to do is play around with the levels and see what one best fits your needs.
Yup, capped it around 13M instead of 15M. Getting around 1.4-1.5MB/s instead of 1.5-1.6MB/s. Its worth trading up some speed for this kind of manageability though.
Thanks again for all your help! ![]()
hi ganniii would you mind to share your queue tree ![]()
thanks
Here is the basic queue tree I have set up at home. Modify it to match your bandwidth and packet mark needs. Your LAN(s) is going to be the Download portion of the queue and the WAN(s) is the upload. You’ll need a queue for each WAN(s)/LAN(s) to segment it the way you want to.
/queue tree
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 \
max-limit=1M name=upload parent=ether1 priority=8
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=512k \
max-limit=1M name=other_upload packet-mark=other_traffic parent=upload \
priority=4 queue=default
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=512k \
max-limit=1M name=heavy_upload packet-mark=heavy_traffic parent=upload \
priority=8 queue=default
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 \
max-limit=9M name=download parent=LAN priority=8
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=8M \
max-limit=9M name=other_download packet-mark=other_traffic parent=\
download priority=4 queue=default
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=2M \
max-limit=9M name=heavy_download packet-mark=heavy_traffic parent=\
download priority=8 queue=default
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=2M \
max-limit=9M name="high download" packet-mark=high_traffic parent=\
download priority=1 queue=default
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=512k \
max-limit=1M name="high upload" packet-mark=high_traffic parent=upload \
priority=1 queue=default
thanks feklar right now im doing some experment this setup and negge QoS also.
Hey there, its mostly similar to what Feklar posted, but here goes:
/queue tree
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 \
max-limit=13M name="Global Traffic In" parent=ether2-local-master \
priority=1
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 \
max-limit=1M name="Global Traffic Out" parent=pppoe-out1 priority=1
/queue type
set default kind=pfifo name=default pfifo-limit=50
set ethernet-default kind=pfifo name=ethernet-default pfifo-limit=50
set wireless-default kind=sfq name=wireless-default sfq-allot=1514 \
sfq-perturb=5
set synchronous-default kind=red name=synchronous-default red-avg-packet=1000 \
red-burst=20 red-limit=60 red-max-threshold=50 red-min-threshold=10
set hotspot-default kind=sfq name=hotspot-default sfq-allot=1514 sfq-perturb=\
5
add kind=pcq name=pcq-default pcq-classifier="" pcq-limit=50 pcq-rate=0 \
pcq-total-limit=2000
set default-small kind=pfifo name=default-small pfifo-limit=10
/queue tree
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=4M \
max-limit=13M name="HTTP Traffic In" packet-mark=priority parent=\
"Global Traffic In" priority=4 queue=pcq-default
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=9M \
max-limit=13M name="Other Traffic In" packet-mark=other parent=\
"Global Traffic In" priority=8 queue=pcq-default
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=768k \
max-limit=1M name="HTTP Traffic Out" packet-mark=priority parent=\
"Global Traffic Out" priority=4 queue=default
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=256k \
max-limit=1M name="Other Traffic Out" packet-mark=other parent=\
"Global Traffic Out" priority=8 queue=default