From: Arkadiusz Miskiewicz <arekm@maven.pl>
To: Jarek Poplawski <jarkao2@gmail.com>
Cc: netdev@vger.kernel.org
Subject: Re: htb and UDP packages bigger than 1500
Date: Tue, 11 Dec 2007 09:48:19 +0100 [thread overview]
Message-ID: <200712110948.19504.arekm@maven.pl> (raw)
In-Reply-To: <20071211083559.GB2261@ff.dom.local>
On Tuesday 11 of December 2007, Jarek Poplawski wrote:
> On Tue, Dec 11, 2007 at 09:17:30AM +0100, Arkadiusz Miskiewicz wrote:
> > On Tuesday 11 of December 2007, Jarek Poplawski wrote:
> > > On 10-12-2007 18:10, Arkadiusz Miskiewicz wrote:
> > > > Hello,
> > > >
> > > > I noticed that HTB doesn't properly limit traffic if someone sends
> > > > UDP packages bigger than 1500.
> > > >
> > > > Does HTB have some problems/known limits in this area?
> > > >
> > > > There is other traffic in that class and when I drop udp packets
> > > > bigger than 1500 then remaining traffic is limited properly to
> > > > correct value.
> > >
> > > Should work with proper "mtu" parameter (tc qdisc add htb help) or,
> > > for kernels >= 2.6.23, even without this. If this doesn't help,
> > > probably more information is required.
> >
> > 2.6.22 there. mtu wasn't specified at tc... Could you point to a git
> > commit which "fixes" the issue in 2.6.23 so I could backport it to my
> > 2.6.22?
>
> http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.23.y.git;a=commi
>tdiff;h=c9726d6890f7f3a892c879e067c3ed839f61e745
>
> From: Ranjit Manomohan <ranjitm@google.com>
> Date: Wed, 11 Jul 2007 05:43:16 +0000 (-0700)
> Subject: [NET_SCHED]: Make HTB scheduler work with TSO.
> X-Git-Tag: v2.6.23-rc1~1109^2~22
Backported.
> But this is done with two different ways. And btw., if there is such
> a big difference in sizes it could be not very accurate after all.
Hm, here htb qdisc is attached to imq devices which have mtu 16000 by default
(in latest patch; previously that was 1500). I'll just lower it to 1500 for
now. Thanks.
> Jarek P.
--
Arkadiusz Miśkiewicz PLD/Linux Team
arekm / maven.pl http://ftp.pld-linux.org/
prev parent reply other threads:[~2007-12-11 8:48 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-10 17:10 htb and UDP packages bigger than 1500 Arkadiusz Miskiewicz
2007-12-11 8:19 ` Jarek Poplawski
2007-12-11 8:17 ` Arkadiusz Miskiewicz
2007-12-11 8:36 ` Jarek Poplawski
2007-12-11 8:48 ` Arkadiusz Miskiewicz [this message]
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=200712110948.19504.arekm@maven.pl \
--to=arekm@maven.pl \
--cc=jarkao2@gmail.com \
--cc=netdev@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).