[squid-users] Dynamic delay pools again

From: laurentiu r <coldstone@dont-contact.us>
Date: Wed, 15 Feb 2006 22:39:33 +0200

  Hello all,
  One more thing on the dynamic delay pool thing: I've tried the patch
  from the mail archive but it doesn't seem to be working ;( Not even
  with class 3 delay pools!
  You can find the threads about that patch in the mail archive at
  http://www.squid-cache.org/mail-archive/squid-users/200510/0280.html ,
  and
  http://www.squid-cache.org/mail-archive/squid-users/200510/0320.html

  The build went just fine after patching those files (though I'm using
  Squid2.5Stable12). Then I made a simple test with two hosts, each
  mapped to a class 3 delay pool. Here are the relevant lines:

#the alcs:
acl pc_01 src 192.168.90.100/255.255.255.255
acl pc_02 src 192.168.90.101/255.255.255.255

http_access allow pc_01
http_access allow pc_02
http_access deny all

#the delay pools:
delay_pools 2
delay_class 1 3
delay_class 2 3

delay_parameters 1 64000/64000 64000/64000 64000/64000
delay_parameters 2 2000/2000 2000/2000 2000/2000

delay_access 1 allow pc_01
delay_access 1 deny all

delay_access 2 allow pc_02
delay_access 2 deny all

  (The delay parameters for host, network, and aggregate buckets are
  equal for a pool since the test included only one host for each pool)

  Then I started 2 downloads from the same web server, one download in
  each client (pc_01, pc_02). The rates adjusted just fine, exactly as
  in the configs, but when I stopped the download on pc_01 (the faster
  download) the download rate on the other pc remained unchanged
  (approx. 2KB/s). Shouldn't it adapt and "borrow" some tokens from the
  unused buckets in the other pool? Isn't this the feature that dynamic
  delay pools provide?
  Could it be a problem that the two delay pools (class 3) are having
  clients from the same subnet? I imagine it shouldn't matter to Squid
  since each delay pool can (and should) manage its own clients
  independently.
  I've also made a test with class 1 delay pools and it behaved the
  same.

  If anyone has had any success with dynamic delay pools and the above
  mentioned patch in particular, or any experience at all, please let me
  know. Maybe I'm doing something wrong.. maybe I'm using the wrong
  patch for this version of Squid (Squid2.5Stable12), any help is most
  welcome!

 I'm looking forward to your replies

All the best,
Rudi

  

-- 
-- 
http://www.fastmail.fm - And now for something completely different…
Received on Wed Feb 15 2006 - 13:39:47 MST

This archive was generated by hypermail pre-2.1.9 : Wed Mar 01 2006 - 12:00:03 MST