Re: lug-bg: Re: HTB:message in my log
- Subject: Re: lug-bg: Re: HTB:message in my log
- From: danchev@email.domain.hidden (George Danchev)
- Date: Tue, 18 Mar 2003 21:14:32 +0200
On 18 03 2003 17:47, Nickola Kolev wrote:
<em class="quotelev1">> Viktor wrote:
<em class="quotelev1">>
<em class="quotelev1">> [ cut ]
<em class="quotelev1">>
<em class="quotelev2">> > zdravo,
<em class="quotelev2">> > na tozi adres, http://sp9wun.republika.pl/linux/shaperd_cbq_en.html, e
<em class="quotelev2">> > spomenato za bugfix:
<em class="quotelev2">> >
<em class="quotelev2">> > 03.02.2003 - Version 2.00beta44.
<em class="quotelev2">> > o Probably fixed bug kernel: HTB: quantum of class XXXXX is small.
<em class="quotelev2">> > Consider r2q change
<em class="quotelev1">>
<em class="quotelev1">> [ cut ]
<em class="quotelev1">>
<em class="quotelev1">> Íå, òîâà íÿìà ñúâñåì, àìà ñúâñåì íèùî îáùî. Ïúðâî, òîçè ñàéò å ïîñâåòåí íà
<em class="quotelev1">> íåèçâåñòåí äîñåãà çà ìåí ïðîåêò, îñíîâàí ÂÚÐÕÓ htb (è ìàé cbq)
<em class="quotelev1">> ïîääðúæêàòà â ÿäðîòî. Âòîðî, êàòåãîðè÷íî òâúðäÿ, ÷å ñúîáùåíèÿòà â ëîãîâåòå
<em class="quotelev1">> îò òîçè âèä íå ñà ðåçóëòàò îò áúã â ÿäðîòî. Äà íå ãîâîðèì, ÷å ñòàâà âúïðîñ
<em class="quotelev1">> çà îïðàâåí áúã â shaperd, à íå â êîäà íà sch_htb. Ïðî÷åòè ïî-ïðåäíèÿ ìè
<em class="quotelev1">> ïîñò.
Íèêîëà, HTB âñå îùå íå å ÷àñò îò stock 2.4 kernel-a. Ñúäåéêè ïî òîâà êîåòî
êàçâà è Àíòîí Òîäîðîâ çà âêëþ÷åíèÿ äåáúã è ìÿòàíåòî íà íÿêàêâè âúòðåøíè
ñúñòîÿíèÿ íà ÿäòîðî â ëîã-à ñè ìèñëÿ ÷å áúäåùèÿ net/sched/sch_htb.c êîéòî
òðåáå äà âëèçà â stock å îùå åêñïåðèìåíòàëåí è çà òîâà ñåäè îòâúí êàòî ïà÷.
Íà ïðàêòèêà ÷îâåê ìîæå äà ïîçàêëþ÷è ñëåäíîòî:
ãëåäàéêè íåáðåæíî sch_cbq.c èìà áàÿ locking äîðè ìàé è ïðè ïðèåìàíåòî íà
íîâèòå ñòîéíîñòè ïðàùàíè êúì ÿäðîòî îò user space ñ óòèëêàòà tc (õâàëà íàáàòå
Àëåêñåé, òóêà ;-)... Ìàé íà ÿäðîòî ïà÷íàòî ñ external htb patch ìó èäâà êðèâî
àêî ìó íàáëúñêàø ïðåñåòâàéêè áåçñïèð èëè áåç ìåæäèííî èç÷àêâàíå ñ tc ðàçíèòå
ìó ñòîéíîñòè. Ñëàãàéêè èçêóñòâåíî åäèí áåçêðàéíî ìàëúê sleep èíòåðâàë ÿâíî
ïðåäîòâðàòÿâà òîâà îìàçâàíå íà kernel-data-òà, êîåòî èíà÷å ñàìîòî ïà÷íàòî
ÿäðî áè òðÿáâàëî äà ñè èçâúðøâà lock-âàéêè äàäåíèòå dataïîëåòà â ñâîÿ
kernel-data space (locking protects data not code ;-). Ìèñëÿ, ÷å èìà áàÿ
ðåçîí â òåçè ñëîâà. Ìåæäó äðóãîòî ïîèçðàé ñè äà ïðåñåòâàø áåç èç÷àêâàù
èíòåðâàë íÿêîëêî íîâè htb ñòîéíîñòè ñ tc ... ùå å èíòåðåñíî äà âèäè ðåçóëòàòà
è ïðè òåá... Îñâåí òîâà èìà èåäíà çàâèñèìîñò è òÿ å àðõèòåêòóðíîçàâèñèìà, see
NOTES íà man tc-htb:
Due to Unix timing constraints, the maximum ceil rate is not infinite and may
in fact be quite low. On Intel, there are 100 timer events per second, the
maximum rate is that rate at which 'burst' bytes are sent each timer tick.
<em class="quotelev1">>From this, the mininum burst size for a specified rate can be calculated.
For i386, a 10mbit rate requires a 12 kilobyte burst as 100*12kb*8 equals
10mbit.
Ïîèãðàé ñè è ñ òåçè ñòîéíîñòè, çàäàâàéêè íåêîðåêòíè çíà÷åíèÿ (ãëåäàì ÷å svetla
ïîäàâà åäíàêâè ñòîéíîñòè çà òÿõ, íàïð. rate 100Mbit ceil 100Mbit) äà âèäèø
äàëè htb patch kernel-a å error tolerant .... Èäåÿ íÿìàìïðîñòîå èíòåðåñíî äà
òåñòèø êàê å ïîëîæåíèåòî ;-)
--
printk("Greets, fr33zb1\n");
============================================================================
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
============================================================================
|