[Ilugc] reg bandwidth control

  • From: girish1729@xxxxxxxxx (Girish Venkatachalam)
  • Date: Wed Jul 26 17:59:22 2006



--- Chakkaradeep C C <chaks.yoper@xxxxxxxxx> wrote:

Hi all,

How to control bandwidth for differernt types of
users ?

Say,for example, User A needs to be given 64
kbps,User B needs to be given
128 kbps.
AFAIK it is impossible to do that in any modern OS.

However using a certain concept called CBQ or
hierarchical token bucket "qdisc" discpline, you can
achieve some QOS. Technically referred to as traffic
shaping.

But mind you; you only shape the "egress" traffic or
outgoing packets along the lines of the bandwidth
throttling code u find in FTP or HTTP.

It is much harder to shape ingress flows. And to get
it right both ways... Well I am sure you get the
drift.

All this is feasible only on different machines. A lot
of efforts should go in to make it work with different
users like the file quotas. 

Since networking code is in the kernel and does not
see users on top.

That said, it is trivial of course to work around this
and achieve what you want by simply associating
certain users with certain machines. :-)

You can find a truly fasctinating description of these
things in the advanced routing howto here

http://lartc.org

Enjoy!

As an aside in *BSD you have ALTQ which has
implemented  nearly everything got to do with QOS like
Intserv, Diffserv, MPLS what not. Take a look at that
too. I haven't yet got time to play with it yet. But
they are the pioneers; so it shud certainly be good.

regards,
Girish

Thank You.

-- 
Regards,
C.C.Chakkaradeep,
Novatium Solutions Limited,Chennai.
http://www.novatium.com
http://www.yoper.com

http://wiki.freespire.org/index.php/Freespire_Community_Board_Home

--
"Sometimes it's better not to ask - or to listen -
when people tell you
something can't be done. I didnt ask for permission
or approval. I just went
ahead and did it."  - from "Direct from Dell"
_______________________________________________
To unsubscribe, email ilugc-request@xxxxxxxxxxxxx
with 
"unsubscribe <password> <address>"
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com ;

Other related posts: