All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] quantity of qdisc
@ 2002-05-10  3:32 hanhbnetfilter
  2002-05-10  8:35 ` Stef Coene
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: hanhbnetfilter @ 2002-05-10  3:32 UTC (permalink / raw)
  To: lartc

if i have a lot of workstation to define bandwidth
the quantity of qdisc(class) is very large. the
performance will be impacted, please tell me how can i
improve performance.

_________________________________________________________
Do You Yahoo!? 
摊开你的掌心 让我看看你
http://sweepstakes.yahoo.com/2002cnuser
_______________________________________________
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] quantity of qdisc
  2002-05-10  3:32 [LARTC] quantity of qdisc hanhbnetfilter
@ 2002-05-10  8:35 ` Stef Coene
  2002-05-14  2:20 ` hanhbnetfilter
  2002-05-14  8:45 ` Stef Coene
  2 siblings, 0 replies; 4+ messages in thread
From: Stef Coene @ 2002-05-10  8:35 UTC (permalink / raw)
  To: lartc

On Friday 10 May 2002 05:32, hanhbnetfilter wrote:
> if i have a lot of workstation to define bandwidth
> the quantity of qdisc(class) is very large. the
> performance will be impacted, please tell me how can i
> improve performance.
If you want to give each host a class, you can not change the number of 
classes.  But you can make the filter part faster.  If you mark each host 
with a iptables mark, that mark is also the class of the host.  Very fast 
filtering, but you need also a lot of iptables rules.
There is also a WRR qdisc.  This qdisc will create for each host (or 
mac-address) it sess, a class and will assign some bandwidth to this class.  
Very easy if you have lot of hosts.

Stef

Btw, what are a lot of hosts?  1000, 10000, 100000, ... ?

-- 

stef.coene@docum.org
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.openprojects.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] quantity of qdisc
  2002-05-10  3:32 [LARTC] quantity of qdisc hanhbnetfilter
  2002-05-10  8:35 ` Stef Coene
@ 2002-05-14  2:20 ` hanhbnetfilter
  2002-05-14  8:45 ` Stef Coene
  2 siblings, 0 replies; 4+ messages in thread
From: hanhbnetfilter @ 2002-05-14  2:20 UTC (permalink / raw)
  To: lartc


Dear sir:
  There is a lot of work stations in my lan. Every one
should be seperate set bandwidth limit,so qdisc(class)
will be very large. 
  These workstations can be included in several
groups,iptables rule can be set and mark can be used
in filter,so class can be reduced,but in these groups
the member of the group still has itself bandwidth
limit.
  The quantity of qdisc(class) will impact the
performance.I do not know how much it impact.100 and 
200 or 500 must be different.
  which qdisc and class rules should i use? 
please tell me how can i do

hans
best regards
 --- Stef Coene <stef.coene@docum.org> 的正文:> On
Friday 10 May 2002 05:32, hanhbnetfilter wrote:
> > if i have a lot of workstation to define bandwidth
> > the quantity of qdisc(class) is very large. the
> > performance will be impacted, please tell me how
> can i
> > improve performance.
> If you want to give each host a class, you can not
> change the number of 
> classes.  But you can make the filter part faster. 
> If you mark each host 
> with a iptables mark, that mark is also the class of
> the host.  Very fast 
> filtering, but you need also a lot of iptables
> rules.
> There is also a WRR qdisc.  This qdisc will create
> for each host (or 
> mac-address) it sess, a class and will assign some
> bandwidth to this class.  
> Very easy if you have lot of hosts.
> 
> Stef
> 
> Btw, what are a lot of hosts?  1000, 10000, 100000,
> ... ?
> 
> -- 
> 
> stef.coene@docum.org
>  "Using Linux as bandwidth manager"
>      http://www.docum.org/
>      #lartc @ irc.openprojects.net 

_________________________________________________________
Do You Yahoo!? 
摊开你的掌心 让我看看你
http://sweepstakes.yahoo.com/2002cnuser
_______________________________________________
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] quantity of qdisc
  2002-05-10  3:32 [LARTC] quantity of qdisc hanhbnetfilter
  2002-05-10  8:35 ` Stef Coene
  2002-05-14  2:20 ` hanhbnetfilter
@ 2002-05-14  8:45 ` Stef Coene
  2 siblings, 0 replies; 4+ messages in thread
From: Stef Coene @ 2002-05-14  8:45 UTC (permalink / raw)
  To: lartc

On Tuesday 14 May 2002 04:20, hanhbnetfilter wrote:
> Dear sir:
>   There is a lot of work stations in my lan. Every one
> should be seperate set bandwidth limit,so qdisc(class)
> will be very large.
>   These workstations can be included in several
> groups,iptables rule can be set and mark can be used
> in filter,so class can be reduced,but in these groups
> the member of the group still has itself bandwidth
> limit.
>   The quantity of qdisc(class) will impact the
> performance.I do not know how much it impact.100 and
> 200 or 500 must be different.
>   which qdisc and class rules should i use?
> please tell me how can i do
HTB3 is still beta, but fast.  Even faster then CBQ.
For the filters, you can use one fw filter.  This filter will use the 
iptables mark direclty to find the class.  If you mark a packet with 9, it 
will end in class :9.  Very easy.  So all filter logic is in the iptables 
rules.  But you still have to create all the classes.

Or you can use the wrr qdisc (http://wipl-wrr.sourceforge.net).   This qdisc 
will create a class for each ip it sees.  So you don't need to create the 
classes and the filters yourself.

Stef
_______________________________________________
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:[~2002-05-14  8:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-10  3:32 [LARTC] quantity of qdisc hanhbnetfilter
2002-05-10  8:35 ` Stef Coene
2002-05-14  2:20 ` hanhbnetfilter
2002-05-14  8:45 ` Stef Coene

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.