bcroq
April 8th, 2005, 10:48
Hi,

I have asked about this on misc@openbsd.org but got no reply so I try here... maybe there is a better mailing-list to talk about altq related problems?

I am trying to use altq to improve the ACK management on my ADSL
connexion but I don't really understand what happens. Here are the
rules:

...
altq on $ext_if priq bandwidth 250Kb queue { ext_std, ext_ack }
queue ext_std qlimit 200 priq(default)
queue ext_ack priority 15
...
pass out quick on $ext_if inet proto tcp from $ext_ip to any flags S/SA keep state queue (ext_std, ext_ack)
pass out quick on $ext_if inet from $ext_ip to any keep state queue ext_std
...


Once these rules loaded, I start a download (almost 600Kbytes/s) then I
start an upload... the download immediatly falls down (to 400Kbytes/s or
less).

Here is what "pfctl -vvsq" outputs:

queue ext_std qlimit 200 priq( default )
[ pkts: 5401 bytes: 3289014 dropped pkts: 0 bytes: 0 ]
[ qlength: 0/200 ]
[ measured: 7.9 packets/s, 83.07Kb/s ]
queue ext_ack priority 15
[ pkts: 32020 bytes: 2113528 dropped pkts: 0 bytes: 0 ]
[ qlength: 0/ 50 ]
[ measured: 135.1 packets/s, 71.32Kb/s ]

71.32Kb/s seems to be a huge ACK bandwidth, isn't it?

Where could be my mistake? (I use OpenBSD 3.6, and the problem is the
same with 3.5, but it works with 3.4)

michael2l
December 3rd, 2005, 15:58
Did you ever find a resolution to this problem dude?