* [LARTC] Shaping traffic by flows
@ 2003-05-13 16:47 Michael Ulitskiy
2003-05-13 17:15 ` Stef Coene
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Michael Ulitskiy @ 2003-05-13 16:47 UTC (permalink / raw)
To: lartc
Hi,
I'm not sure if this question already came up in this list, but
I seem to be unable to find an answer for it.
I have a server and a few thousand of clients that can access
the server. I would like to setup a traffic shaping such a way
that each particulat client is given a particular bandwith.
Let's say each client (clients differentiated by ip address) is
allowed to use no more than 100kbit of download bandwith.
So it is my understanding that traffic should be differentiated
by flows and each flow should be given a particular bandwith
with any queueing discipline available. The question is how to
do it.
I can't figure out a way to accomplish it except writing thousands
of filtering rules for each ip and also thousands classes for them.
I probably can use hashing filters but it wouldn't eliminate
thousands of classes each with the same shaping rate.
So once again the question is whether it's possible to shape each
flow from a particular ip range to the particular rate?
Thanks everybody.
Michael
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [LARTC] Shaping traffic by flows
2003-05-13 16:47 [LARTC] Shaping traffic by flows Michael Ulitskiy
@ 2003-05-13 17:15 ` Stef Coene
2003-05-13 18:28 ` Michael Ulitskiy
2003-05-13 20:13 ` Matias Bjorling
2 siblings, 0 replies; 4+ messages in thread
From: Stef Coene @ 2003-05-13 17:15 UTC (permalink / raw)
To: lartc
On Tuesday 13 May 2003 18:47, Michael Ulitskiy wrote:
> Hi,
>
> I'm not sure if this question already came up in this list, but
> I seem to be unable to find an answer for it.
> I have a server and a few thousand of clients that can access
> the server. I would like to setup a traffic shaping such a way
> that each particulat client is given a particular bandwith.
> Let's say each client (clients differentiated by ip address) is
> allowed to use no more than 100kbit of download bandwith.
> So it is my understanding that traffic should be differentiated
> by flows and each flow should be given a particular bandwith
> with any queueing discipline available. The question is how to
> do it.
> I can't figure out a way to accomplish it except writing thousands
> of filtering rules for each ip and also thousands classes for them.
> I probably can use hashing filters but it wouldn't eliminate
> thousands of classes each with the same shaping rate.
> So once again the question is whether it's possible to shape each
> flow from a particular ip range to the particular rate?
Not without creating a lot of classes. You can try the wrr qdisc :
http://wipl-wrr.sourceforge.net/
It creates 1 class for each ip-addres (or mac-address) it sees.
Stef
--
stef.coene@docum.org
"Using Linux as bandwidth manager"
http://www.docum.org/
#lartc @ irc.oftc.net
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [LARTC] Shaping traffic by flows
2003-05-13 16:47 [LARTC] Shaping traffic by flows Michael Ulitskiy
2003-05-13 17:15 ` Stef Coene
@ 2003-05-13 18:28 ` Michael Ulitskiy
2003-05-13 20:13 ` Matias Bjorling
2 siblings, 0 replies; 4+ messages in thread
From: Michael Ulitskiy @ 2003-05-13 18:28 UTC (permalink / raw)
To: lartc
> > So once again the question is whether it's possible to shape each
> > flow from a particular ip range to the particular rate?
> Not without creating a lot of classes. You can try the wrr qdisc :
> http://wipl-wrr.sourceforge.net/
> It creates 1 class for each ip-addres (or mac-address) it sees.
>
> Stef
Thanks.
I'm not quite clear whether wrr creates classes automatically or
$MAX_CLASSES classes created at startup and then wrr just choose
wich one to use according to its internal classification?
Looks like the latter according to example script. If so, is this really the
best option available?
If wrr does create classes automatically, I don't seem to be able to figure out
how to specify which queue discipline should be attached to created classes.
Thanks again for your help.
Michael
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [LARTC] Shaping traffic by flows
2003-05-13 16:47 [LARTC] Shaping traffic by flows Michael Ulitskiy
2003-05-13 17:15 ` Stef Coene
2003-05-13 18:28 ` Michael Ulitskiy
@ 2003-05-13 20:13 ` Matias Bjorling
2 siblings, 0 replies; 4+ messages in thread
From: Matias Bjorling @ 2003-05-13 20:13 UTC (permalink / raw)
To: lartc
Hey
I'm developing a script which can set up rules for the clients by cbq and
htb.
Which create all the rules and such.
Write back if you want to be notified when i have a working version
Regards
Matias Bjorling
----- Original Message -----
From: "Michael Ulitskiy" <mdu113@acedsl.com>
To: <lartc@mailman.ds9a.nl>
Sent: Tuesday, May 13, 2003 8:28 PM
Subject: Re: [LARTC] Shaping traffic by flows
> > > So once again the question is whether it's possible to shape each
> > > flow from a particular ip range to the particular rate?
> > Not without creating a lot of classes. You can try the wrr qdisc :
> > http://wipl-wrr.sourceforge.net/
> > It creates 1 class for each ip-addres (or mac-address) it sees.
> >
> > Stef
>
> Thanks.
> I'm not quite clear whether wrr creates classes automatically or
> $MAX_CLASSES classes created at startup and then wrr just choose
> wich one to use according to its internal classification?
> Looks like the latter according to example script. If so, is this really
the
> best option available?
> If wrr does create classes automatically, I don't seem to be able to
figure out
> how to specify which queue discipline should be attached to created
classes.
> Thanks again for your help.
>
> Michael
> _______________________________________________
> LARTC mailing list / LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-05-13 20:13 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-13 16:47 [LARTC] Shaping traffic by flows Michael Ulitskiy
2003-05-13 17:15 ` Stef Coene
2003-05-13 18:28 ` Michael Ulitskiy
2003-05-13 20:13 ` Matias Bjorling
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.