Date: Fri, 28 Oct 2011 15:13:19 +0200 From: =?ISO-8859-1?Q?Ermal_Lu=E7i?= <eri@freebsd.org> To: =?KOI8-R?B?98nUwczJyiD3zMHEyc3J0s/Xyd4=?= <artemrts@ukr.net> Cc: freebsd-pf@freebsd.org Subject: Re: ALTQ with HFSC Message-ID: <CAPBZQG05daTyZ83yZ8=93yLbt=MT4Ts_r1f3mm_2dz6S5Ytdew@mail.gmail.com> In-Reply-To: <12724.1319660195.16881837918041800704@ffe5.ukr.net> References: <12724.1319660195.16881837918041800704@ffe5.ukr.net>
next in thread | previous in thread | raw e-mail | index | archive | help
2011/10/26 ÷ÉÔÁÌÉÊ ÷ÌÁÄÉÍÉÒÏ×ÉÞ <artemrts@ukr.net>:
>
> šRecently I worked around traffic prioritization of my router (FreeBSD9-BETA3). I would like to prioritization traffic coming from external interface and coming from internal LAN.
>
> ## ALTQ
>
> altq on $ext_if hfsc bandwidth 800Kb qlimit 500 queue {std lan lan_ack serv serv_ack}
> queue std bandwidth 100Kb priority 2 hfsc(default ecn)
>
> queue lan bandwidth 100Kb priority 5 hfsc(realtime 100Kb)
> queue lan_ack bandwidth 300Kb priority 10 hfsc(realtime 200Kb)
>
> queue serv bandwidth 200Kb priority 4 hfsc(realtime 200Kb)
> queue serv_ack bandwidth 100Kb priority 256 hfsc(realtime 50Kb)
>
> ./pf.conf:58: priority out of range: max 255
> pfctl: Syntax error in config file: pf rules not loaded
>
> Does HFSC support up to 255 priorities?
>
The man page details the maximum for hfsc.
Though just a general comment here,
on ALTQ HFSC scheduler priority is not respected and only the
bandiwidth values really have a meaning.
>
> _______________________________________________
> freebsd-pf@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-pf
> To unsubscribe, send any mail to "freebsd-pf-unsubscribe@freebsd.org"
>
--
Ermal
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPBZQG05daTyZ83yZ8=93yLbt=MT4Ts_r1f3mm_2dz6S5Ytdew>
