Search squid archive

Re: cache_peer weighting

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

 



Amos Jeffries wrote:
Did you move to 2.6 in the process? I found that carp is accepted in 2.5
but marked experimental and before many bugs fixes that went into 2.6.

Try adding debug_options ALL,1, 39,5 to squid.conf and see what pops into
cache.log


I've been running 2.6 for a while; and currently testing 2.HEAD & 3.0STABLE1 on two machines. I've dropped a bugzilla for this, along with a patch to modify the functionality to include http_port within the carp hashing code. It enables a squid config option of 'carp_hash_port on/off': http://www.squid-cache.org/bugs/show_bug.cgi?id=2153

Log output previously looked like:

2007/12/19 03:05:04| carpSelectParent: 10.0.20.1 combined_hash 4266296709 score 4069969201 2007/12/19 03:05:04| carpSelectParent: 10.0.20.1 combined_hash 4266296709 score 4069969201 2007/12/19 03:05:04| carpSelectParent: 10.0.20.1 combined_hash 4266296709 score 4069969201 2007/12/19 03:05:04| carpSelectParent: 10.0.20.1 combined_hash 4266296709 score 4069969201 2007/12/19 03:05:04| carpSelectParent: 10.0.20.2 combined_hash 1829481 score 1745291 2007/12/19 03:05:04| carpSelectParent: 10.0.20.2 combined_hash 1829481 score 1745291 2007/12/19 03:05:04| carpSelectParent: 10.0.20.2 combined_hash 1829481 score 1745291 2007/12/19 03:05:04| carpSelectParent: 10.0.20.2 combined_hash 1829481 score 1745291


and

2007/12/19 03:06:57| carpSelectParent: selected 10.0.20.1
2007/12/19 03:06:57| carpSelectParent: selected 10.0.20.2
2007/12/19 03:06:57| carpSelectParent: selected 10.0.20.2
2007/12/19 03:06:57| carpSelectParent: selected 10.0.20.2
2007/12/19 03:06:57| carpSelectParent: selected 10.0.20.1
2007/12/19 03:06:58| carpSelectParent: selected 10.0.20.2
2007/12/19 03:06:58| carpSelectParent: selected 10.0.20.1
2007/12/19 03:06:58| carpSelectParent: selected 10.0.20.1
2007/12/19 03:06:59| carpSelectParent: selected 10.0.20.2
2007/12/19 03:06:59| carpSelectParent: selected 10.0.20.2


and now looks like:

2007/12/19 04:45:28| carpSelectParent: 10.0.20.1:82 combined_hash 1266692258 score 1208401297 2007/12/19 04:45:28| carpSelectParent: 10.0.20.1:81 combined_hash 1239382347 score 1182348140 2007/12/19 04:45:28| carpSelectParent: 10.0.20.1:83 combined_hash 223054348 score 212789777 2007/12/19 04:45:28| carpSelectParent: 10.0.20.1:84 combined_hash 251909667 score 240317225 2007/12/19 04:45:28| carpSelectParent: 10.0.20.2:81 combined_hash 223054348 score 212789777 2007/12/19 04:45:28| carpSelectParent: 10.0.20.2:82 combined_hash 251909667 score 240317225 2007/12/19 04:45:28| carpSelectParent: 10.0.20.2:83 combined_hash 281703136 score 268739651 2007/12/19 04:45:28| carpSelectParent: 10.0.20.2:84 combined_hash 2862529730 score 2730801121

and

2007/12/19 04:39:43| carpSelectParent: selected 10.0.20.2:83
2007/12/19 04:39:43| carpSelectParent: selected 10.0.20.2:84
2007/12/19 04:39:43| carpSelectParent: selected 10.0.20.1:84
2007/12/19 04:39:43| carpSelectParent: selected 10.0.20.1:82
2007/12/19 04:39:43| carpSelectParent: selected 10.0.20.1:84
2007/12/19 04:39:44| carpSelectParent: selected 10.0.20.2:81
2007/12/19 04:39:44| carpSelectParent: selected 10.0.20.1:83
2007/12/19 04:39:44| carpSelectParent: selected 10.0.20.2:82
2007/12/19 04:39:44| carpSelectParent: selected 10.0.20.1:84
2007/12/19 04:39:44| carpSelectParent: selected 10.0.20.2:81


--
Tony Dodd, Systems Administrator

Last.fm | http://www.last.fm
Karen House 1-11 Baches Street
London N1 6DL

check out my music taste at:
http://www.last.fm/user/hawkeviper

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

  Powered by Linux