UKVoIPTalk.com

UKVoIPTalk.com

The UK's Number One VoIP Resource

 

QoS and VoIP

This is a discussion on QoS and VoIP within the uk.telecom.voip forums, part of the Newsgroup Forums category; I'm stumped. I'm trying to get my (Debian "lenny") GNU/Linux server to prioritise VoIP traffic ...


Go Back   UKVoIPTalk.com > Newsgroup Forums > uk.telecom.voip

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read



Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 27-09-2007, 21:50
Chris Davies
Guest
 
Posts: n/a
Default QoS and VoIP

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
[url]http://www.ibiblio.org/pub/Linux/docs/HOWTO/other-formats/html_single/ADSL-Bandwidth-Management-HOWTO.html[/url],
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.
Reply With Quote
  #2 (permalink)  
Old 28-09-2007, 09:30
Nick Craig-Wood
Guest
 
Posts: n/a
Default Re: QoS and VoIP

Chris Davies <chris-usenet@roaima.co.uk> wrote:[color=blue]
> 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.[/color]

I recommend installing the wondershaper script

Either from here [url]http://lartc.org/wondershaper/[/url]

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> -- [url]http://www.craig-wood.com/nick[/url]
Reply With Quote
  #3 (permalink)  
Old 28-09-2007, 10:47
Chris Davies
Guest
 
Posts: n/a
Default Re: QoS and VoIP

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

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

Stunning. Thank you very much!
Chris
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is Off
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 00:36.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0