tech-net archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: ALTQ -- is anyone actually using it?



Jason Thorpe a écrit :
> 
> 
>> On Nov 12, 2023, at 7:54 PM, Ryota Ozaki <ozaki-r%netbsd.org@localhost> wrote:
>>
>> On Sat, Nov 11, 2023 at 7:14 AM Jason Thorpe <thorpej%me.com@localhost> wrote:
>>>
>>> Is anyone actually using ALTQ?  It's been disabled in GENERIC for a while now and hasn't seen any updates in years, AFAIK.
>>
>> We have used ALTQ/CBQ for many years in production systems
>> (with some tweaks for NET_MPSAFE recently).
> 
> What NIC driver?
> 
> (That goes for everyone using it, please!  Information required!  Thx!)

	In my case : re/wm/lagg (out of the box). altq is used to do QoS for
VoIP and jitsi on lagg0/re0 and for domain on wm2.

legendre:[~] > cat /etc/altq.conf
interface wm2 bandwidth 1000M priq

class priq wm2 high_class NULL priority 1
class priq wm2 low_class NULL priority 0 default

filter wm2 high_class 0 53 0 0 17
filter wm2 high_class 0 53 0 0 6

interface re0 bandwidth 1000M priq

class priq re0 high_class_dmz NULL priority 1
class priq re0 low_class_dmz NULL priority 0 default

filter re0 high_class_dmz 192.168.10.250 0 0 0 17
filter re0 high_class_dmz 0 0 192.168.10.250 0 17
filter re0 high_class_dmz 192.168.10.253 0 0 0 17
filter re0 high_class_dmz 0 0 192.168.10.253 0 17
filter re0 high_class_dmz 0 10000 0 0 17
filter re0 high_class_dmz 0 0 0 10000 17

interface lagg0 bandwidth 2000M priq

class priq lagg0 high_class_lan NULL priority 1
class priq lagg0 low_class_lan NULL priority 0 default

filter lagg0 high_class_lan 192.168.10.250 0 0 0 17
filter lagg0 high_class_lan 0 0 192.168.10.250 0 17
filter lagg0 high_class_lan 192.168.10.253 0 0 0 17
filter lagg0 high_class_lan 0 0 192.168.10.253 0 17
filter lagg0 high_class_lan 0 10000 0 0 17
filter lagg0 high_class_lan 0 0 0 10000 17

# QoS
conditioner lagg0 af41_agr0 <mark 0xb8>
filter lagg0 af41_agr0 0 10000 0 0 17
filter lagg0 af41_agr0 0 0 0 10000 17
filter lagg0 af41_agr0 0 0 192.168.10.250 0 17
filter lagg0 af41_agr0 0 0 192.168.10.253 0 17

conditioner re0 af41_tap0 <mark 0xb8>
filter re0 af41_tap0 0 0 192.168.10.250 0 17
filter re0 af41_tap0 0 0 192.168.10.253 0 17
filter re0 af41_tap0 0 10000 0 0 17
filter re0 af41_tap0 0 0 0 10000 17

	Regards,

	JB

Attachment: signature.asc
Description: OpenPGP digital signature



Home | Main Index | Thread Index | Old Index