Re: [SQU] Squid byte HIT ratio

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Thu, 26 Oct 2000 23:35:04 +0200

Aaron Seelye wrote:

> I have a couple questions. First, I am currently getting a ~45% hit ratio,
> but for byte %, it's only around 20-25%. This is fine, but I'm wondering
> what I can do to make it better. Second, is the only way to get a better
> hit ratio to get more storage? I currently have 15.5GB of storage, but it's
> not working a whole lot better (as far as I can tell) than a 4GB cache has
> in my past experience.

You have two options:

a) Play with refresh_pattern to make Squid cache objects longer. For
example you can quite likely tweak it to use more relaxed rules for
images without risking serving stale content to the users.

b) Investigate different replacement policies. But if you find that
using a much bigger cache does not help then using another replacement
policy most likely won't either as the replacement policy is only about
not evicting interesting objects from the cache to make room for new
ones..

--
Henrik Nordstrom
Squid hacker
--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Fri Oct 27 2000 - 00:59:02 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:55:59 MST