From: Andy Furniss <andy.furniss@dsl.pipex.com>
To: lartc@vger.kernel.org
Subject: [LARTC] Re: packet marking: only a ratio, not all
Date: Wed, 12 Apr 2006 13:52:52 +0000 [thread overview]
Message-ID: <443D0634.80607@dsl.pipex.com> (raw)
In-Reply-To: <20060410134848.17949.qmail@web54305.mail.yahoo.com>
pfer wrote:
> Hi Andy!
>
> I haven't checked the iproute sources for that,
> but maybe I was not clear:
>
> What I need is not having ALL packets re-marked when
> they are overlimit, or sent to any class, etc..
>
> I want them to be remarked at a ratio. (eg. 2%)
>
> And granularity is important, if I have to re-mark
> with
> a 20% ratio, I wish to remark every 5th, and not mark
> 20 continously at not mark other 80 continously.
Hmm with the example you give of 3x10 feeding 1x10 egress I don't see
how it's going to work as is - I googled RMD-QoS-NSLP and have to admit
I know zero about that - so you are alot more qualified than me WRT that.
I can't really do more than list a few thoughts.
What happens if ingress > 2x egress.
You want to mark every nth packet on egress but this will be before the
flooded bottleneck - so you will then have to drop some of them.
The example of 16mbit ingress going to 10mbit egress will not happen for
long if tcp is involved - it will back off.
Relating bandwidth use to packet counting will need the packets to all
be the same size. (maybe doesn't matter for you)
It may be doable - I just don't know and haven't played with actions
enough to answer questions on that.
One thought you could use IFB/IMQ or something to double queue so that
the egress marker sees the traffic already cut down to 10mbit and there
will be no further dropping. You'll still need to use state from ingress
meters - or maybe your code for that.
Thomas Graf wrote ematch which is in kernel (I don't know of any
examples of usage, but the code has comments on how to write your own).
He eventually wanted them to be able to do clever things like use meta
data to control tc/classification I beleive.
Andy.
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
next prev parent reply other threads:[~2006-04-12 13:52 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-10 13:48 [LARTC] RE: packet marking: only a ratio, not all pfer
2006-04-12 13:52 ` Andy Furniss [this message]
2006-04-12 16:39 ` [LARTC] " pfer
2006-04-13 0:36 ` 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=443D0634.80607@dsl.pipex.com \
--to=andy.furniss@dsl.pipex.com \
--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.