..............
> uname -a
> tc -s qdisc show dev <DEV>
> tc -s class show dev <DEV>
> tc -s filter show dev <DEV>
> сколько интервейсов в системе на которой поднят шейпер и какой куда смотрит?
> и если есть правила по маркировке пакетов в сетевом фильтре для шейпера,
> то соотвествующие правила тоже в студию.
> PS
> я тут редко появляюсь, но после предоставления затребованной информации тебе наверняка
> ответят.Прям по пунктам отвечу.
1) Провайдер точно ничего не ограничивает, просто дает канал.
2) Падение идет на всех хостах что мы тестили. Т.е например на другом интернете, тот же файл с такого же хоста скачивается с более быстрой скоростью. Т.е не в хостингах дело.
3) uname -a
Linux serv 2.6.31-20-generic-pae #57-Ubuntu SMP Mon Feb 1 11:24:59 UTC 2010 i686 GNU/Linux
4) tc -s qdisc show dev <DEV>
Их много, приведу только часть абонентских:
qdisc htb 1: root r2q 5 default 400 direct_packets_stat 1087 ver 3.17
Sent 44192789123 bytes 44377507 pkt (dropped 513526, overlimits 90365491 requeues 15)
rate 0bit 0pps backlog 0b 107p requeues 15
qdisc sfq 10: parent 1:10 limit 127p quantum 1514b flows 127/1024 perturb 10sec
Sent 3445669001 bytes 2892514 pkt (dropped 0, overlimits 0 requeues 0)
rate 0bit 0pps backlog 0b 0p requeues 0
qdisc sfq 11: parent 1:11 limit 127p quantum 1514b flows 127/1024 perturb 10sec
Sent 326710 bytes 2082 pkt (dropped 0, overlimits 0 requeues 0)
rate 0bit 0pps backlog 0b 0p requeues 0
qdisc sfq 1002: parent 1:1002 limit 127p quantum 1514b flows 127/1024 perturb 10sec
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
rate 0bit 0pps backlog 0b 0p requeues 0
qdisc sfq 1003: parent 1:1003 limit 127p quantum 1514b flows 127/1024 perturb 10sec
Sent 76343078 bytes 325969 pkt (dropped 0, overlimits 0 requeues 0)
rate 0bit 0pps backlog 0b 0p requeues 0
qdisc sfq 1004: parent 1:1004 limit 127p quantum 1514b flows 127/1024 perturb 10sec
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
rate 0bit 0pps backlog 0b 0p requeues 0
qdisc sfq 1005: parent 1:1005 limit 127p quantum 1514b flows 127/1024 perturb 10sec
Sent 54176074 bytes 42991 pkt (dropped 0, overlimits 0 requeues 0)
rate 0bit 0pps backlog 0b 0p requeues 0
.....
qdisc sfq 200: parent 1:200 limit 127p quantum 1514b flows 127/1024 perturb 10sec
Sent 21152663 bytes 243188 pkt (dropped 0, overlimits 0 requeues 0)
rate 0bit 0pps backlog 0b 0p requeues 0
qdisc sfq 300: parent 1:300 limit 127p quantum 1514b flows 127/1024 perturb 10sec
Sent 26550299260 bytes 25332233 pkt (dropped 499103, overlimits 0 requeues 0)
rate 0bit 0pps backlog 87Kb 64p requeues 0
qdisc sfq 400: parent 1:400 limit 127p quantum 1514b flows 127/1024 perturb 10sec
Sent 15884603 bytes 266320 pkt (dropped 0, overlimits 0 requeues 0)
rate 0bit 0pps backlog 0b 0p requeues 0
5) tc -s -d class show dev eth0
class htb 1:3 root rate 100000Kbit ceil 100000Kbit burst 1600b/8 mpu 0b overhead 0b cburst 1600b/
8 mpu 0b overhead 0b level 7
Sent 44386377606 bytes 44589271 pkt (dropped 0, overlimits 0 requeues 0)
rate 10236Kbit 1458pps backlog 0b 0p requeues 0
lended: 12 borrowed: 0 giants: 0
tokens: 110 ctokens: 110
class htb 1:11 parent 1:3 leaf 11: prio 0 quantum 200000 rate 10000Kbit ceil 85000Kbit burst 1600
b/8 mpu 0b overhead 0b cburst 1583b/8 mpu 0b overhead 0b level 0
Sent 331723 bytes 2104 pkt (dropped 0, overlimits 0 requeues 0)
rate 544bit 0pps backlog 0b 0p requeues 0
lended: 2092 borrowed: 12 giants: 0
tokens: 19313 ctokens: 2265
class htb 1:10 parent 1:3 leaf 10: prio 0 quantum 100000 rate 4000Kbit ceil 4000Kbit burst 1600b/
8 mpu 0b overhead 0b cburst 1600b/8 mpu 0b overhead 0b level 0
Sent 3450063036 bytes 2899658 pkt (dropped 0, overlimits 0 requeues 0)
rate 270400bit 54pps backlog 0b 0p requeues 0
lended: 2899658 borrowed: 0 giants: 0
tokens: 47750 ctokens: 47750
class htb 1:20 parent 1:3 rate 20500Kbit ceil 20500Kbit burst 1599b/8 mpu 0b overhead 0b cburst 1
599b/8 mpu 0b overhead 0b level 6
Sent 40935984525 bytes 41687513 pkt (dropped 0, overlimits 0 requeues 0)
rate 9965Kbit 1404pps backlog 0b 0p requeues 0
lended: 22444497 borrowed: 0 giants: 0
tokens: 735 ctokens: 735
class htb 1:100 parent 1:20 rate 19840Kbit ceil 20500Kbit burst 1597b/8 mpu 0b overhead 0b cburst
1599b/8 mpu 0b overhead 0b level 5
Sent 14247291978 bytes 15740908 pkt (dropped 0, overlimits 0 requeues 0)
rate 5592Kbit 718pps backlog 0b 0p requeues 0
lended: 11517856 borrowed: 48659 giants: 0
tokens: 516 ctokens: 485
class htb 1:300 parent 1:20 leaf 300: prio 2 quantum 12500 rate 500000bit ceil 5000Kbit burst 160
0b/8 mpu 0b overhead 0b cburst 1600b/8 mpu 0b overhead 0b level 0
Sent 26636312052 bytes 25435055 pkt (dropped 499158, overlimits 0 requeues 0)
rate 4377Kbit 672pps backlog 0b 52p requeues 0
lended: 3040536 borrowed: 22394467 giants: 0
tokens: 9079 ctokens: -1757
class htb 1:200 parent 1:20 leaf 200: prio 0 quantum 2000 rate 80000bit ceil 128000bit burst 1600
b/8 mpu 0b overhead 0b cburst 1600b/8 mpu 0b overhead 0b level 0
Sent 21240899 bytes 244226 pkt (dropped 0, overlimits 0 requeues 0)
rate 5536bit 8pps backlog 0b 0p requeues 0
lended: 244226 borrowed: 0 giants: 0
tokens: 2337500 ctokens: 1460938
class htb 1:400 parent 1:20 leaf 400: prio 3 quantum 2000 rate 80000bit ceil 512000bit burst 1600
b/8 mpu 0b overhead 0b cburst 1600b/8 mpu 0b overhead 0b level 0
Sent 15947350 bytes 267373 pkt (dropped 0, overlimits 0 requeues 0)
rate 3488bit 7pps backlog 0b 0p requeues 0
lended: 266004 borrowed: 1369 giants: 0
tokens: 1601396 ctokens: 251540
class htb 1:1002 parent 1:100 leaf 1002: prio 0 quantum 1000 rate 40000bit ceil 512000bit burst 1
600b/8 mpu 0b overhead 0b cburst 1600b/8 mpu 0b overhead 0b level 0
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
rate 0bit 0pps backlog 0b 0p requeues 0
lended: 0 borrowed: 0 giants: 0
tokens: 5000000 ctokens: 390625
class htb 1:1003 parent 1:100 leaf 1003: prio 0 quantum 2000 rate 80000bit ceil 2500Kbit burst 16
00b/8 mpu 0b overhead 0b cburst 1600b/8 mpu 0b overhead 0b level 0
Sent 76343078 bytes 325969 pkt (dropped 0, overlimits 0 requeues 0)
rate 0bit 0pps backlog 0b 0p requeues 0
lended: 292637 borrowed: 33332 giants: 0
tokens: 2362500 ctokens: 75610
и т.д
6) tc -s -d filter show dev eth0
filter parent 1: protocol ip pref 90 fw
filter parent 1: protocol ip pref 90 fw handle 0x5 classid 1:200
filter parent 1: protocol ip pref 90 fw handle 0x7 classid 1:10
filter parent 1: protocol ip pref 90 fw handle 0x69 classid 1:300
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:11
match с0a90000/ffffff00 at 12
match с0a90000/ffffff00 at 16
filter parent 1: protocol ip pref 100 u32 fh 800::801 order 2049 key ht 800 bkt 0 flowid 1:1002
match с0a90002/ffffffff at 16
filter parent 1: protocol ip pref 100 u32 fh 800::802 order 2050 key ht 800 bkt 0 flowid 1:1003
match с0a90003/ffffffff at 16
filter parent 1: protocol ip pref 100 u32 fh 800::803 order 2051 key ht 800 bkt 0 flowid 1:1004
match с0a90004/ffffffff at 16
и т.д
7) На системе 2 интерфейса один смотрит наружу в интернет, другой eth0 - во внутреннюю сеть
Сейчас посмотрел статистику для root qdisc. Это вообще нормально, что такое большое количество dropped и overlimits?
qdisc htb 1: root r2q 5 default 400 direct_packets_stat 1087 ver 3.17
Sent 42737451559 bytes 42739969 pkt (dropped 512899, overlimits 86837479 requeues 15)
rate 0bit 0pps backlog 0b 151p requeues 15