Re: [squid-users] Delay Pool

From: Wennie V. Lagmay <wlagmay@dont-contact.us>
Date: Wed, 20 Apr 2005 08:06:12 +0300

Thank you Henrik and Dev, I was able to configure it.

acl all src 0.0.0.0/0.0.0.0
acl ipaddr1 src 192.168.10.0/255.255.255.0
acl ipaddr2 src 192.168.11.0/255.255.255.0

delay_pools 1
    delay_class 1 3
        delay_access 1 allow ipaddr1
        delay_access 1 allow ipaddr2
        delay_access 1 deny all
         delay_parameters 1 128000/128000 -1/-1 2000/8000

With the above config, I'm telling that the total bandwidth is 1Mbps, per IP
block has no limit and per IP address have a commited rate of 16kbps (when
the network is busy) and 64 kbps (when the network is not busy). My
objective is for every client to have 64000 bits of bandwidth but as the
number of clients grows it will decrease to 16000bits but it is guaranteed.

Did I wrote it the correct way? Thank you very much any comment or
suggestion is highly appreciated.

Wennie

----- Original Message -----
From: "Henrik Nordstrom" <hno@squid-cache.org>
To: "dev singh" <dev.pratap@gmail.com>
Cc: "Wennie V. Lagmay" <wlagmay@yanbulink.net>; "squid-users @
squid-cache.org" <squid-users@squid-cache.org>
Sent: Wednesday, April 20, 2005 2:05 AM
Subject: Re: [squid-users] Delay Pool

>
>
> On Tue, 19 Apr 2005, dev singh wrote:
>
> > Hi Wenni,
> >
> > U don need do disable http_access parameter , they both work
simultaneoulsy
>
> No, not at all.
>
> http_access MUST NOT be disabled only because you start using
> delay_access. The two directives have very different function.
>
> If you disable your http_access rules then there won't be any access
> controls on your proxy.
>
> delay_access is NOT about access controls, only which delay pool the
> request should be placed into, if any.
>
> Regards
> Henrik
>
Received on Tue Apr 19 2005 - 23:06:51 MDT

This archive was generated by hypermail pre-2.1.9 : Sun May 01 2005 - 12:00:04 MDT