From: "Vladimir B. Savkin" <master@sectorb.msk.ru>
To: jamal <hadi@cyberus.ca>
Cc: linux-kernel@vger.kernel.org, netdev@oss.sgi.com
Subject: Re: [RFC/PATCH] IMQ port to 2.6
Date: Mon, 26 Jan 2004 03:11:02 +0300 [thread overview]
Message-ID: <20040126001102.GA12303@usr.lcm.msu.ru> (raw)
In-Reply-To: <1075074316.1747.115.camel@jzny.localdomain>
On Sun, Jan 25, 2004 at 06:45:16PM -0500, jamal wrote:
> On Sun, 2004-01-25 at 15:21, Vladimir B. Savkin wrote:
> > On Sun, Jan 25, 2004 at 02:22:19PM -0500, jamal wrote:
>
> > Think multiple clients connected via PPP. I want to shape traffic,
> > so ingress is out of question. I want different clients in a same
>
> Ok,
> a) why do you want to shape on ingress instead of policing?
With typical internet traffic patterns, policing will drop many packets,
and shaping will not.
> OR
> b) Why cant you achieve the same results by marking on ingress and
> shaping on egress?
Well, as I understand it, there's no "real" ingress and "real" egress.
Look at this:
Any forwarded packet
1) comes from one interface
2) receives some treatment (filtering, routing decision, maybe
delaying if we shape, mangling etc.)
and
3) goes away via some other interface
step (1) is "ingress"
step (3) is "egress"
qdiscs work at step (2), so all of them are intermediate in this sense
Well, ok, if a qdisc receives a feedback from egress interface
on when to dequeue a packet (when interface is ready to send),
we can say that it is an egress qdisc.
But in my case, PPP connections are really PPTP or PPPoE.
Internal network bandwidth is not a premium, so all internal
interfaces are always ready to send.
So, I don't shape at ingress or at egress, I shape passing-through
traffic.
> > htb class, so using qdisc on each ppp interface is out of
> > question. It seems to me that IMQ is the only way to achieve my goals.
>
> By multiple clients i believe you mean you want to say "-i ppp+"?
> We had a long discussion on this a while back (search netdev)
> and i think it is a valid point for dynamic devices like ppp.
Well, I don't really care whether those interfaces are dynamic or
static. They could be multiple vlans, and nothing would
change in marking or shaping. I use clients' IPs for marking,
and routing table cares about interfaces.
> We need to rethink how we do things. Theres a lot of valu in having per
> device tables (scalability being one).
> IMO, this alone does not justify the existence of IMQ.
I just can't think of a better abstraction that would handle my case.
> We should do this (and other things) right, maybe a sync with the
> netfilter folks will be the right thing to do.
>
~
:wq
With best regards,
Vladimir Savkin.
next prev parent reply other threads:[~2004-01-26 0:11 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-01-25 15:24 [RFC/PATCH] IMQ port to 2.6 Marcel Sebek
2004-01-25 16:44 ` Tomas Szepe
2004-01-25 19:22 ` jamal
2004-01-25 20:21 ` Vladimir B. Savkin
2004-01-25 23:45 ` jamal
2004-01-26 0:11 ` Vladimir B. Savkin [this message]
2004-01-26 3:09 ` jamal
2004-01-26 9:32 ` Vladimir B. Savkin
2004-01-26 13:38 ` jamal
2004-01-26 13:55 ` Vladimir B. Savkin
2004-01-26 14:29 ` jamal
2004-01-26 17:41 ` Vladimir B. Savkin
2004-01-27 3:25 ` jamal
2004-01-31 18:52 ` Vladimir B. Savkin
2004-01-31 20:26 ` jamal
2004-01-31 20:53 ` Vladimir B. Savkin
2004-01-31 21:25 ` jamal
2004-01-31 21:32 ` Vladimir B. Savkin
2004-01-31 21:49 ` jamal
2004-01-31 21:58 ` Vladimir B. Savkin
2004-01-31 22:26 ` jamal
2004-04-11 19:32 ` (Long) ANNOUNCE: IMQ replacement WAS(Re: " jamal
2004-01-26 15:24 ` Tomas Szepe
2004-01-27 3:14 ` jamal
2004-01-27 11:59 ` Tomas Szepe
2004-01-31 17:02 ` jamal
2004-01-25 19:25 ` David S. Miller
2004-01-25 20:23 ` Patrick McHardy
2004-01-25 21:55 ` David S. Miller
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=20040126001102.GA12303@usr.lcm.msu.ru \
--to=master@sectorb.msk.ru \
--cc=hadi@cyberus.ca \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@oss.sgi.com \
/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).