|
|
ru.linux- RU.LINUX --------------------------------------------------------------------- From : Aleksey I Zavilohin 2:5020/400 12 Mar 2002 00:06:36 To : Igor Suvorov Subject : http://www.lartc.org/ -------------------------------------------------------------------------------- Igor Suvorov <agnostic@khrunichev.com> wrote: >>>>> Что нужно прочесть, чтобы понять приведенные на экране цифры? Hе >>>>> догадаться (вот overlimits явно должен считаться в пакетах - что >>>>> в сумме с второй цифрой наводит на грустную мысль - а что вообще >>>>> оно тут считает?), а именно понять? А за разумное время? >> >> TC(8) Linux TC(8) >> >> NAME >> tc - show / manipulate traffic control settings >> >> SYNOPSIS >> tc qdisc [ add | change | replace | link ] dev DEV [ par- >> ent qdisc-id | root ] [ handle qdisc-id ] qdisc [ qdisc >> specific parameters ] >> >> tc class [ add | change | replace ] dev DEV parent qdisc- >> ... > Это не man, это урезанный tc qdisc help и tc class help. Единственный > хелп, который написал Кузнецов. Еще tc help есть. И немного примеров. > Без расшифровки. Чуть лучше, чем в дистрибутиве Debian. Или чуть хуже > - это как посмотреть (Debian честно говорит, что ничего у него нет и > ищите доки там, где хотите). фак - тебе весь ман сюда что ли постить? ... bandwidth rate This is different from the bandwidth specified when creating a CBQ disc! Only used to determine maxidle and offtime, which are only calculated when speci- fying maxburst or minburst. Mandatory if specifying maxburst or minburst. maxburst This number of packets is used to calculate maxidle so that when avgidle is at maxidle, this number of average packets can be burst before avgidle drops to 0. Set it higher to be more tolerant of bursts. You can't set maxidle directly, only via this parameter. minburst As mentioned before, CBQ needs to throttle in case of overlimit. The ideal solution is to do so for exactly the calculated idle time, and pass 1 ... > Я не зря попросил ссылку на расшифровку счетчиков статистики. Можно > цитату из этого man именно об этом? ну сходите же на сайт (ссылку здесь давали) с howto - man там отдельно идут >> > А что, в этом man действительно есть внятные ответы на эти вопросы? Или >> > это еще один пересказ howto в примитивном виде? >> >> нормальный man > > Hормальный man как минимум идет вместе с программой. Архив, что отдается > сейчас с ftp.inr.ac.ru как текущий - этим не страдает. фак - для тебя документация это то, что написано автором? >> >> а именно понять - там ссылка на SOURCES есть 8-) >> >> > Вот об этом и речь. Про разумное время можно вообще забыть. >> >> ты знаешь - набрав man postfix ты тоже не сильно узнаешь как оно >> работает внутри не прочитав rfc и кучу другой литературы > Мне не интересно, как оно работает внутри. Мне интересно иметь источник, > в котором можно посмотреть, какого #$@ при создании "трубы" в 100 Mbit > на 100 Mbit интерфейсе и отсутствии сопоставимого трафика у меня в > статистике для этой "трубы" тем не менее фиксируется превышение > допустимого предела трафика. Т.е. мне интересно наличие внятного описания > рычагов, за которые можно дергать и статистики, которую я при этом вижу. > И некоторое описание всего механизма, из которого эти рычаги торчат. PARAMETERS min Average queue size at which marking becomes a pos- sibility. max At this average queue size, the marking probability iproute2 13 December 2001 1 RED(8) Linux RED(8) is maximal. Should be at least twice min to prevent synchronous retransmits, higher for low min. probability Maximum probability for marking, specified as a floating point number from 0.0 to 1.0. Suggested values are 0.01 or 0.02 (1 or 2%, respectively). limit Hard limit on the real (not average) queue size in bytes. Further packets are dropped. Should be set higher than max+burst. It is advised to set this a few times higher than max. burst Used for determining how fast the average queue size is influenced by the real queue size. Larger values make the calculation more sluggish, allowing longer bursts of traffic before marking starts. Real life experiments support the following guide- line: (min+min+max)/(3*avpkt). avpkt Specified in bytes. Used with burst to determine the time constant for average queue size calcula- tions. 1000 is a good value. bandwidth This rate is used for calculating the average queue size after some idle time. Should be set to the bandwidth of your interface. Does not mean that RED will shape for you! Optional. ecn As mentioned before, RED can either 'mark' or 'drop'. Explicit Congestion Notification allows RED to notify remote hosts that their rate exceeds the amount of bandwidth available. Non-ECN capable hosts can only be notified by dropping a packet. If this parameter is specified, packets which indi- cate that their hosts honor ECN will only be marked and not dropped, unless the queue size hits limit bytes. Needs a tc binary with RED support compiled in. Recommended. SEE ALSO tc(8) SOURCES o Floyd, S., and Jacobson, V., Random Early Detection gateways for Congestion Avoidance. http://www.aciri.org/floyd/papers/red/red.html o Some changes to the algorithm by Alexey N. Kuznetsov. iproute2 13 December 2001 2 RED(8) Linux RED(8) AUTHORS Alexey N. Kuznetsov, <kuznet@ms2.inr.ac.ru>, Alexey Makarenko <makar@phoenix.kharkov.ua>, J Hadi Salim <hadi@nortelnetworks.com>. This manpage maintained by bert hubert <ahu@ds9a.nl> iproute2 13 December 2001 3 > Пока нет ни первого, ни второго. Третье частично описано в HowTo, но > лишь в виде гипотез, проверенных экспериментально. >> зато получишь ответы как запускать - какие есть ключи и что они крутят >> точно также и тут - "физику" процесса в мане никто не разжевывает >> ее даже в документации не разжевывают 8-) часто ибо документация на >> прграмму, а не на то, как она работает 8-) > Так в том то и дело, что нет этих ответов. Hа www.cisco.com для их > оборудования - есть. И примеры есть, и объяснения. А тут - чистое > поле для научной деятельности. примеры и обьяснения в howto 8-) -- At these prices, I lose money -- but I make it up in volume. -- Peter G. Alaquon --- ifmail v.2.15dev5 * Origin: EMS JSC News Server (2:5020/400) Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Архивное /ru.linux/24009ef57bd56.html, оценка из 5, голосов 10
|