All of lore.kernel.org
 help / color / mirror / Atom feed
From: "yuxiao jia" <yxjia@site.uottawa.ca>
To: lartc@vger.kernel.org
Subject: [LARTC] buffer size
Date: Wed, 12 Nov 2003 01:26:30 +0000	[thread overview]
Message-ID: <marc-lartc-106860118521087@msgid-missing> (raw)

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

Hi Stef

I have one flow, I mark as EF class, then I use CBQ to control rate

in tc script there is place to control queue size (buffer size)
for example 

## Definition of the CBQ leaf classes to support EF and BE
## EF class
$TC class add dev eth1 parent 2:1 classid 2:5 cbq bandwidth 100Mbit rate
6Mbit
    avpkt 1000 prio 1 bounded allot 1514 weight 600kbit maxburst 10 defmap 0
$TC qdisc add dev eth1 parent 2:5 pfifo limit 10
.....

here use pfifo inside EF class, the parameter "limit" is queue size 10

However, each NIC card has txqueuelen which is transimission queue of device, the default is 100

So I am confused here, if I want control EF class buffer size, I think I should change "tc ......limit ...."

but what about NIC queue size? does NIC queue size is only for BE traffic?

thanks

yuxiao


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

                 reply	other threads:[~2003-11-12  1:26 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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-106860118521087@msgid-missing \
    --to=yxjia@site.uottawa.ca \
    --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.