* [LARTC] questions on CBQ
@ 2002-12-09 17:11 James Ma
2002-12-09 18:00 ` Stef Coene
2002-12-10 13:57 ` EGAL Vincent
0 siblings, 2 replies; 3+ messages in thread
From: James Ma @ 2002-12-09 17:11 UTC (permalink / raw)
To: lartc
[-- Attachment #1: Type: text/plain, Size: 381 bytes --]
Hi, All,
When I use CBQ, what should I put for "avpkt"? I saw all the examples using 1000, but if I have a lot of voice packets which are very small, will "avpkt 1000" cause any problem? Another thing is, does CBQ support "default" as HTB does (ex: tc qdisc add dev eth0 root handle 1: htb default 12)? How can I put "all other traffic" into certain class?
Thanks,
James
[-- Attachment #2: Type: text/html, Size: 979 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [LARTC] questions on CBQ
2002-12-09 17:11 [LARTC] questions on CBQ James Ma
@ 2002-12-09 18:00 ` Stef Coene
2002-12-10 13:57 ` EGAL Vincent
1 sibling, 0 replies; 3+ messages in thread
From: Stef Coene @ 2002-12-09 18:00 UTC (permalink / raw)
To: lartc
On Monday 09 December 2002 18:11, James Ma wrote:
> Hi, All,
>
> When I use CBQ, what should I put for "avpkt"? I saw all the examples using
> 1000, but if I have a lot of voice packets which are very small, will
> "avpkt 1000" cause any problem?
I'm not sure, but avpkt is used in internal calculations so if you have a lot
of small packets, a smaller value would be better.
> Another thing is, does CBQ support
> "default" as HTB does (ex: tc qdisc add dev eth0 root handle 1: htb default
> 12)? How can I put "all other traffic" into certain class?
Cbq has no default class. You can use a u32 filter with src 0/0 as the last
filter statement.
Stef
--
stef.coene@docum.org
"Using Linux as bandwidth manager"
http://www.docum.org/
#lartc @ irc.oftc.net
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [LARTC] questions on CBQ
2002-12-09 17:11 [LARTC] questions on CBQ James Ma
2002-12-09 18:00 ` Stef Coene
@ 2002-12-10 13:57 ` EGAL Vincent
1 sibling, 0 replies; 3+ messages in thread
From: EGAL Vincent @ 2002-12-10 13:57 UTC (permalink / raw)
To: lartc
Stef Coene wrote:
>On Monday 09 December 2002 18:11, James Ma wrote:
>
>
>>Hi, All,
>>
>>When I use CBQ, what should I put for "avpkt"? I saw all the examples using
>>1000, but if I have a lot of voice packets which are very small, will
>>"avpkt 1000" cause any problem?
>>
>>
>I'm not sure, but avpkt is used in internal calculations so if you have a lot
>of small packets, a smaller value would be better.
>
avpkt is one of the parameters used to evaluate the maxidle parameter
for a cbq class.
maxidle can be seen as the maximum credit that a class can reach when
being underlimit for a period of time
So the higher maxidle is, the more packets in burst the class may send
when switching from underlimit to overlimit.
>
>
>
>>Another thing is, does CBQ support
>>"default" as HTB does (ex: tc qdisc add dev eth0 root handle 1: htb default
>>12)? How can I put "all other traffic" into certain class?
>>
>>
>Cbq has no default class. You can use a u32 filter with src 0/0 as the last
>filter statement.
>
>Stef
>
>
>
--
Vincent EGAL
Email : egal@ipanematech.com
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-12-10 13:57 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-09 17:11 [LARTC] questions on CBQ James Ma
2002-12-09 18:00 ` Stef Coene
2002-12-10 13:57 ` EGAL Vincent
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox