Simple Queue + PCQ not working as expected

Hi,
i’m started using simple queues with PCQ.

My Setup:

  • Ether1 = Uplink
  • Bridge with different VLAN
  • one public ip block per VLAN
  • There are running servers with public IPs, mostly http & mail traffic

My Plan:

  • Setting a maximum bandwith per Server(IP), setting a max bandwith per Connection
    = So i guess simple queue + PCQ would be perfectly fit.

my first test was a simple queue without PCQ:

name="test" target=84.xx.xx.xx/32 dst=ether1 parent=none packet-marks="" priority=8/8 queue=default-small/default-small limit-at=0/0 max-limit=10M/10M 
      burst-limit=0/0 burst-threshold=0/0 burst-time=10s/10s bucket-size=0.1/0.1

Then i did some upload from three different connections at the same time (uploaded a 100MB file per ssh to the 84.xx.xx.xx. host).

Upload #1 - ~660 KB/s
Upload #2 - ~380 KB/s
Upload #3 - ~70 KB/s

= not very equal :slight_smile:

Next step, SimpleQueue + PCQ:

name="test" target=84.xx.xx.xx/32 dst=ether1 parent=none packet-marks="" priority=8/8 queue=limiter_upload/limiter_download limit-at=0/0 max-limit=10M/10M 
      burst-limit=0/0 burst-threshold=0/0 burst-time=10s/10s bucket-size=0.1/0.1 

name="limiter_download" kind=pcq pcq-rate=5M pcq-limit=50KiB pcq-classifier=dst-address pcq-total-limit=2000KiB pcq-burst-rate=0 pcq-burst-threshold=0 
     pcq-burst-time=10s pcq-src-address-mask=32 pcq-dst-address-mask=32 pcq-src-address6-mask=128 pcq-dst-address6-mask=128 

name="limiter_upload" kind=pcq pcq-rate=5M pcq-limit=50KiB pcq-classifier=src-address pcq-total-limit=2000KiB pcq-burst-rate=0 pcq-burst-threshold=0 
     pcq-burst-time=10s pcq-src-address-mask=32 pcq-dst-address-mask=32 pcq-src-address6-mask=128 pcq-dst-address6-mask=128

So, there is a max limit of 10Mbit for acessing 84.xx.xx.xx, and every client should have max limit of 5 Mbit per client.

I started one upload, and i got about 600KB/s (~4,8 Mbit) = perfect.
Then again, i started uploading from three different internet connections at the same time and got about 200KB/s per client (~ 1,6 MBit )
Shouldnt it be not about 3,33 Mbit per client?

What i’m doing wrong? :slight_smile:

Thanks,
Patrick

Btw: In Queue → statistics → PCQ Queues shows always only one queue.