Question2: can an mpu be specified using htb by appending an tc-tbf queue?

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux