[Asterisk-Users] QoS

John Baker JohnB at listbrokers.com
Wed Apr 14 21:12:16 MST 2004


The hfsc packed scheduler can do this (more or less).  You'll need the 
latest kernel plus a lot of moxie.

John

Vic Cross wrote:
> On Thu, 15 Apr 2004 02:08 am, Michael Welter wrote:
> MW> Using iptables, I can munge VoIP packet headers to indicate the desired
> MW> quality of service.
> MW>
> MW> Can this Linux box, acting as a router, actually manage outbound packets
> MW> to give priority to voice traffic?  Separate outbound packets into
> MW> different queues depending on QoS?
> 
> Check out the 'tc' tool, which is part of the iproute2+tc package (although 
> sometimes distro vendors put it together with 'ip' in the iproute2 package).
> 
> You need the "QoS and/or fair queuing" options in your kernel -- particularly 
> the options for the scheduling or queueing algorithm(s) you want to use.  
> Then, between ip and tc commands, you set up the methods by which your 
> packets will be handled.
> 
> I do know that this is not a smple exercise.  Using the CBQ scheduler, you 
> need to implement a classification mechanism.  When I played with this stuff 
> last, I was using routing-table-based classification, which did not give 
> protocol-level prioritisation.  I see there is a firewall-based classifier 
> now; this would probably work well with the iptables munging you're planning.
> 
> Cheers,
> Vic Cross
> 
> PS: From the Configuration Help of my 2.4.25 kernel:
> "CONFIG_NET_SCH_CSZ:
> Say Y here if you want to use the Clark-Shenker-Zhang (CSZ) paclet scheduling 
> algorithm ... this is the only algorithm that can guarantee service for 
> real-time applications ... Note: this scheduler is currently broken ... "
> YMMV :)
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
> 
> 



More information about the asterisk-users mailing list