Date: Wed, 10 Aug 2016 14:38:36 +0200 From: =?utf-8?B?UmFkZWsgS3JlasSNYQ==?= <radek.krejca@starnet.cz> To: 'Kristof Provost' <kp@FreeBSD.org> Cc: "'freebsd-pf@freebsd.org'" <freebsd-pf@freebsd.org> Subject: RE: Max altq bandwidth 4.26 Gbit Message-ID: <AAA772390F662049B3046CA8C662C08506A4BE11@EXCHANGE.mail.starnet.cz> In-Reply-To: <13955BA9-910E-4C4A-B86A-5A355F8A10C9@FreeBSD.org> References: <AAA772390F662049B3046CA8C662C08506A4BE01@EXCHANGE.mail.starnet.cz> <A58CF11E-B2A3-4021-9827-C093730B2D1D@FreeBSD.org> <AAA772390F662049B3046CA8C662C08506A4BE08@EXCHANGE.mail.starnet.cz> <13955BA9-910E-4C4A-B86A-5A355F8A10C9@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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 use 64-bit integers to carry bandwidth information, not
> 32-bit ones.
> Can you file a bug so this doesn’t get forgotten?
>
> > I have 10Gb line and I need to shape my client with exact bandwidth.
> > How can I manage with your advice?
> >
> You can only specify integer percentages (so 85%, not 85.5%), so I’m
> afraid you’ll lose some accuracy.
Hello again,
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 <full-duplex,rxpause,txpause>)
It looks that "autodetection" of pf is broken to.
Thank you very much
Radek
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AAA772390F662049B3046CA8C662C08506A4BE11>
