Can't get upload queue to work

Can someone please tell me where I’ve misconfigured my pcq rules.
I can get the queue to work for download. But cannot manage to queue upload unless I create simple queue.

/ip firewall mangle> print
Flags: X - disabled, I - invalid, D - dynamic
0 chain=prerouting action=mark-packet new-packet-mark=upload
passthrough=yes in-interface=LAN

1 chain=postrouting action=mark-packet new-packet-mark=download
passthrough=yes out-interface=LAN


/queue type> print
Flags: * - default
0 * name=“default” kind=pfifo pfifo-limit=50

1 * name=“ethernet-default” kind=pfifo pfifo-limit=50

2 * name=“wireless-default” kind=sfq sfq-perturb=5 sfq-allot=1514

3 * name=“synchronous-default” kind=red red-limit=60 red-min-threshold=10
red-max-threshold=50 red-burst=20 red-avg-packet=1000

4 * name=“hotspot-default” kind=sfq sfq-perturb=5 sfq-allot=1514

5 name=“upload” kind=pcq pcq-rate=756k pcq-limit=50
pcq-classifier=src-address pcq-total-limit=2000
pcq-burst-rate=1200k pcq-burst-threshold=1M pcq-burst-time=10s
pcq-src-address-mask=32 pcq-dst-address-mask=32
pcq-src-address6-mask=64 pcq-dst-address6-mask=64

6 name=“download” kind=pcq pcq-rate=2700k pcq-limit=50
pcq-classifier=dst-address pcq-total-limit=2000
pcq-burst-rate=3200k pcq-burst-threshold=3M pcq-burst-time=10s
pcq-src-address-mask=32 pcq-dst-address-mask=32
pcq-src-address6-mask=64 pcq-dst-address6-mask=64

7 * name=“only-hardware-queue” kind=none

8 * name=“multi-queue-ethernet-default” kind=mq-pfifo mq-pfifo-limit=50

9 * name=“default-small” kind=pfifo pfifo-limit=10


/queue tree> print
Flags: X - disabled, I - invalid
0 name=“upload” parent=WAN packet-mark=upload limit-at=0 queue=upload
priority=8 max-limit=4M burst-limit=0 burst-threshold=0
burst-time=0s

1 name=“download” parent=LAN packet-mark=download limit-at=0
queue=download priority=8 max-limit=7M burst-limit=0
burst-threshold=0 burst-time=0s

Mark packets in mangle ‘forward’ chain, and change marking criteria from interface to address lists.

HTH,

Appreciate the reply,

I have this exact set of rules working on another router (RB750g). The one with the problem is a PC.
Both are running 5.14.
And, I did have the above rules running on the PC/Box router. But, now it won’t work.
I saw a few posts concerning queue’s and similar issues.
I’ll guess, if I did a “netinstall” it would work.
As, I mentioned it did work and does work on another router.
Why mark packets in mangle “forward” chain based on “address list”? As compared to “interfaces” and “preroute’” and “postroute”?
I’m sure your suggestions will work. But, I kinda don’t want to get back into the “address list” mode..
Thanks

edit/add:

/queue tree> print stats
Flags: X - disabled, I - invalid
0 name=“upload” parent=WAN packet-mark=upload limit-at=0 rate=3144
packet-rate=2 queued-bytes=0 queued-packets=0 bytes=10465502
packets=45385 dropped=0 lends=4873 borrows=40512 pcq-queues=1

1 name=“download” parent=LAN packet-mark=download limit-at=0 rate=4104
packet-rate=5 queued-bytes=0 queued-packets=0 bytes=995494133
packets=786589 dropped=12 lends=4536 borrows=782053 pcq-queues=2

As this shows it is working. Yet, I can’t seem to be able to limit the upload speed, when I do a speed test. It never varies from actual speed at ingress on wan. (5mbps).

edit/add:

I found this a while back. The “Gold” “Silver” speed tier’s using pcq.

/ip firewall mangle
add action=mark-packet chain=prerouting disabled=no new-packet-mark=all passthrough=no
add action=mark-packet chain=postrouting comment=“silver down” disabled=no dst-address-list=
silver dst-address-type=“” new-packet-mark=silver-down out-interface=LAN passthrough=no
src-address-type=“”
add action=mark-packet chain=prerouting comment=“silver up” disabled=no in-interface=LAN
new-packet-mark=silver-up passthrough=no src-address-list=silver
add action=mark-packet chain=prerouting comment=“gold up” disabled=no in-interface=LAN
new-packet-mark=gold-up passthrough=no src-address-list=gold
add action=mark-packet chain=postrouting comment=“gold down” disabled=no dst-address-list=
gold new-packet-mark=gold-down out-interface=LAN passthrough=no
add action=change-mss chain=forward comment=“added from forum 3/5/2012” disabled=no new-mss=
1360 passthrough=yes protocol=tcp tcp-flags=syn tcp-mss=1453-65535

In my QoS settings I usually set ‘Double Queueing’ as explained in this presentation:
http://mum.mikrotik.com/presentations/CZ09/QoS_Megis.pdf.
So marking for PCQ in ‘forward’ chain is my habit and this works for me.
Just give it a try.

HTH,

I’ll do that.
Thanks. :smiley: