* [LARTC] Partial Isolation
@ 2002-02-22 4:26 Michael T. Babcock
2002-02-22 9:27 ` Martin Devera
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: Michael T. Babcock @ 2002-02-22 4:26 UTC (permalink / raw)
To: lartc
Lets say I wanted to allocate 50kbps to SSH traffic, but I didn't want
to set it all as isolated. What if I wanted to set aside 20k of that
as being isolated from other classes (either in HTB or CBQ), how would
I go about this, or is it even possible? Would I have to make the
normal class of 50k and then make a sub-class of 20 with the same
definition but isolated? Should this work?
root
\---1:1 SSH traffic (50k)
| \--11:1 SSH traffic (20k, isolated)
\---1:2 Other traffic (remaining)
I'm assuming that would prevent 1:2 from using any of 11:1's allotment,
but does this have any other adverse effects?
--
Michael T. Babcock
CTO, FibreSpeed Ltd. (Hosting, Security, Consultation, Database, etc)
http://www.fibrespeed.net/~mbabcock/
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [LARTC] Partial Isolation
2002-02-22 4:26 [LARTC] Partial Isolation Michael T. Babcock
@ 2002-02-22 9:27 ` Martin Devera
2002-02-22 10:21 ` Stef Coene
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Martin Devera @ 2002-02-22 9:27 UTC (permalink / raw)
To: lartc
Hi, for HTB you can do this as follows:
root (rate = 500k)
|
+-1:1 SSH leaf (rate = 50k, ceil = 500k)
|
\-1:2 other inner node (rate = 450k, ceil = 480k)
The ceil for second node will prevent it to use whole
bw and 20 is always reserved for 1:1's use.
See below for CBQ.
> Lets say I wanted to allocate 50kbps to SSH traffic, but I didn't want
> to set it all as isolated. What if I wanted to set aside 20k of that
> as being isolated from other classes (either in HTB or CBQ), how would
> I go about this, or is it even possible? Would I have to make the
> normal class of 50k and then make a sub-class of 20 with the same
> definition but isolated? Should this work?
>
> root
> \---1:1 SSH traffic (50k)
> | \--11:1 SSH traffic (20k, isolated)
> \---1:2 Other traffic (remaining)
Here you has problem. You can't assign traffic to 1:1, only
to 11:1 (is it another qdisc !?). Isolated class will not lend
its bw bot also will not borrow ! So that 50k from 1:1 will
never be reached.
I'm not sure whether it is solvable with CBQ.
devik
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [LARTC] Partial Isolation
2002-02-22 4:26 [LARTC] Partial Isolation Michael T. Babcock
2002-02-22 9:27 ` Martin Devera
@ 2002-02-22 10:21 ` Stef Coene
2002-02-22 10:50 ` Martin Devera
2002-02-22 13:25 ` Michael T. Babcock
3 siblings, 0 replies; 5+ messages in thread
From: Stef Coene @ 2002-02-22 10:21 UTC (permalink / raw)
To: lartc
On Friday 22 February 2002 10:27, you wrote:
> Hi, for HTB you can do this as follows:
> root (rate = 500k)
>
> +-1:1 SSH leaf (rate = 50k, ceil = 500k)
>
> \-1:2 other inner node (rate = 450k, ceil = 480k)
If you do this :
1:1 rate 500k, ceil = 500k
+-1:10 SSH leaf (rate = 20k, ceil = 500k)
\-1:20 other inner node (rate = 480k, ceil = 500k)
You will end up that ssh will have at least 20k, if it's not using that
bandwidth, 1:20 can use it. So ssh has a guaranteed bandwidth of 20k.
Stef
>
> The ceil for second node will prevent it to use whole
> bw and 20 is always reserved for 1:1's use.
> See below for CBQ.
>
> > Lets say I wanted to allocate 50kbps to SSH traffic, but I didn't want
> > to set it all as isolated. What if I wanted to set aside 20k of that
> > as being isolated from other classes (either in HTB or CBQ), how would
> > I go about this, or is it even possible? Would I have to make the
> > normal class of 50k and then make a sub-class of 20 with the same
> > definition but isolated? Should this work?
> >
> > root
> > \---1:1 SSH traffic (50k)
> >
> > | \--11:1 SSH traffic (20k, isolated)
> >
> > \---1:2 Other traffic (remaining)
>
> Here you has problem. You can't assign traffic to 1:1, only
> to 11:1 (is it another qdisc !?). Isolated class will not lend
> its bw bot also will not borrow ! So that 50k from 1:1 will
> never be reached.
> I'm not sure whether it is solvable with CBQ.
> devik
>
> _______________________________________________
> LARTC mailing list / LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/
--
stef.coene@docum.org
More QOS info : http://www.docum.org/
Title : "Using Linux as bandwidth manager"
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [LARTC] Partial Isolation
2002-02-22 4:26 [LARTC] Partial Isolation Michael T. Babcock
2002-02-22 9:27 ` Martin Devera
2002-02-22 10:21 ` Stef Coene
@ 2002-02-22 10:50 ` Martin Devera
2002-02-22 13:25 ` Michael T. Babcock
3 siblings, 0 replies; 5+ messages in thread
From: Martin Devera @ 2002-02-22 10:50 UTC (permalink / raw)
To: lartc
> > Hi, for HTB you can do this as follows:
> > root (rate = 500k)
> >
> > +-1:1 SSH leaf (rate = 50k, ceil = 500k)
> > \-1:2 other inner node (rate = 450k, ceil = 480k)
> If you do this :
>
> 1:1 rate 500k, ceil = 500k
> +-1:10 SSH leaf (rate = 20k, ceil = 500k)
> \-1:20 other inner node (rate = 480k, ceil = 500k)
>
> You will end up that ssh will have at least 20k, if it's not using that
> bandwidth, 1:20 can use it. So ssh has a guaranteed bandwidth of 20k.
True. But not sure if relevant. Michael asked how to assign 50k
for ssh but to make sure that 20 of it is not used by other classes
even if it is unused (If I understood him correctly ;)
devik
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [LARTC] Partial Isolation
2002-02-22 4:26 [LARTC] Partial Isolation Michael T. Babcock
` (2 preceding siblings ...)
2002-02-22 10:50 ` Martin Devera
@ 2002-02-22 13:25 ` Michael T. Babcock
3 siblings, 0 replies; 5+ messages in thread
From: Michael T. Babcock @ 2002-02-22 13:25 UTC (permalink / raw)
To: lartc
On Fri, Feb 22, 2002 at 11:50:20AM +0100, Martin Devera wrote:
> > You will end up that ssh will have at least 20k, if it's not using that
> > bandwidth, 1:20 can use it. So ssh has a guaranteed bandwidth of 20k.
>
> True. But not sure if relevant. Michael asked how to assign 50k
> for ssh but to make sure that 20 of it is not used by other classes
> even if it is unused (If I understood him correctly ;)
Yes, thank-you both.
--
Michael T. Babcock
CTO, FibreSpeed Ltd. (Hosting, Security, Consultation, Database, etc)
http://www.fibrespeed.net/~mbabcock/
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2002-02-22 13:25 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-02-22 4:26 [LARTC] Partial Isolation Michael T. Babcock
2002-02-22 9:27 ` Martin Devera
2002-02-22 10:21 ` Stef Coene
2002-02-22 10:50 ` Martin Devera
2002-02-22 13:25 ` Michael T. Babcock
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.