Solved

Equal distribution of bandwidth to proxy users

Posted on 2006-07-12
10
355 Views
Last Modified: 2010-03-17
Hi.

I have a Linux Red Hat (Fedora core 3) based environment, running Squid as proxy. Each is user is assigned an ID and Password for browsing.

Some of the users are consuming a lot more bandwidth than rest of the users.

I want a freeware software to equally distribute the available bandwidth between the users. Please mention the names and URLs of such software.

Thank you.
0
Comment
Question by:jazzzz20
  • 5
  • 2
10 Comments
 
LVL 14

Expert Comment

by:pablouruguay
ID: 17092859
check this how-to in section  limit per user with delay pools
http://www.faqs.org/docs/Linux-HOWTO/Bandwidth-Limiting-HOWTO.html

0
 
LVL 14

Accepted Solution

by:
pablouruguay earned 100 total points
ID: 17092871
or here with CBQ
0
 

Author Comment

by:jazzzz20
ID: 17093128
Hi pablouruguay.

I've already setup delay pools but they are not suitable in my case.

Assuming I have 1024Kbps of bandwidth and 2 users are using it then the bandwidth should be shared equally between these users as 512Kbps (50%) each. If another 2 users start using the internet then each user should get 256Kbps (25%) each.

Delay pools are not useful in this case, therefore I'm looking for a freeware software to manage this.
0
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 
LVL 14

Expert Comment

by:pablouruguay
ID: 17344156
CBQ is the answer for this question. i mentioned before.
0
 
LVL 25

Expert Comment

by:Cyclops3590
ID: 17344257
I know nothing about CBQ and really couldn't find much on it other than theory papers (probably was just not using the right keywords in my googling).  If you can elaborate on why CBQ will do what jazzzz20 is trying to accomplish, I'm sure the moderator will give you the points.  Just that I couldn't find any evidence in my searches denoting it would do the job in this scenario.

Thanks
0
 
LVL 14

Expert Comment

by:pablouruguay
ID: 17344300
the project talk for himself

http://freshmeat.net/projects/cbq.init/

is a software to manage bandwith for users or sites. i give 2 options a user level with squid and a bandwith more powerfull with CBQ.init
0
 
LVL 25

Expert Comment

by:Cyclops3590
ID: 17344411
Although I came across that link, I wasn't able to figure out if it was capable of doing what jazzzz20 was wanting:

>>Assuming I have 1024Kbps of bandwidth and 2 users are using it then the bandwidth should be shared equally between these users as >>512Kbps (50%) each. If another 2 users start using the internet then each user should get 256Kbps (25%) each.

If you say it will, then I definitely change my recommendation to accept your comment numbered 17093128.
0
 
LVL 14

Expert Comment

by:pablouruguay
ID: 17344447
yes and (i think so)... i think is the correct answer but i not 100% percent sure about it. and i dont have rigth now any cbq to test it.
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question