Search squid archive

squid 2.7 / 3.0 : delay pools

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux