From: Patrick Chan <patrick_chan@mtelnet.com>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Priority Queueing on Linux
Date: Wed, 10 Jul 2002 08:53:36 +0000 [thread overview]
Message-ID: <marc-lartc-102629121616788@msgid-missing> (raw)
In-Reply-To: <marc-lartc-102618681721319@msgid-missing>
[-- Attachment #1: Type: text/plain, Size: 2645 bytes --]
Hi,
Below is the explanation of priority queueing
http://www.cisco.com/univercd/cc/td/doc/cisintwk/ito_doc/qos.htm#xtocid22
I am developing a linux router.
There is both data and voice traffic passed thru it.
When I use priority queueing on Cisco router,
the voice quality is good, evening downloading a large file.
But I use the following tc config, the voice quality is not smooth
when downloading a large file:
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
voice packet is tagged with 0x8 in TOS field.
Voice traffic only uses 34K bandwidth. So the bandwidth allocated
to voice is enough.
Is there any better tc config?
----------------------------------------------------------------------------
----------------------
Date: Tue, 9 Jul 2002 11:46:58 +0200
From: bert hubert <ahu@ds9a.nl>
To: lartc@mailman.ds9a.nl
Subject: Re: [LARTC] Priority Queueing on Linux
On Tue, Jul 09, 2002 at 12:02:40PM +0800, Patrick Chan wrote:
> There is priority queueing in Cisco router.
>
> Is there any equivalent implementation for TC on Linux?
>
> If yes, how can I configure and can you give me example?
Please dig up a link so we can see what 'priority queueing' actually *is*.
But I bet that tc has it.
Regards,
bert
--
http://www.PowerDNS.com Versatile DNS Software & Services
http://www.tk the dot in .tk
http://lartc.org Linux Advanced Routing & Traffic Control HOWTO
Date: Tue, 09 Jul 2002 09:19:11 -0400
From: "Michael T. Babcock" <mbabcock@fibrespeed.net>
Organization: FibreSpeed Ltd.
To: lartc <lartc@mailman.ds9a.nl>
Subject: Re: [LARTC] Priority Queueing on Linux
bert hubert wrote:
>On Tue, Jul 09, 2002 at 12:02:40PM +0800, Patrick Chan wrote:
>
>
>>There is priority queueing in Cisco router.
>>
>>
>Please dig up a link so we can see what 'priority queueing' actually *is*.
>But I bet that tc has it.
>
>
I can almost guarantee Patrick is asking about diffserv support.
--
Michael T. Babcock
CTO, FibreSpeed Ltd.
[-- Attachment #2: Type: text/html, Size: 5274 bytes --]
next prev parent reply other threads:[~2002-07-10 8:53 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-07-09 3:53 [LARTC] Priority Queueing on Linux Patrick Chan
2002-07-09 9:46 ` bert hubert
2002-07-09 13:19 ` Michael T. Babcock
2002-07-10 7:54 ` Anton Yurchenko
2002-07-10 8:21 ` Martin Devera
2002-07-10 8:53 ` Patrick Chan [this message]
2002-07-10 12:09 ` Michael T. Babcock
2002-07-11 1:54 ` S Mohan
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-102629121616788@msgid-missing \
--to=patrick_chan@mtelnet.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.