RE: [squid-users] Delay Pools Question

This is a discussion on RE: [squid-users] Delay Pools Question within the Squid Users forums, part of the Web Server and Related Forums category; --- Henrik Nordstrom <hno@squid-cache.org> wrote: > > What happens is that the users are constrained by &...


Go Back   Usenet Forums > Web Server and Related Forums > Squid Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-16-2003
zulkarnain
 
Posts: n/a
Default RE: [squid-users] Delay Pools Question

--- Henrik Nordstrom <hno@squid-cache.org> wrote:
>
> What happens is that the users are constrained by
> all the constraints
> set for a pool.
>
> Global limit (class 1,2,3)
> Network limit (class 3)
> User limit (class 2,3)
>
> When multiple users are contenting for a higher
> level limit (network or
> global) Squid attempts to distribute the available
> bandwidth of that
> level more or less evenly among the users who demand
> it. As a
> consequence having significantly larger bucket sizes
> than the refill
> rate mostly makes sense on user buckets. So if you
> have a network limit
> of 30KBps and a user limit of 8Kbps then no user
> will be able to get
> more than 8KBps and each network will not be able to
> get more than
> 30KBps. If there is a demand for more than 30KBps in
> total from the same
> network then the available bandwidth (30KBps) will
> be distributed among
> the users who demand the bandwidth.
>


Based on these info, I'm trying to convert class 2
delay pools to class 3 delay pools to meet above
requirements;


--Begin class 2 delay pools-->

delay_pools 1
delay_class 1 2
# 384 kbps max for the group, 10kbps for each user.
delay_parameters 1 48000/48000 1250/1250
# ACLs to apply to the delay pools
acl lowspeed src 192.168.1.1-192.168.1.192
delay_access 1 allow lowspeed
delay_access 1 deny all

<--End--


The changes are;

--Begin class 3 delay pools -->

delay_pools 1
delay_class 1 3
# 384 kbps max for the group, 10kbps for each user.
delay_parameters 1 48000/48000 48000/48000 1250/48000
# ACLs to apply to the delay pools
acl lowspeed src 192.168.1.1-192.168.1.192
delay_access 1 allow lowspeed
delay_access 1 deny all

<--End--


is it correct?

regards,
sizulku


__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 04:08 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0