Link to home
Start Free TrialLog in
Avatar of jazzzz20
jazzzz20

asked on

Equal distribution of bandwidth to proxy users

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.
Avatar of Pablo Allietti
Pablo Allietti
Flag of Uruguay image

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

ASKER CERTIFIED SOLUTION
Avatar of Pablo Allietti
Pablo Allietti
Flag of Uruguay image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jazzzz20
jazzzz20

ASKER

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.
CBQ is the answer for this question. i mentioned before.
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
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
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.
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.