Skip to contentSkip to conversation

classless qdisc and classful qdisc

LARTC Ismail Fahmi 2 participants 2 messages Jan 22, 2006

lore
Share & tools
lore
#0 lore raw

Hello, I'm still new in using tc...I wanna ask...

1. what is the difference between classless and classful qdisc?? when I made a qdisc, are I must create both of that qdisc...???

2. what is the difference beetween three of the classless qdisc in linux redhat 2.4, sfq pfifo and tbf if I using the htb classful qdisc ??? because when I use htb classful qdisc it means I made a qdisc that can rate b/w for each class, so it's no difference between I used tbf classless qdisc in each class and I used sfq or pfifo...

-regards-

_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

#1 lore raw
Quoted 2 lines · Ismail Fahmi

1. what is the difference between classless and classful qdisc?? when I made a qdisc, are I must create both of that qdisc...???

A classful qdisc allows packets to be sorted into different groups, and to handle packets differently depending on the group they belong to. This gives you a lot of control over how packets of a certain type / belonging to a certain user / etc. should be treated.

A classless qdisc just takes all incoming packets and treats them essentially all the same (with some exceptions). You can't manually customize or group type of packets in any way.

Quoted 5 lines

2. what is the difference beetween three of the classless qdisc in linux redhat 2.4, sfq pfifo and tbf if I using the htb classful qdisc ??? because when I use htb classful qdisc it means I made a qdisc that can rate b/w for each class, so it's no difference between I used tbf classless qdisc in each class and I used sfq or pfifo...

Not sure if I got this question right. Are you asking what the difference between limiting bandwidth using HTB and TBF is? In that case, TBF is classless, doesn't know anything at all about other traffic, and will just stupidly limit the bandwidth to a certain value. HTB on the other hand knows about its classes and can balance the total available bandwidth between them.

HTH
Andreas Klauer
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc