All of lore.kernel.org
 help / color / mirror / Atom feed
From: Patrick Chan <patrick_chan@mtelnet.com>
To: lartc@vger.kernel.org
Subject: [LARTC] tc hard problem
Date: Sat, 06 Jul 2002 02:45:12 +0000	[thread overview]
Message-ID: <marc-lartc-102592292622661@msgid-missing> (raw)

[-- Attachment #1: Type: text/plain, Size: 851 bytes --]

Hi,

I have a Linux router which has to do QoS
Voice and Data traffic will pass through this router
Of cuz, voice traffic is put in first priority than data traffic
Can you tell me how can I configure tc in order to meet 
the following requirements?

1. There are two types of traffic: voice and data

2. The bandwidth to the Internet is just 64K

3. Each voice call occupies 16K bandwidth, so 
the whole bandwidth can only allows 4 concurrent voice calls

4. The most important and most hard to do:
If no voice call, data can use up to 64K bandwidth

If there are three voice calls, voice can use up to 16K x 3 = 48K bandwidth,
data only can use 16K bandwidth

If there are four voice calls, voice can use up to 64K bandwidth,
data cannot use any bandwidth

Voice always come first, data can only use the bandwidth left.


Thanks very much.

Patrick

[-- Attachment #2: Type: text/html, Size: 1622 bytes --]

             reply	other threads:[~2002-07-06  2:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-06  2:45 Patrick Chan [this message]
2002-07-06 12:10 ` [LARTC] tc hard problem bert hubert
2002-07-06 14:08 ` bert hubert
2002-07-08  3:17 ` 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-102592292622661@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.