Go Back   Wireless and Wifi Forums > News > Newsgroups > uk.telecom.voip
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-27-2007, 08:50 PM
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
http://www.ibiblio.org/pub/Linux/doc...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.

Reply With Quote
  #2 (permalink)  
Old 09-28-2007, 08:30 AM
Nick Craig-Wood
Guest
 
Posts: n/a
Default Re: QoS and VoIP

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

Reply With Quote
  #3 (permalink)  
Old 09-28-2007, 09:47 AM
Chris Davies
Guest
 
Posts: n/a
Default Re: QoS and VoIP

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

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 On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 06:49 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45