[squid-users] HDD/RAM Capacity vs store_avg_object_size
Amos Jeffries
squid3 at treenet.co.nz
Fri Jul 14 16:53:18 UTC 2017
On 14/07/17 04:13, bugreporter wrote:
> Hi Amos,
>
> When you say:
>
> /"The rest is harder. You need to do a scan of a disk cache separating the
> message headers - both counting the number of items found and total size
> of the headers processed. Multiplying the metadata size by the number of
> objects in the cache and adding the total message header size."
> /
> What do you mean by message header in this context? Just the first line in
> each file or all HTTP headers (head of each file until the first \r\n)? If
> you mean all HTTP headers and if I correctly understood what Alex says, HTTP
> headers are not taken into the consideration in this context. Therefore
> should I eliminate them in the calculation?
>
Thats what I meant, but as Alex pointed out I was wrong. StoreEntry only
pulls a small bit of the cached meta stuff into the index, and that is
counted directly in the StoreEntry object size. The rest of it is only
pulled in when things are moved to the cache_mem space for delivery to a
client.
Amos
More information about the squid-users
mailing list