All of lore.kernel.org
 help / color / mirror / Atom feed
From: Patrick McHardy <kaber@trash.net>
To: Matthias Urlichs <smurf@smurf.noris.de>
Cc: netfilter-devel@lists.netfilter.org
Subject: Re: traffic shaping and fixed per-packet overhead
Date: Thu, 21 Jul 2005 20:28:28 +0200	[thread overview]
Message-ID: <42DFE94C.4050307@trash.net> (raw)
In-Reply-To: <pan.2005.07.21.07.17.08.357408@smurf.noris.de>

Matthias Urlichs schrieb:
> Hi,
> 
> I have an IPIP tunnel through a DSL line (PPPoE) which I need to
> traffic-shape / flow control. Unfortunately, the tunnel has a fixed
> per-packet overhead, which means that small packets overrun the
> bandwidth allowed for the tunnel and get dropped, while (if I set the
> allowed bandwidth to too-small values) the wire will be idle when
> I send large packets.
> 
> (I'm using HTB.)
> 
> I can think of a couple of solutions ...
> - Use bit-banging in the outer filter instead of nice rules on the tunnel.
>   (OK, that's a dumb idea from a useability POV.)
> - Extend the HTB code to allow specifying a per-packet overhead.
> - Hack the kernel to propagate a packet's netfilter MARK.

Totally unrelated to netfilter-devel, but:

# tc qdisc add htb help
...
  mpu      minimum packet size used in rate computations
  overhead per-packet size overhead used in rate computations

      reply	other threads:[~2005-07-21 18:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-21  7:17 traffic shaping and fixed per-packet overhead Matthias Urlichs
2005-07-21 18:28 ` Patrick McHardy [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=42DFE94C.4050307@trash.net \
    --to=kaber@trash.net \
    --cc=netfilter-devel@lists.netfilter.org \
    --cc=smurf@smurf.noris.de \
    /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.