Simple queue and p2p -> not the way it should be

Well recently I mention a strange behavior of a simple queue shaping the p2p traffic!

29 X  name="p2p" dst-address=0.0.0.0/0 interface=all parent=none direction=both priority=8 
      queue=default-small/default-small limit-at=64000/128000 max-limit=128000/1000000 
      total-queue=default-small

Ok the above rule should give us about 128k up stream and 1M down stream for packets matching the p2p patern … but what is the real result ?

Well it happens that somehow the downstream never gets more than the upstream limit . Yes that is true the download get limit at 128k !

If any one can explain that would be nice :slight_smile:

For me personally is not a problem I figured out a solution myself.
If someone is intrested I can publish it!

I’m interested in your solution, could you please post it?

Target- Upload is incoming raffic
Target-Download is outgoing trafiic

to get 1M you should set
limit-at=128000/64000 max-limit=1000000/128000

ok can you post it here I’m interested :wink: