Voice Over IP in UK - QoS and VoIP

This is Interesting: Free IT Magazines  
Home > Archive > Voice Over IP in UK > September 2007 > QoS and VoIP





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author QoS and VoIP
Chris Davies

2007-09-27, 7:11 pm

I'm stumped. I'm trying to get my (Debian "lenny") GNU/Linux server to
prioritise VoIP traffic and I've been reading guides until my head feels
like it's going to explode. I've got as far as these requirements:

1. I don't want to install imq if I can help it; surely there must be
some other queuing discipline thingy that can work for me?

2. I want three or four queues. In descending priority these are: VoIP,
[high,] medium (default), and P2P

3. Traffic should be allocated to a queue by its iptables mark (I'm
comfortable with iptables, so that bit's straightforward.)

4. My server sits between my ADSL modem/router and the remainder of my
network. I get 7000 Mb/s down and 448 Kb/s up (yes, really) so there's no
point in flooding the modem/router with more traffic than it can handle.


The most promising was the guide at
http://www.ibiblio.org/pub/Linux/do...ent-HOWTO.html,
but (a) it refers to code written in 2002, and (b) it needs this imq
module.

Thanks,
Chris

PS. A reason for not building a custom kernel? Xen.
Nick Craig-Wood

2007-09-28, 7:11 am

Chris Davies <chris-usenet@roaima.co.uk> wrote:
> I'm stumped. I'm trying to get my (Debian "lenny") GNU/Linux server to
> prioritise VoIP traffic and I've been reading guides until my head feels
> like it's going to explode. I've got as far as these requirements:
>
> 1. I don't want to install imq if I can help it; surely there must be
> some other queuing discipline thingy that can work for me?
>
> 2. I want three or four queues. In descending priority these are: VoIP,
> [high,] medium (default), and P2P
>
> 3. Traffic should be allocated to a queue by its iptables mark (I'm
> comfortable with iptables, so that bit's straightforward.)
>
> 4. My server sits between my ADSL modem/router and the remainder of my
> network. I get 7000 Mb/s down and 448 Kb/s up (yes, really) so there's no
> point in flooding the modem/router with more traffic than it can handle.


I recommend installing the wondershaper script

Either from here http://lartc.org/wondershaper/

Or from the debian package of the same name.

It obeys the tos rules so will probably do exactly what you want. It
will lower your maximum throughput slightly but you need to keep the
queues nearly empty at your ISP if you want low latency.

Spend some time tuning it to your ADSL line and it will fix all your
VOIP/ssh problems while you are doing big downloads / uploads!

--
Nick Craig-Wood <nick@craig-wood.com> -- http://www.craig-wood.com/nick
Chris Davies

2007-09-28, 7:11 am

Chris Davies <chris-usenet@roaima.co.uk> wrote:
> I'm stumped. I'm trying to get my (Debian "lenny") GNU/Linux server to
> prioritise VoIP traffic [...]


In uk.telecom.voip Nick Craig-Wood <nick@craig-wood.com> wrote:
> I recommend installing the wondershaper script


Stunning. Thank you very much!
Chris
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com