From: Anton Gorlov <stalker@altlinux.ru> To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org> Subject: [Sysadmins] htb Date: Fri, 25 Jan 2008 23:15:16 +0300 Message-ID: <479A4354.2030209@altlinux.ru> (raw) Почитал search.altlinux.ru и так понял что cbq скорее мёртв, чем жив. Убил онного и поставил iproute-htb. Почитал lartc.org и примеры в /usr/share/doc/iproute-htb-0.8.4 Нарисовалась примерно такая конфигурация: # cat eth0 DEFAULT=30 R2Q=100 # cat eth0-2.root # root class containing total bandwidth RATE=100Mbit BURST=15k # cat eth0-2:10.www # class for outgoing WWW traffic RATE=1Mbit BURST=15k LEAF=sfq С соседней машинки попробовал качать. Качается, но явно меньше 1 мбита. всего-то 46.45K/s если верить wget и прочим качалкам. Есть у кого идеи? # /etc/init.d/htb list ### eth0: queueing disciplines qdisc htb 1: r2q 100 default 30 direct_packets_stat 319 qdisc sfq 10: parent 1:10 limit 128p quantum 1514b perturb 10sec ### eth0: traffic classes class htb 1:10 parent 1:2 leaf 10: prio 0 rate 1000Kbit ceil 1000Kbit burst 15Kb cburst 2099b class htb 1:2 root rate 100000Kbit ceil 100000Kbit burst 15Kb cburst 51599b ### eth0: filtering rules filter parent 1: protocol ip pref 100 u32 filter parent 1: protocol ip pref 100 u32 fh 800: ht divisor 1 filter parent 1: protocol ip pref 100 u32 fh 800::800 order 2048 key ht 800 bkt 0 flowid 1:10 match 00500000/ffff0000 at 20 # /etc/init.d/htb stats ### eth0: queueing disciplines qdisc htb 1: r2q 100 default 30 direct_packets_stat 342 Sent 4952885 bytes 3583 pkt (dropped 0, overlimits 4838 requeues 0) rate 0bit 0pps backlog 0b 31p requeues 0 qdisc sfq 10: parent 1:10 limit 128p quantum 1514b perturb 10sec Sent 4890985 bytes 3241 pkt (dropped 0, overlimits 0 requeues 0) rate 0bit 0pps backlog 46934b 31p requeues 0 ### eth0: traffic classes class htb 1:10 parent 1:2 leaf 10: prio 0 rate 1000Kbit ceil 1000Kbit burst 15Kb cburst 2099b Sent 4898555 bytes 3246 pkt (dropped 0, overlimits 0 requeues 0) rate 711048bit 58pps backlog 0b 32p requeues 0 lended: 3214 borrowed: 0 giants: 0 tokens: 85074 ctokens: -23552 class htb 1:2 root rate 100000Kbit ceil 100000Kbit burst 15Kb cburst 51599b Sent 4850107 bytes 3214 pkt (dropped 0, overlimits 0 requeues 0) rate 719224bit 59pps backlog 0b 0p requeues 0 lended: 0 borrowed: 0 giants: 0 tokens: 1012 ctokens: 3981 ### eth0: filtering rules filter parent 1: protocol ip pref 100 u32 filter parent 1: protocol ip pref 100 u32 fh 800: ht divisor 1 filter parent 1: protocol ip pref 100 u32 fh 800::800 order 2048 key ht 800 bkt 0 flowid 1:10 (rule hit 3608 success 3248) match 00500000/ffff0000 at 20 (success 3248 ) -- np: silence
reply other threads:[~2008-01-25 20:15 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=479A4354.2030209@altlinux.ru \ --to=stalker@altlinux.ru \ --cc=sysadmins@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux sysadmins discussion This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \ sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com public-inbox-index sysadmins Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.sysadmins AGPL code for this site: git clone https://public-inbox.org/public-inbox.git