Question2: can an mpu be specified using htb by appending
Hello!
tc-htb is great because its easy, but you cannot specify an mpu. Thats bad, because with the mpu you can specify the physical characteristics of the underlying connection. I have a braodband dsl-connection. I have the problem that the proportion of small packets to big packets changes a lot. So without specifing the mpu the connection is not to full capacity (big packets) or the buffer of the modem will be filled (small packets).
Can i append an tc-tbf qdisc (qdisc 30:) to an tc-htb class with specifiying an mpu? I already did so for increasing the queue for big packets (qdisc 20:), but when i tried this for small packets i could not direct data with an tc filter to it, it alway go to qdisc 20:.
tc tree Configuration:
root qdisc htb
class 1 htb
class 1:10 htb
qdisc 20: tbf
class 1:11 htb
qdisc 30: tbf
tc filter:
tc filter add dev $dev protocol ip handle 10 \
fw flowid 20:
tc filter add dev $dev protocol ip handle 11 \
fw flowid 30:
I don´t know how those queue work, if you specify the mpu in 20: or 30: will the parent classes work with the calculated size of the packets? Anyway, traffic was not directed in 30: :(
any suggestions?
Great thanks in advance
Alvo
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
Quoted 2 lines · John Smith
Hello!
tc-htb is great because its easy, but you cannot specify an mpu.
You can specify mpu and overhead with htb - well you can with the recent 2.6 I use.
Thats bad,
Quoted 5 lines
because with the mpu you can specify the physical characteristics of the underlying connection. I have a braodband dsl-connection. I have the problem that the proportion of small packets to big packets changes a lot. So without specifing the mpu the connection is not to full capacity (big packets) or the buffer of the modem will be filled (small packets).
If you can find your overhead for your dsl type then you can patch htb and tc to do it perfectly.
Have a look at the thesis on http://www.adsl-optimizer.dk/ there is a section that shows different overheads.
Andy.
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc