[squid-users] Delay Pools or Traffic Shaping per port?!

Antony Stone Antony.Stone at squid.open.source.it
Sun Jan 3 11:50:39 UTC 2016


On Sunday 03 January 2016 at 12:35:10, Christian Kunkel wrote:

> > Am 03.01.2016 um 10:13 schrieb Antony Stone:
> > 
> > How many users do you have?
> 
> i wanted to put about 200-500 users on a server. is that possible?

Certainly no problem for Squid, and I guess you could assign that number of 
separate listening ports for use one per user, but I'll let someone who knows 
more about Squid's internals for such an unusual setup comment on that if 
needed.

> > - are you trying to limit the *inbound* bandwidth to Squid per user, or
> > the *outbound* bandwidth from Squid to each user?
> 
> i want to limit the bandwidth. lets say user has 50mbit but i want him only
> to use 10mbit.

So, that's the outbound bandwidth from Squid to the user, then?  You don't 
mind if Squid fetches the requested content faster than that if it can, and 
then feeds it to the user no faster than 10Mbps?

Is this limit true for all users - ie: is there a single bandwidth limit you 
want to apply to all users, or are you trying to set different limits for 
different users?

> > - what's the primary reason for wanting to restrict the bandwidth per
> > user?
> 
> server has not unlimited speed. better control of the server bandwidth.

What total bandwidth are you dealing with?
What's the server load when it runs into problems?
How many concurrent user sessions do you have when the problems occur?
What are the effects of the problems you're having?

Is there any reason you can't use authentication to identify different users?

What stops users "investigating" the system, and finding out they can get extra 
bandwidth by using ports which haven't been assigned to them?



Regards,


Antony.

-- 
If you were ploughing a field, which would you rather use - two strong oxen or 
1024 chickens?

 - Seymour Cray, pioneer of supercomputing

                                                   Please reply to the list;
                                                         please *don't* CC me.


More information about the squid-users mailing list