[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Prioritizing empty TCP ACKs



Henning Brauer wrote:
you have your _queues_ on tun0 and it works?

I do and yes, it /appears/ to work. Looking at Volker's pf.conf that he posted, he's also got his queues on tun0 and it appears to work.

pf.conf:
ext_if="tun0"   # ADSL on rl0 uses pppoe to connect to the Internet
[SNIP]
altq on $ext_if priq bandwidth 1350Kb queue { q_pri, q_def }
queue q_pri priority 7
queue q_def priority 1 priq(default)

And the result: > pfctl -gvsq: > queue q_pri priority 7 > [ pkts: 42600 bytes: 2043621 dropped pkts: 0 bytes: 0 ] > [ qlength: 0/ 50 ] > [ qid=8 ifname=tun0 ifbandwidth=1.35Mb ] > queue q_def priq( default ) > [ pkts: 17382 bytes: 6848389 dropped pkts: 0 bytes: 0 ] > [ qlength: 0/ 50 ] > [ qid=2 ifname=tun0 ifbandwidth=1.35Mb ]

This is with 3.3-stable and the GENERIC kernel (on i386).

-Kent
--
Kent R. Spillner
"They that can give up essential liberty to obtain a little
 temporary safety deserve neither liberty nor safety."
                                       - Benjamin Franklin