LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-23-2008, 07:59 AM   #1
sniffer_raghav
Member
 
Registered: Oct 2007
Posts: 34

Rep: Reputation: 15
Question bandwidth control


sir,
i am using squid as a proxy server in our college .
to control bandwidth i m using delay pool in it .it is working but problem is that initailly download limit is good but suddenly it goes down and becomes slow.i m unable to diagonasis the problem .
please help me out ....

thanking you in advance ...............
 
Old 05-23-2008, 08:03 AM   #2
sunethj
Member
 
Registered: Nov 2006
Posts: 97

Rep: Reputation: 16
can you please elaborate
Quote:
"initailly download limit is good but suddenly it goes down and becomes slow"
.

which type of delay pools you are using? if you are using class 1 delay pool then even you have limited bandwidth per user large number of users can easily slow down a link. in that case try using the delay pool class 2 and see.
 
Old 06-23-2008, 04:52 PM   #3
sniffer_raghav
Member
 
Registered: Oct 2007
Posts: 34

Original Poster
Rep: Reputation: 15
Question

Quote:
Originally Posted by sunethj View Post
can you please elaborate .

which type of delay pools you are using? if you are using class 1 delay pool then even you have limited bandwidth per user large number of users can easily slow down a link. in that case try using the delay pool class 2 and see.
as you suggested i tried delay pool 2 and delay pool 3.
but the problem is not yet solved i m not able to utilise the bandwith properly even if number of users are very less.
please help me out ......

sugges me any method how to solve dis problem.
 
Old 06-23-2008, 10:40 PM   #4
sunethj
Member
 
Registered: Nov 2006
Posts: 97

Rep: Reputation: 16
can you please post the link speed, number of users you have and the bandwidth allocations for each user
 
Old 06-24-2008, 05:05 AM   #5
sniffer_raghav
Member
 
Registered: Oct 2007
Posts: 34

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by sunethj View Post
can you please post the link speed, number of users you have and the bandwidth allocations for each user
thank you 4 your reply.......

in our college we are having around 3000 users and we have a link of 8Mbps and we are allocating 64Kbps to each user .
 
Old 06-24-2008, 06:20 AM   #6
sunethj
Member
 
Registered: Nov 2006
Posts: 97

Rep: Reputation: 16
from the given numbers i think around 100-120 concurrent users can use the total bandwidth (even with the bandwidth restrictions) and i have never handled a network of this scale. hope some on with similar experience will help us.
 
Old 06-25-2008, 01:21 PM   #7
rossonieri#1
Member
 
Registered: Jun 2007
Posts: 359

Rep: Reputation: 34
hi raghav,

Quote:
in our college we are having around 3000 users and we have a link of 8Mbps and we are allocating 64Kbps to each user .
nope - i dont think that doesnt have too much co-relation with the delay class (although it is up to you to configure it).

i think that 64kbps was way over too high.
with the assumption 1:1 compression (that is all of your client accessing your proxy) the maximum limit is only about 2.6Kbps - just dont rely too much on what your proxy has been cached - or you can try to start using parent proxy.

try with 1:3 compression - so that would be 2.6K*3 = 8Kbps perclient.

i usually set a minimum amount 1:6 compression of total BW (normal).

HTH.
 
Old 06-26-2008, 01:55 PM   #8
sniffer_raghav
Member
 
Registered: Oct 2007
Posts: 34

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by rossonieri#1 View Post
hi raghav,



nope - i dont think that doesnt have too much co-relation with the delay class (although it is up to you to configure it).

i think that 64kbps was way over too high.
with the assumption 1:1 compression (that is all of your client accessing your proxy) the maximum limit is only about 2.6Kbps - just dont rely too much on what your proxy has been cached - or you can try to start using parent proxy.

try with 1:3 compression - so that would be 2.6K*3 = 8Kbps perclient.

i usually set a minimum amount 1:6 compression of total BW (normal).

HTH.
actually the problem with using delay pool is that users are unable to use complete bandwidth allocated to them .even if the number of users are very low . as you mentioned i have configured it for 1:3 after seeing that problem but now also i am not able to solve it .
i have tried all the delay class 1 2 3 .
is it the case if we use delay pool we cannot use complete width if not then what is d problem please reply.
thanking you in advance........
 
Old 06-27-2008, 12:58 AM   #9
rossonieri#1
Member
 
Registered: Jun 2007
Posts: 359

Rep: Reputation: 34
hi raghav,

OK - pls post your delay pool + class config - let us see how you work with it.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
In search of a cost-control app for 3g/GPRS - bandwidth control and limiting per app motin Linux - Software 0 09-07-2006 06:50 AM
Bandwidth Control raksdel Linux - Networking 6 07-01-2006 05:33 AM
Bandwidth Control satish Linux - Networking 5 06-07-2006 09:35 AM
Bandwidth control nOw Linux - Networking 3 09-16-2004 05:11 PM
Bandwidth Control maksly Linux - General 2 05-07-2004 06:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration