On 2/22/06, Mark Elsen <mark.elsen@xxxxxxxxx> wrote: > > 'm working for an ISP company and I'm using squid as a cache engine > > for the first time. > > when a dial-up user downloads a cached file originally form a local > > server, the download rate is 10 kbps, but if the origin server is > > anywhere else on the Internet the download rate of a previously cached > > file will be reduced to 5 kbps or even less. (in both cases squid > > indicates a successful TCP_HIT). > > I've tested that several times on different files from different > > sites. and I'm getting always the same results. I've tried to test it > > in both online and offline modes. and nothing has changed (except that > > squid logs the hits as TCP_OFFLINE_HIT/200 instead of TCP_HIT/200) > > > > Why the two files are not downloaded with the same rate, keeping in > > mind that they are both cached and served from the same proxy/cache > > server (squid)? > > Can anyone help me to solve it? > > > > Rember that QoS (quality of service) of bandwith is not guaranteed once data > must be received > out of your area-of-control (perimeter infrastructure). > > M. > Thanks for the tip, but it seams that I am always having the same results depending on the location of the origin server. I would agree with you if the transfer rate changes in one of the cases, but the problem is that a cached file is "always" transferred with a fixed download rate (10 to 12 kbps if the origine server is local (on the same network with squid server), and 4 to 5 kbps if not). Can you please elaborate?