iif/19971031: Hits

Hit Classification

click to enlarge

There are hits and hits. We consider four hit categories or classes:

For all hit classes, the original server could be contacted to check the freshness of a cached object. There are also a few cases not covered by our classification.

To illustrate relative importance of each class, we plot the percentage of all hits a class represents.


Memory Hit Analysis

click to enlarge

Hot memory buffer has two major functions. First, it caches incoming (new) documents. Second it caches documents swapped in from disk as a result of a disk hit. It is not obvious what documents should be cached in memory if any. To further understand how Squid memory buffer works, we track down the memory hits that correspond to documents that were never swapped in:

When a document is retrieved from its source, it is placed into memory buffer. Later, a document is swapped out to free space for incoming requests. However, before the document content is freed from memory buffer, it may be requested by other clients. Such requests result in no swap-in memory hits that we are interested in. These hits are interesting because they show how effective memory buffer is in caching new (previously uncached) documents.



back to 'iif/19971031'