Can't get more than 5 meg in either direction using PCQ on R

Hello everybody,

On my RB532 I have set up PCQ such that everyone who connects through the device should share 12M down and 8M up equally. The problem I’m having is that for whatever reason, I can’t get the unit to pass more than 5 meg down (6-6.5 meg if you include uploads). This is consistent no matter how many session I have flowing through the bridge. Has anyone run into this before? Thanks in advance!

Do you use wireless (which standard 802.11 a, b, g) or Ethernet ?
Make sure troughput is not limited by upstream provided as well.
Do you have any other queues ?

This is purely an ethernet bridge. I have no other queues. When I turn off the PCQ, I can push 37-39 meg through the bridge, so there aren’t any problems with my test environment, so I don’t think there are any issues there.

post your queue config here - do you have any max-limit AND limit-at values set anywhere?

/ queue type
set default name="default" kind=pfifo pfifo-limit=1000
set ethernet-default name="ethernet-default" kind=pfifo pfifo-limit=500
set wireless-default name="wireless-default" kind=sfq sfq-perturb=5 sfq-allot=1514
set synchronous-default name="synchronous-default" kind=red red-limit=60 red-min-threshold=10
red-max-threshold=50 red-burst=20 red-avg-packet=1000
set hotspot-default name="hotspot-default" kind=sfq sfq-perturb=5 sfq-allot=1514
add name="pcq-download" kind=pcq pcq-rate=12000000 pcq-limit=400 pcq-classifier=dst-address
pcq-total-limit=2000
add name="pcq-upload" kind=pcq pcq-rate=12000000 pcq-limit=400 pcq-classifier=src-address pcq-total-limit=2000
add name="default-small" kind=pfifo pfifo-limit=10
/ queue simple
add name="Office" target-addresses=192.168.0.145/32 dst-address=0.0.0.0/0 interface=all parent=none
direction=both priority=5 queue=ethernet-default/ethernet-default limit-at=1000000/1000000
max-limit=2000000/2000000 total-queue=default-small disabled=yes
add name="EveryoneElse" dst-address=0.0.0.0/0 interface=all parent=none direction=both priority=8
queue=pcq-upload/pcq-download limit-at=12000000/12000000 max-limit=12000000/12000000
total-queue=default-small disabled=no

\

My goal is to have everything except for one ip address share the PCQ queue such that bandwidth gets evenly distributed among them. For testing purposes, I haven't enabled the Office rule, but it's irrelevant anyway. Thanks!

hmmm… strange that… tried this config with all ports bridged, and it seems to work fine…

what does your routing config look like?

I’m not doing any routing with this device, as I wish it to be just a transparent bridge, but here it is:

/ routing ospf
set router-id=0.0.0.0 distribute-default=never redistribute-connected=no redistribute-static=no
redistribute-rip=no redistribute-bgp=no metric-default=1 metric-connected=20 metric-static=20 metric-rip=20
metric-bgp=20
/ routing ospf area
set backbone area-id=0.0.0.0 type=default translator-role=translate-candidate authentication=none
prefix-list-import=“” prefix-list-export=“” disabled=no
/ routing bgp
set enabled=no as=1 router-id=0.0.0.0 redistribute-static=no redistribute-connected=no redistribute-rip=no
redistribute-ospf=no
/ routing rip
set redistribute-static=no redistribute-connected=no redistribute-ospf=no redistribute-bgp=no metric-static=1
metric-connected=1 metric-ospf=1 metric-bgp=1 update-timer=30s timeout-timer=3m garbage-timer=2m

Thanks again for the help, btw!