Linux-Bulgaria.ORG
навигация

 

начало

пощенски списък

архив на групата

семинари ...

документи

как да ...

 

 

Предишно писмо Следващо писмо Предишно по тема Следващо по тема По Дата По тема (thread)

RE: lug-bg: htb, cbq, wrr, red, gred, csz, wfq, hfsc, blue, etc.


  • Subject: RE: lug-bg: htb, cbq, wrr, red, gred, csz, wfq, hfsc, blue, etc.
  • From: bkrosnov@email.domain.hidden (Boyan Krosnov)
  • Date: Fri, 21 Mar 2003 10:31:33 +0200


strukturata na classfull qdiscovete e takava
--------------
qdisc X:0 
  class X:y
    class X:z (leaf class)
    class X:w (leaf class)
  class X:u
-------------
zabelejete che major nomera e ednakyv a minor nomera na qdisca e 0.

classless qdisc izglejda taka
--------------
qdisc A:0
-----------
bez klasove. zabelejete che otnovo minor nomera na qdisc-a e 0.

ako zakachate edin qdisc kym drug tova moje da stava samo na leaf classovete.
t.e. zakachate vtoriq qdisc kym leaf klasa na pyrviq qdisc i ot tam negovite si pod klasove
--------------
qdisc X:0 (classfull)
  class X:y
    class X:z (leaf class of X:)
      qdisc B:0 (classfull)
        class B:v (leaf class of B:)
        class B:t (leaf class of B:)
        class B:s (leaf class of B:)
    class X:w (leaf class of X:)
  class X:z (leaf class of X:)
    qdisc C:0 (classless)
-------------
zabelejete che B, C i X sa razlichni chisla

da citiram lartc howto-to
----------
The handles of these qdiscs consist of two parts, a major number and a minor number : <major>:<minor>. It is customary to name the root qdisc '1:', which is equal to '1:0'. The minor number of a qdisc is always 0. 
Classes need to have the same major number as their parent. This major number must be unique within a egress or ingress setup. The minor number must be unique within a qdisc and his classes.
---------

BR,
Boyan Krosnov, CCIE#8701
http://boyan.ludost.net/
just another techie speaking for himself

