All of lore.kernel.org
 help / color / mirror / Atom feed
From: "John Smith" <owe@gmx.li>
To: lartc@vger.kernel.org
Subject: [LARTC] Question2: can an mpu be specified using htb by appending
Date: Tue, 31 May 2005 06:47:43 +0000	[thread overview]
Message-ID: <000901c565ac$a5d66a40$0b00000a@jo> (raw)

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

             reply	other threads:[~2005-05-31  6:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-31  6:47 John Smith [this message]
2005-05-31 20:54 ` [LARTC] Question2: can an mpu be specified using htb by appending Andy Furniss

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='000901c565ac$a5d66a40$0b00000a@jo' \
    --to=owe@gmx.li \
    --cc=lartc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.