All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] buffer size
@ 2003-11-12  1:26 yuxiao jia
  0 siblings, 0 replies; only message in thread
From: yuxiao jia @ 2003-11-12  1:26 UTC (permalink / raw)
  To: lartc

[-- 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 --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-11-12  1:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-12  1:26 [LARTC] buffer size yuxiao jia

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.