From: doudouyam Date: Wed, 19 Jul 2006 09:36:20 +0000 Subject: [LARTC] PRIO and CBQ Message-Id: <81c11a560607190236w529e467cl66749deb5bd8d5bc@mail.gmail.com> MIME-Version: 1 Content-Type: multipart/mixed; boundary="===============0794861738==" List-Id: To: lartc@vger.kernel.org --===============0794861738== Content-Type: multipart/alternative; boundary="----=_Part_59445_32019017.1153301780224" ------=_Part_59445_32019017.1153301780224 Content-Type: text/plain; charset=WINDOWS-1252; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi, I'm work on traffic shaping and I would like to know if it's possible to mi= x differents Queueing Disciplines ?? I would like to combine the proporties of a PRIO discipline with that of a CBQ discipline. I read some documentation and I found nothing about that, can you help me ? I think to try something like that : tc qdisc add dev $DEV root handle 1: cbq =85 tc class add dev $DEV parent 1: classid 1:1 cbq =85 tc class add dev $DEV parent 1:1 classid 1:10 cbq =85 tc class add dev $DEV parent 1:1 prio Normally I've this tree : 1:(cbq) | | 1:1 / \ / \ 1:10(cbq) 1:??(prio) Or something like that : tc qdisc add dev $DEV root handle 1: prio band 2 tc class add dev $DEV parent 1: classid 1:2 cbq =85 tc class add dev $DEV parent 1:2 classid 1:3 cbq =85 tc class add dev $DEV parent 1:2 classid 1:4 cbq =85 tc qdisc add dev $DEV parent 1:1 handle 10: pfifo tc qdisc add dev $DEV parent 1:3 handle 30 sfq tc qdisc add dev $DEV parent 1:4 handle 40 sfq 1:(prio) / \ / \ 1:1 1:2 | / \ | / \ 10: 1:3 1:4 (pfifo) | | | | 30: 40: (sfq) (sfq) Is it possible ??? (the first solution seems to me not possible) Thanks. ------=_Part_59445_32019017.1153301780224 Content-Type: text/html; charset=WINDOWS-1252 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi,
I'm work on traffic shaping and I would like to know if it's possibl= e to mix differents Queueing Disciplines ??
I would like to combine the = proporties of a PRIO discipline with that of a CBQ discipline.
I read so= me documentation and I found nothing about that, can you help me ?

I think to try something like that :

tc qdisc add dev $DEV r= oot handle 1: cbq =85
tc class add dev $DEV parent 1: classid 1:1 cbq = =85
tc class add dev $DEV parent 1:1 classid 1:10 cbq =85
tc class ad= d dev $DEV parent 1:1 prio

Normally I've this tree :

       &n= bsp;   1:(cbq)
         &nb= sp;     |
        &nbs= p;      |
        = ;     1:1
         &nb= sp; /      \
         = /         \
1:10(cbq)    =   1:??(prio)

Or something like that :

tc qdisc add dev $DEV root handle 1: prio band 2
tc class add de= v $DEV parent 1: classid 1:2 cbq =85
tc class add dev $DEV parent 1:2 cl= assid 1:3 cbq =85
tc class add dev $DEV parent 1:2 classid 1:4 cbq =85
tc qdisc add dev $DEV parent 1:1 handle 10: pfifo
tc qdisc add dev $= DEV parent 1:3 handle 30 sfq
tc qdisc add dev $DEV parent 1:4 handle 40 = sfq

            1:(prio= )
           /   =        \
       &= nbsp;  /          &n= bsp; \=20
       1:1      =       1:2
        = ; |             /   \
=          |         &= nbsp;  /     \
       =  10:       1:3    1:4
 &nbs= p;      (pfifo)      |  &= nbsp;     |
        &n= bsp;             |   &nbs= p;    |
          = ;           30:     40:
                 = ;   (sfq)   (sfq)

Is it possible ??? (the first solut= ion seems to me not possible)


Thanks.

------=_Part_59445_32019017.1153301780224-- --===============0794861738== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc --===============0794861738==--