Witam.
Problem jest nastepujacy:
Slackware 8.0 + kernel 2.4.21 + HTB skonfigurowany =
nastepujaco:
tc qdisc del root dev eth0
tc qdisc add dev eth0 root handle 1:0 htb
tc class add dev eth0 parent 1:0 classid 1:1 htb rate =
10mbit ceil 10mbit
tc class add dev eth0 parent 1:1 classid 1:2 htb rate =
512kbit ceil 512kbit
tc class add dev eth0 parent 1:1 classid 1:3 htb rate =
44800kbit ceil 44800kbit
tc class add dev eth0 parent 1:2 classid 1:4 htb rate =
250kbit ceil 512kbit
tc class add dev eth0 parent 1:2 classid 1:5 htb rate =
150kbit ceil 512kbit
tc class add dev eth0 parent 1:2 classid 1:6 htb rate =
112kbit ceil 512kbit
tc class add dev eth0 parent 1:4 classid 1:7 htb rate =
125kbit ceil 512kbit
tc class add dev eth0 parent 1:4 classid 1:8 htb rate =
125kbit ceil 512kbit
tc filter add dev eth0 protocol ip preference 1 =
parent 1:0 u32 match ip src 192.168.0.1 flowid 1:3
tc filter add dev eth0 protocol ip preference 2 =
parent 1:0 u32 match ip dst 192.168.0.2 flowid 1:7
tc filter add dev eth0 protocol ip preference 2 =
parent 1:0 u32 match ip dst 192.168.0.3 flowid 1:8
tc filter add dev eth0 protocol ip preference 2 =
parent 1:0 u32 match ip dst 192.168.0.4 flowid 1:5
tc filter add dev eth0 protocol ip preference 2 =
parent 1:0 u32 match ip dst 192.168.0.6 flowid 1:6
tc qdisc add dev eth0 parent 1:3 handle 2:0 sfq =
perturb 10
tc qdisc add dev eth0 parent 1:5 handle 3:0 sfq =
perturb 10
tc qdisc add dev eth0 parent 1:6 handle 4:0 sfq =
perturb 10
tc qdisc add dev eth0 parent 1:7 handle 5:0 sfq =
perturb 10
tc qdisc add dev eth0 parent 1:8 handle 6:0 sfq =
perturb 10
Np. Koles zapuszcza DC i siorbie z max predkoscia = 512kbit w momencie gdy drugi wchodzi np na ONET'a transfer dla kolesia = (DC) powinien spasc i zagwarantowany transfer dla drugiego (ONET) = powinien zostac przydzielony. Niby tak sie dzieje ale nie do konca = poniewaz ONET laduje sie dluugo napewno nie tak jak powinien przy = gwarantowanej predkosci lecz tak jakby otwieral ktos przez modem 56kbit. = Ja sie pytam czy wszystko idzie za posrednictwem protokolu IP czy tez = powinienem wstawic jakies dodatkowe reguly.
To tylko jeden przyklad. Nastepny:
Czy mozna cos na to poradzic?
Pozdrawiam,
sciagam przez DownloadAccelerator plik z max =
predkoscia, w czasie gdy drugi koles proboje wejsc na strone lecz zanim =
serwer np. ONET'u zareaguje minie ladne pare-parenascie sekund tak jakby =
RyEk