All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] Thousands of classes, BW throttling and prioritizing??
@ 2002-10-04 11:12 Dare
  2002-10-05 19:14 ` Stef Coene
  2002-10-08 15:33 ` EGAL Vincent
  0 siblings, 2 replies; 3+ messages in thread
From: Dare @ 2002-10-04 11:12 UTC (permalink / raw)
  To: lartc

  Hello,

I need to limit the bandwidth to 1Mbit per user IP (and never give more) 
and inside of each 1Mbit prioritize minimum-delay traffic (video stream 
from specific servers, so I mangle TOS for packets from those). The 
problem is I need this for *thousands* of users. I am guessing thousands 
of classes are needed, but the question is, is this feasible? Could one 
machine ever handle this? How does this scale with either CBQ or HTB?

thanks,
Darko

ps. in more detail: I am trying to do this before (upstream) an ATM 
switch, which has the bw limit per user set. If I just prioritize the 
traffic before reaching the switch, other traffic still gets through and 
the switch is the one that drops the packets on its own, not knowing 
about my priorities. That's why I think I need to both shape and 
prioritize the traffic in the same point and while still on the IP level.

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [LARTC] Thousands of classes, BW throttling and prioritizing??
  2002-10-04 11:12 [LARTC] Thousands of classes, BW throttling and prioritizing?? Dare
@ 2002-10-05 19:14 ` Stef Coene
  2002-10-08 15:33 ` EGAL Vincent
  1 sibling, 0 replies; 3+ messages in thread
From: Stef Coene @ 2002-10-05 19:14 UTC (permalink / raw)
  To: lartc

On Friday 04 October 2002 13:12, Dare wrote:
>   Hello,
>
> I need to limit the bandwidth to 1Mbit per user IP (and never give more)
> and inside of each 1Mbit prioritize minimum-delay traffic (video stream
> from specific servers, so I mangle TOS for packets from those). The
> problem is I need this for *thousands* of users. I am guessing thousands
> of classes are needed, but the question is, is this feasible? Could one
> machine ever handle this? How does this scale with either CBQ or HTB?
I should go for htb.  And a perl of shell script to generate the commands :)

Stef
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [LARTC] Thousands of classes, BW throttling and prioritizing??
  2002-10-04 11:12 [LARTC] Thousands of classes, BW throttling and prioritizing?? Dare
  2002-10-05 19:14 ` Stef Coene
@ 2002-10-08 15:33 ` EGAL Vincent
  1 sibling, 0 replies; 3+ messages in thread
From: EGAL Vincent @ 2002-10-08 15:33 UTC (permalink / raw)
  To: lartc

Dare wrote:

>  Hello,
>
> I need to limit the bandwidth to 1Mbit per user IP (and never give 
> more) and inside of each 1Mbit prioritize minimum-delay traffic (video 
> stream from specific servers, so I mangle TOS for packets from those). 
> The problem is I need this for *thousands* of users. I am guessing 
> thousands of classes are needed, but the question is, is this 
> feasible? Could one machine ever handle this? How does this scale with 
> either CBQ or HTB?
>
> thanks,
> Darko
>
> ps. in more detail: I am trying to do this before (upstream) an ATM 
> switch, which has the bw limit per user set. If I just prioritize the 
> traffic before reaching the switch, other traffic still gets through 
> and the switch is the one that drops the packets on its own, not 
> knowing about my priorities. That's why I think I need to both shape 
> and prioritize the traffic in the same point and while still on the IP 
> level.
>
> _______________________________________________
> LARTC mailing list / LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
>
hi, if your switch has the bw limit per user set, perhaps you only need 
to set one  prio queue for minimum delay traffic.
if you prefer to shape to 1Mbit and have up to 1000 classes htb is 
certainly better to do this versus CBQ ; but feasibility will certainly 
depend on number of backlogged classes, the way you filter packets,  
kind of driver you use (interrupt mitigation )  average number of 
paquet/s and of course CPU frequency.
 

-- 
Vincent EGAL
Email : egal@ipanematech.com



_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-10-08 15:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-04 11:12 [LARTC] Thousands of classes, BW throttling and prioritizing?? Dare
2002-10-05 19:14 ` Stef Coene
2002-10-08 15:33 ` EGAL Vincent

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.