All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mr SERBAN Rares <serban_rares@yahoo.com>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] QoS on data and voice traffic
Date: Wed, 10 Jul 2002 10:26:51 +0000	[thread overview]
Message-ID: <marc-lartc-102629685621779@msgid-missing> (raw)
In-Reply-To: <marc-lartc-102629188217510@msgid-missing>

Hi,

You are wrong! The packets must spend less time in
your box for 0x08 class. So, if you are using cbq and
sfq I don't belive that you will have good results.
First you need a scheduler between 0x08 class and 0x00
like PRIO. You can use sfq for 0x00 class or tbf to
limit the bandwidth. For 0x08 try to use pfifo.

Also you can do the same configuration using htb.
Please, for 0x08, use pfifo and for 0x00 sfq!

A +,

R.

--- Patrick Chan <patrick_chan@mtelnet.com> wrote:
> Hi,
> 
> Sorry for asking so much questions in this mailing
> list.
> 
> Because I have to develop a Linux router,
> there are both data and voice packets passed thru
> it.
> The voice packets are already tagged with 0x8 in TOS
> field.
> The bandwidth of the serial link is 115200bps.
> A voice call takes up 34Kbytes bandwidth.
> 
> Now, I use the following tc config:
> tc qdisc add dev ppp0 root handle 10: cbq bandwidth
> 112Kbit avpkt 1000
> tc class add dev ppp0 parent 10:0 classid 10:100 cbq
> bandwidth 112Kbit rate
> 57Kb
> it allot 1514 weight 5Kbit prio 2 maxburst 20 avpkt
> 1000 isolated
> tc class add dev ppp0 parent 10:0 classid 10:200 cbq
> bandwidth 112Kbit rate
> 55Kb
> it allot 1514 weight 5Kbit prio 8 maxburst 20 avpkt
> 1000 bounded
> tc qdisc add dev ppp0 parent 10:100 sfq quantum
> 1514b perturb 15
> tc qdisc add dev ppp0 parent 10:200 sfq quantum
> 1514b perturb 15
> tc filter add dev ppp0 parent 10:0 protocol ip prio
> 2 u32 match ip tos 0x8
> 0xff
> flowid 10:100
> tc filter add dev ppp0 parent 10:0 protocol ip prio
> 8 u32 match ip tos 0x00
> 0xff
>  flowid 10:200
> 
> 
> 10:100 is isolated and the bandwidth allocated to
> this class is 57Kb,
> the voice packets are successfully put to class
> 10:100 because
> I know it by tc -s qdisc
> theoretically, the voice quality should be very
> smooth.
> But the voice is not smooth, when I start to
> download a file.
> 
> If I turn off tc, the quality is even terrible, when
> download a file.
> 
> 
> 
> Sorry, I just learn tc for 1 month. Hope someone can
> help me.....
> 


__________________________________________________
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.yahoo.com
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

  reply	other threads:[~2002-07-10 10:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-10  9:14 [LARTC] QoS on data and voice traffic Patrick Chan
2002-07-10 10:26 ` Mr SERBAN Rares [this message]
2002-07-10 10:42 ` Patrick Chan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-lartc-102629685621779@msgid-missing \
    --to=serban_rares@yahoo.com \
    --cc=lartc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.