* Re: [LARTC] Proportionate sharing of excess bandwidth: still no go
2003-08-01 14:34 [LARTC] Proportionate sharing of excess bandwidth: still no go Raj Mathur
@ 2003-08-01 15:13 ` Martin A. Brown
2003-08-01 15:34 ` Raj Mathur
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: Martin A. Brown @ 2003-08-01 15:13 UTC (permalink / raw)
To: lartc
Hi Raj,
: I tried the recommendations of people on this list and tried tweaking
: the QUANTUM values in my HTB configuration, but still have the problem
: of the excess bandwidth not being shared proportionately between
: different pools.
Could you tell us which interface is your "transmit to the Internet"
interface?
I speculate that you are shaping your upload bandwidth, not your download
bandwidth. If my speculation is correct, perhaps you could try using the
same traffic control configuration on both devices (eth0 ? and eth1).
What happens then?
: Am enclosing the set of tc commands I'm using to generate the pools.
: The values have been desperately tweaked for some 4 hours, so some of
: them may look a bit funny.
Your quantum setting seems awfully high to me. I'd recommend removing any
reference to quantum before trying again.
: Basically what I'm trying to achieve is that when PCs in (e.g.) 1:4 and
: 1:5 try downloading at top speed, they should get bandwidths in ratio
: of their rates, in a 64:100 proportion. However, what actually happens
: is that the 256Kbps downlink is shared equally between both the
: classes.
Seems reasonable.
Best of luck,
-Martin
--
Martin A. Brown --- SecurePipe, Inc. --- mabrown@securepipe.com
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: [LARTC] Proportionate sharing of excess bandwidth: still no go
2003-08-01 14:34 [LARTC] Proportionate sharing of excess bandwidth: still no go Raj Mathur
2003-08-01 15:13 ` Martin A. Brown
@ 2003-08-01 15:34 ` Raj Mathur
2003-08-01 15:41 ` Stef Coene
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: Raj Mathur @ 2003-08-01 15:34 UTC (permalink / raw)
To: lartc
Hi Martin,
>>>>> "Martin" = Martin A Brown <mabrown-lartc@securepipe.com> writes:
Raj> : I tried the recommendations of people on this list
Raj> and tried tweaking : the QUANTUM values in my HTB
Raj> configuration, but still have the problem : of the excess
Raj> bandwidth not being shared proportionately between :
Raj> different pools.
Martin> Could you tell us which interface is your "transmit to the
Martin> Internet" interface?
Martin> I speculate that you are shaping your upload bandwidth,
Martin> not your download bandwidth. If my speculation is
Martin> correct, perhaps you could try using the same traffic
Martin> control configuration on both devices (eth0 ? and eth1).
Martin> What happens then?
This is for the `internal' (LAN) interface, eth1, which shapes
incoming traffic. I'm running similar commands on the `external'
(WAN) interface, eth0, for shaping outbound traffic. Not too
concerned about aspect, so omitted in the interests of brevity.
Raj> : Am enclosing the set of tc commands I'm using to generate
Raj> the pools. : The values have been desperately tweaked for
Raj> some 4 hours, so some of : them may look a bit funny.
Martin> Your quantum setting seems awfully high to me. I'd
Martin> recommend removing any reference to quantum before trying
Martin> again.
Originally it was something like 1500, 3000 and 6000 :) Like I said,
I was fooling around with the values to see if it made any difference
at all -- as you can guess, it didn't.
Martin> [snip]
Regards,
-- Raju
--
Raj Mathur raju@kandalaya.org http://kandalaya.org/
GPG: 78D4 FC67 367F 40E2 0DD5 0FEF C968 D0EF CC68 D17F
It is the mind that moves
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: [LARTC] Proportionate sharing of excess bandwidth: still no go
2003-08-01 14:34 [LARTC] Proportionate sharing of excess bandwidth: still no go Raj Mathur
2003-08-01 15:13 ` Martin A. Brown
2003-08-01 15:34 ` Raj Mathur
@ 2003-08-01 15:41 ` Stef Coene
2003-08-01 15:57 ` Raj Mathur
2003-08-02 8:08 ` Stef Coene
4 siblings, 0 replies; 6+ messages in thread
From: Stef Coene @ 2003-08-01 15:41 UTC (permalink / raw)
To: lartc
On Friday 01 August 2003 17:13, Martin A. Brown wrote:
> Hi Raj,
>
> : I tried the recommendations of people on this list and tried tweaking
> : the QUANTUM values in my HTB configuration, but still have the problem
> : of the excess bandwidth not being shared proportionately between
> : different pools.
>
> Could you tell us which interface is your "transmit to the Internet"
> interface?
>
> I speculate that you are shaping your upload bandwidth, not your download
> bandwidth. If my speculation is correct, perhaps you could try using the
> same traffic control configuration on both devices (eth0 ? and eth1).
> What happens then?
>
> : Am enclosing the set of tc commands I'm using to generate the pools.
> : The values have been desperately tweaked for some 4 hours, so some of
> : them may look a bit funny.
>
> Your quantum setting seems awfully high to me. I'd recommend removing any
> reference to quantum before trying again.
Better, remove burst, cburst and quantum.
And remove the sfq qdiscs and add 3 fifo qdiscs.
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] 6+ messages in thread* Re: [LARTC] Proportionate sharing of excess bandwidth: still no go
2003-08-01 14:34 [LARTC] Proportionate sharing of excess bandwidth: still no go Raj Mathur
` (2 preceding siblings ...)
2003-08-01 15:41 ` Stef Coene
@ 2003-08-01 15:57 ` Raj Mathur
2003-08-02 8:08 ` Stef Coene
4 siblings, 0 replies; 6+ messages in thread
From: Raj Mathur @ 2003-08-01 15:57 UTC (permalink / raw)
To: lartc
Hi Stef,
>>>>> "Stef" = Stef Coene <stef.coene@docum.org> writes:
Stef> [snip]
Stef> Better, remove burst, cburst and quantum. And remove the
Stef> sfq qdiscs and add 3 fifo qdiscs.
Can do that, but will it permit the PCs in each pool to share the
bandwidth available to that pool equitably?
Regards,
-- Raju
--
Raj Mathur raju@kandalaya.org http://kandalaya.org/
GPG: 78D4 FC67 367F 40E2 0DD5 0FEF C968 D0EF CC68 D17F
It is the mind that moves
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: [LARTC] Proportionate sharing of excess bandwidth: still no go
2003-08-01 14:34 [LARTC] Proportionate sharing of excess bandwidth: still no go Raj Mathur
` (3 preceding siblings ...)
2003-08-01 15:57 ` Raj Mathur
@ 2003-08-02 8:08 ` Stef Coene
4 siblings, 0 replies; 6+ messages in thread
From: Stef Coene @ 2003-08-02 8:08 UTC (permalink / raw)
To: lartc
On Friday 01 August 2003 17:56, Raj Mathur wrote:
> Hi Stef,
>
> >>>>> "Stef" = Stef Coene <stef.coene@docum.org> writes:
>
> Stef> [snip]
>
> Stef> Better, remove burst, cburst and quantum. And remove the
> Stef> sfq qdiscs and add 3 fifo qdiscs.
>
> Can do that, but will it permit the PCs in each pool to share the
> bandwidth available to that pool equitably?
No. But the sfq will do that neither. You need the esfq qdisc to do that.
See http://www.docum.org/stef.coene/qos/faq/cache/38.html
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] 6+ messages in thread