wrr vs. htb

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Guys

I'm looking for some advice on the following situation:

We're serving a residential complex with internet, the network has
grown and with it has the problems, below is a descriptive layout of
our current setup:

Connection: ADSL
Down/Up speed: 512kbps/256kbps (1024kbps/256kbps in the near future)
2.0GHz Celeron D with 512MB RAM
Current users: 140
Maximum amount of users: 509

We're currently serving them with an HTB-based solution, but now it's
surfacing that some user on the network don't get shaped correctly.
They're current speed is calculated is follows:

Rate = 512 / number of users
Ceil = 128kbps

Some users never reach they're ceiling, and only remain on the rate.
I've checked, double checked and triple checked my scripts and
everything is OK. I've used the tc_graph.pl script to confirm my
scenario and everything is OK.

Currently there is one parent class, with 140 child classes (one for each user).

We're going to start providing some internal features to the users
like a community forum, web cam at the gates, audio chat, useful
downloads and anti-virus updates and e-mail on the server.

This means that there will be two subclasses of the parent class, one
for internet traffic and one for local traffic. This is by no means a
problem for me.

What bothers me is that this will be our new scenario:

                  LAN
                  /    \
             LOC    NET
                |          |
        140 C's      140 C's

I don't know how healthy this is, and I don't have a clue on how to
improve the performance or lessen the load on the box. I've also been
contemplating moving the setup to a WRR-based solution, but I'm not
too sure if WRR can equally share local and gateway traffic as
different 'flows'.

If possible, just share your thoughts on the best way to handle this
scenario with the 'dual' shaping, different speeds for traffic
originating from the network server and internet traffic flowing
through the server. The main emphasis is on equality, everyone on the
network needs to be happy.

Kind regards

-- 

Kenneth Kalmer
kenneth.kalmer@xxxxxxxxx

Folding@home stats
http://vspx27.stanford.edu/cgi-bin/main.py?qtype=userpage&username=kenneth%2Ekalmer
_______________________________________________
LARTC mailing list
LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc


[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux