Cache size, how much is enough, how much is a waste?

From: B. Richardson <rabtter@dont-contact.us>
Date: Wed, 29 Jul 1998 20:42:47 -0400 (EDT)

I have seen reports of cache sizes up to 24 GB frequently, but
rarely for much larger. Digging through info at squid.nlanr.net
I found a blurb that if you are expiring objects less than three
days old, then your hit rate would be better if your cache was
bigger.

Three days worth for me is I think around 10 GB (do not have a
dedicated production server, still in the specing out and testing
phase). Load is around 700k connections per day.

Let me speculate here.

    Starting from empty, my hit ratio is going to increase until
    I accumulate 10 GB (or 3 days worth).

    After I hit 10 GB, it is still going to increase but more
    slowly till I get to around 24 GB.

    Above 24 GB, I will enter the area of diminishing returns.
    I can add a lot of disk space, but my hit ratio is going
    to improve only slightly.

Just thought I would throw that out for discussion.

-

Barrett Richardson rabtter@orion.aye.net
Received on Wed Jul 29 1998 - 17:42:24 MDT

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