[Bug 211730] pf uses 32bit value for bandwith with altq

2016-08-11 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211730

--- Comment #11 from Mahdi Mokhtari  ---
(In reply to rk from comment #10)
Hi.
Thanks for feedback on this patch.
> Interessant thing:
The result you saw makes sense, cause (as kristof pointed too) I have to change
some other structs too.
I'll update patch ASAP.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-pf@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-pf
To unsubscribe, send any mail to "freebsd-pf-unsubscr...@freebsd.org"


[Bug 211730] pf uses 32bit value for bandwith with altq

2016-08-11 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211730

--- Comment #10 from r...@starnet.cz ---
(In reply to Mahdi Mokhtari from comment #2)
Hello Mahdi,

I have recompiled kernel, but still the same:

in pf.conf:

altq on em0 cbq bandwidth 10Gb queue { default_nat,.

queue default_nat bandwidth 8000Mb cbq (borrow, red, default)

And with pfctl -nvf /etc/pf.conf
altq on em0 cbq bandwidth 1.41Gb tbrsize 36000 queue { default_nat
queue root_em0 bandwidth 1.41Gb priority 0 cbq( wrr root )

Interessant thing:

If I use in pf.conf this:
altq on em0 cbq bandwidth 5000Mb queue { default_nat, \

with pfctl I see:
altq on em0 cbq bandwidth 705.03Mb tbrsize 36000 queue { default_nat

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-pf@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-pf
To unsubscribe, send any mail to "freebsd-pf-unsubscr...@freebsd.org"


Re: Max altq bandwidth 4.26 Gbit

2016-08-11 Thread Lyndon Nerenberg

> On Aug 11, 2016, at 8:15 AM, John Jasen  wrote:
> 
> Should FreeBSD fix altq, or follow OpenBSD's lead in this regard?

If by this you mean start using OpenBSD's new traffic shaping scheme, that 
would mean adopting OpenBSD's current pf(4) implementation.  That debate has 
been going on for longer than I can remember now.

While fixing ALTQ for 64 bits will be something of a pain, it pales in 
comparison to a full-on pf(4) replacement.



signature.asc
Description: Message signed with OpenPGP using GPGMail


RE: Max altq bandwidth 4.26 Gbit

2016-08-11 Thread John Jasen
Should FreeBSD fix altq, or follow OpenBSD's lead in this regard?

http://undeadly.org/cgi?action=article&sid=20140419151959


On 08/11/2016 08:00 AM, freebsd-pf-requ...@freebsd.org wrote:
>
> Today's Topics:
>
>1. RE: Max altq bandwidth 4.26 Gbit (Radek Krej?a)
>2. Re: Max altq bandwidth 4.26 Gbit (Kristof Provost)
>3. RE: Max altq bandwidth 4.26 Gbit (Radek Krej?a)
>

___
freebsd-pf@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-pf
To unsubscribe, send any mail to "freebsd-pf-unsubscr...@freebsd.org"


[Bug 211730] pf uses 32bit value for bandwith with altq

2016-08-11 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211730

Mark Linimon  changed:

   What|Removed |Added

   Keywords||patch
 CC|freebsd-am...@freebsd.org   |

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-pf@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-pf
To unsubscribe, send any mail to "freebsd-pf-unsubscr...@freebsd.org"