On Wed, Aug 6, 2014 at 3:38 PM, Stuart Henderson <[email protected]> wrote:
> 1. Don't use different _in and _out names, use syntax like "queue foo on em0"
> and "queue foo on em1". That way you assign packets to the correct queues on
> both interfaces in one step with something like "match to port 53 queue fast".
> The queue name is associated with the PF state; packets matching that state
> get assigned to that queue.
>
Very useful recommendation, thanks.
> 1a. Confirm your queue setup by running "systat queue" (as root) and
> making sure that you see packets assigned to the various queues that you
> have configured.
Is there anyway to monitor "set prio" queues? my prio statements don't
seem to make
any effect...
> 2. In my (admittedly very limited) testing with the new queueing system,
> it hasn't done very well with low bandwidth queues (ADSL type speeds) that
> used to work OK with altq (symptom, packets being assigned to queues as
> expected, but rates not being controlled). Next step in my testing there
> will be to build a kernel with a higher HZ value (faster timer) but
> I haven't got round to that yet.
>
I've just started using queues today with:
OpenBSD 5.6-current (GENERIC.MP) #364: Thu Sep 4 02:57:22 MDT 2014
[email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
on my home ADSL link (6mbps down/700kbps up) and pf seems to be good at
managing queues as small as 100kbps.
Thanks.
regards