* Reyk Floeter <[email protected]> [2012-11-29 15:31]:
> On Thu, Nov 29, 2012 at 3:12 PM, Mike Belopuhov <[email protected]> wrote:
> > Please note that pfctl/altq has a bug where bandwidth specification
> > expressed in percentage gets converted to the absolute value when
> > pfctl is run.  And since for some NICs in some setups it might take
> > some time to acquire a link this would mean that when pfctl is run
> > right after netstart (like in /etc/rc), bandwidth calculation will
> > be wrong.  Since your diff doesn't exactly make the situation worse,
> > as you might end up with a wrong bandwidth anyways, I'm OK with it.
> Yes, I'm also OK with the diff because we can at least expect the same
> behavior everywhere now. ALTQ should calculate and update the relative
> bandwidth in the kernel, but this is another thing and would probably
> conflict with henning's work on the new queuing subsystem.

fwiw, I don't have relative implemented yet for the new one; my plan
is to polish it now so that it can go in (without removing altq yet)
and add the relative specs and a few rather minor bits in-tree - of
course with dynamically updated bandwidths.

the altq side isn't easily fixable, pfctl does relative -> absolute
conversions, the kernel has no idea what used to be a relative spec.

-- 
Henning Brauer, [email protected], [email protected]
BS Web Services, http://bsws.de, Full-Service ISP
Secure Hosting, Mail and DNS Services. Dedicated Servers, Root to Fully Managed
Henning Brauer Consulting, http://henningbrauer.com/

Reply via email to