Roy M. wrote:
I have the following cache stats: Memory hits as % of hit requests: 5min: 51.7% Disk hits as % of hit requests: 5min: 31.8% Storage Mem capacity: 100.0% used, 0.0% free i.e., cache miss in mem = 100 - 51.7 = 48.3% overal hit % = 51.7 + 31.8 = 83.5%
Note the text "as % of hit requests" So... cache hit in mem = 51.7% cache hit in disk = 31.8% cache hit in other (peers? refresh?) = 100 - 51.7 - 31.8 = 16.5% miss information completely unknown.
1. Since memory is now 100% used, how do I know if there is a cache miss in mem 48.3%, how many % of them will trigger a LRU in memory cache?
Good question.
2. Similarly, if my disk is 100% used, how do I know the LRU statistics
Disk won't get 100% used unless you make your cache too big for the drive, or screw up cache gargbage collection with the cleanup settings.
Amos -- Please use Squid 2.7.STABLE3 or 3.0.STABLE7