All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] Question2: can an mpu be specified using htb by appending
@ 2005-05-31  6:47 John Smith
  2005-05-31 20:54 ` Andy Furniss
  0 siblings, 1 reply; 2+ messages in thread
From: John Smith @ 2005-05-31  6:47 UTC (permalink / raw)
  To: lartc

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [LARTC] Question2: can an mpu be specified using htb by appending
  2005-05-31  6:47 [LARTC] Question2: can an mpu be specified using htb by appending John Smith
@ 2005-05-31 20:54 ` Andy Furniss
  0 siblings, 0 replies; 2+ messages in thread
From: Andy Furniss @ 2005-05-31 20:54 UTC (permalink / raw)
  To: lartc

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-05-31 20:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-31  6:47 [LARTC] Question2: can an mpu be specified using htb by appending John Smith
2005-05-31 20:54 ` Andy Furniss

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.