* [LARTC] CBQ and all other qdiscs now REALLY completely documented (almost!)
@ 2001-12-03 1:58 bert hubert
2001-12-03 2:26 ` Jim Fleming
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: bert hubert @ 2001-12-03 1:58 UTC (permalink / raw)
To: lartc
On Sat, Dec 01, 2001 at 01:33:41AM +0100, bert hubert wrote:
> One thing - does *anybody* understand how hash tables work in tc filter, and
> what they do? Furthermore, I could use some help with the tc filter police
> things.
Thanks to Andreas Steinmetz and David Sauer, tc hash tables are now
documented as well, thanks!
See:
http://ds9a.nl/2.4Routing/HOWTO//cvs/2.4routing/output/2.4routing-12.html
And then 'Hashing filters for very fast massive filtering'.
I also finished documenting all parameters for TBF, CBQ, SFQ, PRIO,
bfifo, pfifo and pfifo_fast. All queues in the Linux kernel are now
described in the Linux Advanced Routing & Shaping HOWTO, which can be found on
http://ds9a.nl/2.4Routing
I want to send this off to the LDP and Freshmeat somewhere next week, I
*would really* like people who are knowledgeable about this subject (this
means you, ANK & Jamal 8) ) to read through this.
This HOWTO is rapidly becoming the perceived authoritative source for
traffic control in linux (google on 'Linux Routing' finds it), it might as
well be right! So if you have any time at all, check the parts you know
about. I expect mistakes.
The parts of the table of contents that document stuff in the kernel not
documented elsewhere:
9. Queueing Disciplines for Bandwidth Management
9.1 Queues and Queueing Disciplines explained
9.2 Simple, classless Queueing Disciplines
9.2.1 pfifo_fast
9.2.1.1 Parameters & usage
9.2.2 Token Bucket Filter
9.2.2.1 Parameters & usage
9.2.2.2 Sample configuration
9.2.3 Stochastic Fairness Queueing
9.2.3.1 Parameters & usage
9.2.3.2 Sample configuration
9.3 Advice for when to use which queue
9.4 Classful Queueing Disciplines
9.4.1 Flow within classful qdiscs & classes
9.4.2 The qdisc family: roots, handles, siblings and parents
9.4.2.1 How filters are used to classify traffic
9.4.2.2 How packets are dequeued to the hardware
9.4.3 The PRIO qdisc
9.4.3.1 PRIO parameters & usage
9.4.3.2 Sample configuration
9.4.4 The famous CBQ qdisc
9.4.4.1 CBQ shaping in detail
9.4.4.2 CBQ classful behaviour
9.4.4.3 CBQ parameters that determine link sharing & borrowing
9.4.4.4 Sample configuration
9.4.4.5 Other CBQ parameters: split & defmap
9.4.5 Hierarchical Token Bucket
9.4.5.1 Sample configuration
9.5 Classifying packets with filters
9.5.1 Some simple filtering examples
9.5.2 All the filtering commands you will normally need
(...)
12. Advanced filters for (re-)classifying packets
12.1 The "u32" classifier
12.1.1 U32 selector
12.1.2 General selectors
12.1.3 Specific selectors
12.2 The "route" classifier
12.3 Policing filters
12.4 Hashing filters for very fast massive filtering
(...)
14. Advanced & less common queueing disciplines
14.1 bfifo/pfifo
14.1.1 Parameters & usage
14.2 Clark-Shenker-Zhang algorithm (CSZ)
14.3 DSMARK
14.3.1 Introduction
14.3.2 What is Dsmark related to?
14.3.3 Differentiated Services guidelines
14.3.4 Working with Dsmark
14.3.5 How SCH_DSMARK works.
14.3.6 TC_INDEX Filter
14.4 Ingress policer qdisc
14.5 Random Early Drop (RED)
14.6 VC/ATM emulation
14.7 Weighted Round Robin (WRR)
The only thing left to document are Policing filters.
Regards,
bert hubert
--
http://www.PowerDNS.com Versatile DNS Software & Services
Trilab The Technology People
Netherlabs BV / Rent-a-Nerd.nl - Nerd Available -
'SYN! .. SYN|ACK! .. ACK!' - the mating call of the internet
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [LARTC] CBQ and all other qdiscs now REALLY completely documented (almost!)
2001-12-03 1:58 [LARTC] CBQ and all other qdiscs now REALLY completely documented (almost!) bert hubert
@ 2001-12-03 2:26 ` Jim Fleming
2001-12-03 2:45 ` Alberto Bertogli
2001-12-03 2:53 ` bert hubert
2 siblings, 0 replies; 4+ messages in thread
From: Jim Fleming @ 2001-12-03 2:26 UTC (permalink / raw)
To: lartc
----- Original Message -----
From: "bert hubert" <ahu@ds9a.nl>
>
> The only thing left to document are Policing filters.
>
This may help...
http://www.dot-biz.com/IPv4/Tutorial/
Jim Fleming
http://www.IPv8.info
IPv16....One Better !!
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [LARTC] CBQ and all other qdiscs now REALLY completely documented (almost!)
2001-12-03 1:58 [LARTC] CBQ and all other qdiscs now REALLY completely documented (almost!) bert hubert
2001-12-03 2:26 ` Jim Fleming
@ 2001-12-03 2:45 ` Alberto Bertogli
2001-12-03 2:53 ` bert hubert
2 siblings, 0 replies; 4+ messages in thread
From: Alberto Bertogli @ 2001-12-03 2:45 UTC (permalink / raw)
To: lartc
On Mon, Dec 03, 2001 at 03:32:15AM +0100, bert hubert wrote:
> On Sun, Dec 02, 2001 at 11:16:49PM -0300, Alberto Bertogli wrote:
>
> > The comment, still present today (of course =) is:
> >
> > Note that the peak rate TBF is much more tough: with MTU 1500
> > P_crit = 150Kbytes/sec. So, if you need greater peak
> > rates, use alpha with HZ\x1000 :-)
> >
> > Even below in the description, when it describes peakrate parameter, it
> > says "However, due to de default 10ms timer resolution of Unix, with
> > 10.000 bits average packets, we are limited to 1mbit/s of peakrate!"
>
> 150Kbytes/sec -> 1mbit/s! (more or less). Depends a bit on what your average
> packet size is.
>
Yeah I'm just stupid and read everything as bps. Luckly i forgot to CC to
the list =)
> SFQ doesn't shape, so it's a whole different ballgame.
Yeah, I shape with CBQ anyway.. what reminds me to my next question: is
HTB going to be merged in 2.4? is it ready for production use?
Thanks,
Alberto
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [LARTC] CBQ and all other qdiscs now REALLY completely documented (almost!)
2001-12-03 1:58 [LARTC] CBQ and all other qdiscs now REALLY completely documented (almost!) bert hubert
2001-12-03 2:26 ` Jim Fleming
2001-12-03 2:45 ` Alberto Bertogli
@ 2001-12-03 2:53 ` bert hubert
2 siblings, 0 replies; 4+ messages in thread
From: bert hubert @ 2001-12-03 2:53 UTC (permalink / raw)
To: lartc
On Sun, Dec 02, 2001 at 11:45:57PM -0300, Alberto Bertogli wrote:
> > SFQ doesn't shape, so it's a whole different ballgame.
>
> Yeah, I shape with CBQ anyway.. what reminds me to my next question: is
> HTB going to be merged in 2.4? is it ready for production use?
I think HTB is ready. Martin is on top of things and is rapidly cleaning up
remaining issues. He is now asking the networking maintainers of Linux for
advice on what needs to be done.
Regards,
bert
--
http://www.PowerDNS.com Versatile DNS Software & Services
Trilab The Technology People
Netherlabs BV / Rent-a-Nerd.nl - Nerd Available -
'SYN! .. SYN|ACK! .. ACK!' - the mating call of the internet
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2001-12-03 2:53 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-12-03 1:58 [LARTC] CBQ and all other qdiscs now REALLY completely documented (almost!) bert hubert
2001-12-03 2:26 ` Jim Fleming
2001-12-03 2:45 ` Alberto Bertogli
2001-12-03 2:53 ` bert hubert
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox