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 long

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) >

RE: Max altq bandwidth 4.26 Gbit

2016-08-10 Thread Radek Krejča
> Please do file a bug, because you’ve discovered a real problem and > I’d hate for it to get forgotten about. Hello Kristof, bug sended. Thank you very much Radek ___ freebsd-pf@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/fre

RE: Max altq bandwidth 4.26 Gbit

2016-08-10 Thread Radek Krejča
> I’d expect that ‘altq on $int_if cbq bandwidth 85% queue { > default_nat.’ would do what you want. > Looking at the code, I’m not at all sure that it’ll end up working > either, but it’s worth a try. > > Fundamentally, we’ll have to change pf (and worse, the interface to > user space) to

Re: Max altq bandwidth 4.26 Gbit

2016-08-10 Thread Kristof Provost
On 10 Aug 2016, at 14:38, Radek Krejča wrote: I have changed bandwidth to 100%, 90% or 95%. Syntax OK, but value stops at 1.27Gbit (it looks, that 1Gbit is default) When I give ifconfig, I see: media: Ethernet autoselect (10Gbase-SR ) It looks that "autodetection" of pf is broken to. I was

Re: Max altq bandwidth 4.26 Gbit

2016-08-10 Thread Kristof Provost
On 10 Aug 2016, at 11:19, Radek Krejča wrote: That looks like you might be hitting the maximum of an unsigned integer. Try using relative specifications (i.e. as a percentage) instead. Yes, I think so. But I dont know, that I can say relative specification for inteface bandwidth. Could you show

RE: Max altq bandwidth 4.26 Gbit

2016-08-10 Thread Radek Krejča
> That looks like you might be hitting the maximum of an unsigned > integer. > Try using relative specifications (i.e. as a percentage) instead. > Hello Kristof, Yes, I think so. But I dont know, that I can say relative specification for inteface bandwidth. Could you show me how? I have 10Gb

Re: Max altq bandwidth 4.26 Gbit

2016-08-10 Thread Kristof Provost
On 10 Aug 2016, at 9:28, Radek Krejča wrote: I need to shape 10G traffic, but I cant make bandwidth higher than 4.26 Gbit: pfctl shows: altq on int0 cbq bandwidth 4.26Gb tbrsize 36000 queue { default_nat.. but in pf.conf is: altq on $int_if cbq bandwidth 8550Mb queue { default_