Re: [squid-users] squid 2.7 / 3.0 : delay pools

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Thu, 04 Jun 2009 23:56:11 +1200

Fabien Seisen wrote:
> Hi,
>
> i am trying the following delay pool settings:
> ===================
> maximum_object_size 0 KB
>
> delay_pools 2
>
> # default pool, full power
> delay_class 1 1
> delay_parameters 1 -1/-1
> delay_access 1 allow from_evil
> delay_access 1 deny all
>
> # pool 500 B/s
> # match csdev/adbdev
> delay_class 2 2
> delay_parameters 2 -1/-1 500/12000
> delay_access 2 allow all
> ===================
>
> ie. 12kB bucket and 500B/s
>
> 1) with 2.7 STABLE6, squid is performing correctly, the 12kB burst is
> there, and 500B/s limition too.
> The bucket goes negative but never less than -5.
>
> $ ab -c 3 -n 20 http://test/test-1K.data
> Requests per second: 1.08 [#/sec] (mean)
> Transfer rate: 0.91 [Kbytes/sec] received
>
> => more than 0.5 KB/s but the bucket was not empty
>
>
> 2) with 3.0 STABLE15 and 512kB file, i can query as much as i want and
> the Current counter goes mad.
>
> $ ab -c 3 -n 300 http://test/test-512.data
> Requests per second: 694.01 [#/sec] (mean)
> Transfer rate: 667.80 [Kbytes/sec] received
>
> $ ab -c 3 -n 300 http://test/test-1K.data
> Requests per second: 744.40 [#/sec] (mean)
> Transfer rate: 564.28 [Kbytes/sec] received
>
>
> from cachemgr.cgi:
> ===================
> Pool: 2
> Class: 2
>
> Aggregate:
> Disabled.
>
>
> Individual:
> Max: 12000
> Restore: 500
> Current: 11:-257223
> ===================
>
>
> Question: did i missed a parameter ?
>
> --
> Fabien

http://www.squid-cache.org/bugs/show_bug.cgi?id=2606

If you can assist with tracking this one down it would be a great help.
First thing to do there is check whether it still exists in 3.1
snapshots as well.

It may also require some trolling through a debug_options ALL,9 if you
are able to generate one from your test case.

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE6 or 3.0.STABLE15
   Current Beta Squid 3.1.0.8 or 3.0.STABLE16-RC1
Received on Thu Jun 04 2009 - 11:56:17 MDT

This archive was generated by hypermail 2.2.0 : Fri Jun 05 2009 - 12:00:02 MDT