<em class="quotelev1">> -----Original Message-----
<em class="quotelev1">> From: Nickola Kolev [mailto:nikky_at_mnet.bg] 
<em class="quotelev1">> Sent: Thursday, March 20, 2003 11:47 PM
<em class="quotelev1">> To: lug-bg_at_linux-bulgaria.org
<em class="quotelev1">> Subject: Re: lug-bg: htb, cbq, wrr, red, gred, csz, wfq, 
<em class="quotelev1">> hfsc, blue, etc.
<em class="quotelev1">> 
<em class="quotelev1">> 
<em class="quotelev1">> On Thu, 20 Mar 2003 22:17:30 +0200
<em class="quotelev1">> Theodor Milkov <zimage_at_del.bg> wrote:
<em class="quotelev1">> 
<em class="quotelev1">> [ cut ]
<em class="quotelev1">> 
<em class="quotelev3">> > > Dokolkoto znam, sled kato vednyzh si prikachil kym dadeno 
<em class="quotelev1">> ustroistvo edin 
<em class="quotelev3">> > > tip classful queueing disciplina, da rechem CBQ, ne 
<em class="quotelev1">> mojesh po negovite leaves 
<em class="quotelev3">> > > da slagash drug takyv, naprimer HTB.
<em class="quotelev2">> > 
<em class="quotelev2">> > A eto - spored Boian moje ;-) Znachi shte se testva...
<em class="quotelev1">> 
<em class="quotelev1">> åÔÏ - ÎÁ, ÄÏÊÄÅ ×ÒÅÍÅ ÄÁ ÓÉ ÐÒÏÌÉÞÉ ÂÅÚÈÁÂÅÒÉÅÔÏ ÍÉ. :) îÅ ÍÉ 
<em class="quotelev1">> Å ÑÓÎÏ ÏÂÁÞÅ ËÁË 
<em class="quotelev1">> ÍÏÖÅ ÎÁ wrr ÄÁ ÓÅ ÐÒÉËÁÞÁ ÄÒÕÇÁ ÏÐÁÛËÉÒÁÝÁ ÄÉÓÃÉÐÌÉÎÁ, 
<em class="quotelev1">> ÎÁÐÒÉÍÅÒ sfq, Á × ÍÏÍÅÎÔÁ,
<em class="quotelev1">> × ËÏÊÔÏ ÏÐÉÔÁÍ ÄÁ ÎÁÐÒÁ×Ñ ÎÅÝÏ ËÁÔÏ
<em class="quotelev1">> 
<em class="quotelev1">> tc class add dev eth0 parent 1: classid 1:1 htb rate 20Mbit 
<em class="quotelev1">> ceil 20Mbit
<em class="quotelev1">> 
<em class="quotelev1">> tc class add dev eth0 parent 1:1 classid 1:2 cbq bandwidth 
<em class="quotelev1">> 100Mbit rate 5Mbit \
<em class="quotelev1">> weight 500Kbit allot 1514 cell 8 mpu 64 prio 5 bounded 
<em class="quotelev1">> isolated \       
<em class="quotelev1">> maxburst 10 minburst 0 avpkt 1514
<em class="quotelev1">> 
<em class="quotelev1">> tc ÄÁ ÍÉ ËÁÚ×Á, ÞÅ ÐÏÄÁ×ÁÍ ÎÅ×ÁÌÉÄÅÎ ÁÒÇÕÍÅÎÔ. åÓÔÅÓÔ×ÅÎÏ, 
<em class="quotelev1">> Ô×ßÒÄÅ ×ßÚÍÏÖÎÏ Å
<em class="quotelev1">> ÄÁ ÂßÒËÁÍ ÎÅÝÏ × ÐÏÄÒÅÖÄÁÎÅÔÏ, ÎÏ ÂÉÈÔÅ ÌÉ ÍÉ ÏÂÑÓÎÉÌÉ ËÁË 
<em class="quotelev1">> wrr (ËÏÑÔÏ ÏÞÅ×ÉÄÎÏ
<em class="quotelev1">> Å classful, ÔßÊ ËÁÔÏ ÐÏÄ ÎÅÑ ÍÏÇÁÔ ÄÁ ÓÅ ÐÒÉËÁÞ×ÁÔ ÄÒÕÇÉ 
<em class="quotelev1">> ÎÅ-classful ÄÉÓÃÉÐÌÉÎÉ)
<em class="quotelev1">> ÓÅ ÚÁËÁÞÁ ÐÏÄ HTB É CBQ, Á CBQ ÎÅ ÍÏÖÅ ÄÁ ÓÅ ÚÁËÁÞÉ ÐÏÄ HTB. 
<em class="quotelev1">> ñ×ÎÏ ÓßÍ × ÎÑËÁË×Ï
<em class="quotelev1">> ÎÅ×ÅÒÏÑÔÎÏ ÚÁÂÌÕÖÄÅÎÉÅ. ðÏÍÏÇÎÅÔÅ, ÍÏÌÑ!
<em class="quotelev1">> 
<em class="quotelev1">> [ cut ]
<em class="quotelev2">> > Razlichno - ot 64 do 576 Kbit/s. Pri po-barzite e po-dobre. 
<em class="quotelev1">> Srabotvat
<em class="quotelev2">> > po-barzo sfq-ta, predpolagam zashtoto trnsmit-a na 1 quantum otnema
<em class="quotelev2">> > po-malko vreme...
<em class="quotelev1">> [ cut ]
<em class="quotelev1">> 
<em class="quotelev1">> îÅ ÒÁÚÂÒÁÈ, ÉÚ×ÉÎÑ×ÁÊ. ïÚÎÁÞÁ×Á ÌÉ ÔÏ×Á, ÞÅ ÁËÏ Õ×ÅÌÉÞÉÛ quantum-Á, 
<em class="quotelev1">> sfq ÝÅ ÓÅ ÄßÒÖÉ ÏÝÅ ÐÏ-ÄÏÂÒÅ? íÁÊ ÎÅ...
<em class="quotelev1">> 
<em class="quotelev1">> íÅÖÄÕ ÄÒÕÇÏÔÏ, ÐÒÅÄÉ ÏËÏÌÏ 2 ÓÅÄÍÉÃÉ ÐÒÏÂ×ÁÈ ÄÁ ÕÓÔÁÎÏ×Ñ 
<em class="quotelev1">> quantum ÎÁ htb, ÚÁ 
<em class="quotelev1">> ÄÁ ÎÅ ÇÏ ÏÓÔÁ×ÑÍ ÄÁ ÓÉ ÇÏ ÉÚÞÉÓÌÑ×Á ÔÏÊ (×ßÚ ÏÓÎÏ×Á ÎÁ 
<em class="quotelev1">> ÐÁÒÁÍÅÔßÒÁ r2q).
<em class="quotelev1">> ðÏÌÕÞÉ ÓÅ ÎÑËÁË×Á ÎÅ×ÅÒÏÑÔÎÁ ËÁÛÁ - ÐÒÉ ÍÏÉÔÅ ÄÏÓÔÁ ÎÁ ÂÒÏÊ 
<em class="quotelev1">> ËÌÁÓÏ×Å, ÏÔ ËÏÉÔÏ
<em class="quotelev1">> ÏËÏÌÏ 95% ÓÁ leaves (ÄÅÍÅË ËÒÁÊÎÉ :), ÍÁÛÉÎÁÔÁ ÐÏÞÔÉ 
<em class="quotelev1">> ÐÏÓÔÏÑÎÎÏ ÄßÒÖÅÛÅ load
<em class="quotelev1">> average ÏËÏÌÏ 2, Á ËÏÇÁÔÏ ÇÏ ×ßÒÎÁÈ ÐÏ ÓÔÁÒÏÍÕ, Ô.Å. ÂÅÚ 
<em class="quotelev1">> ÉÚÒÉÞÎÏ ÕÓÔÁÎÏ×Ñ×ÁÎÅ
<em class="quotelev1">> ÎÁ quantum ÚÁ htb, ÓÔÉÇÁ ÄÏ ÏËÏÌÏ 0.30-0.40 load average ÐÒÉ 
<em class="quotelev1">> 2.5 ÄÏ 5 Mb/s
<em class="quotelev1">> ÔÒÁÆÉË.
<em class="quotelev1">> 
<em class="quotelev2">> > M'da. Popadnah tia dni na nego. Shte mi spesti 
<em class="quotelev1">> compiliraneto na sfq s
<em class="quotelev2">> > promeneneni parametri. Merci za link-a vse pak.
<em class="quotelev1">> 
<em class="quotelev1">> ÷ ÐÏÝÅÎÓËÉÑ ÓÐÉÓßË ÎÁ lartc ÞÅÔÏÈ ÍÎÅÎÉÑ ÎÁ ÎÑËÏÌËÏ ÄÕÛÉ, 
<em class="quotelev1">> ËÏÉÔÏ Ô×ßÒÄÑÔ, ÞÅ ÇÏ 
<em class="quotelev1">> ÉÚÐÏÌÚ×ÁÔ ÎÁ production ÍÁÛÉÎÉ É ÒÁÂÏÔÉ ÍÎÏÇÏ ÄÏÂÒÅ.
<em class="quotelev1">> 
<em class="quotelev1">> -- 
<em class="quotelev1">> _____________________________________________________________
<em class="quotelev1">> 
<em class="quotelev1">> ðÏÚÄÒÁ×É,
<em class="quotelev1">> îÉËÏÌÁ
<em class="quotelev1">> 
============================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
============================================================================



 

наши приятели

 

линукс за българи
http://linux-bg.org

FSA-BG
http://fsa-bg.org

OpenFest
http://openfest.org

FreeBSD BG
http://bg-freebsd.org

KDE-BG
http://kde.fsa-bg.org/

Gnome-BG
http://gnome.cult.bg/

проект OpenFMI
http://openfmi.net

NetField Forum
http://netField.ludost.net/forum/

 

 

Linux-Bulgaria.ORG

Mailing list messages are © Copyright their authors.