Hi,
I have squid-1.2.beta23 with all 4 patches compiled with --enable-icmp
using 3 parent caches as closest-only.
It seems that it doesn't consider RTT to neighbors when selecting 
the closest path.
I have:
Parent     : squid1.osi.ru/3128/3130
Flags      : closest-only
Address[0] : 195.178.193.139
Status     : Up
AVG RTT    : 19 msec
Parent     : sd.cache.nlanr.net/3128/3130
Flags      : closest-only
Address[0] : 192.172.226.145
Status     : Up
AVG RTT    : 1231 msec
Parent     : lj.cache.nlanr.net/3128/3130
Flags      : closest-only
Address[0] : 192.172.226.146
Status     : Up
AVG RTT    : 1269 msec
and for example:
152.2.254.0        10/  10  1616.4  14.0 sunsite.oit.unc.edu www.sunsite.unc.edu sunsite.unc.edu 
    lj.cache.nlanr.net        71.6   7.0
    sd.cache.nlanr.net        71.7   7.0
    squid1.osi.ru            240.2  19.0
but squid choose lj.cache.nlanr.net as CLOSEST_PARENT rather than squid1.osi.ru:
1998/08/14 13:09:31| peerSelect: ftp://sunsite.unc.edu/pub/Linux/apps/graphics/
1998/08/14 13:09:31| peerSelectFoo: 'GET sunsite.unc.edu'
1998/08/14 13:09:31| peerCheckAlwaysDirectDone: 0
1998/08/14 13:09:31| peerSelectFoo: 'GET sunsite.unc.edu'
1998/08/14 13:09:31| peerSelectFoo: direct = DIRECT_MAYBE
1998/08/14 13:09:31| peerSelect: CLOSEST_PARENT/lj.cache.nlanr.net
1998/08/14 13:09:31| peerSelectCallback: ftp://sunsite.unc.edu/pub/Linux/apps/graphics/
Is it possible to improve selection policy?
Serge.
Received on Fri Aug 14 1998 - 02:36:16 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:41:37 MST