[squid-users] HDD/RAM Capacity vs store_avg_object_size
Alex Rousskov
rousskov at measurement-factory.com
Tue Jul 18 20:12:58 UTC 2017
On 07/18/2017 12:32 PM, bugreporter wrote:
> Hi Alex & Amos. Below results:
>
> On a x64 machine:
> v ~ 207 Bytes
For the record, sizeof(StoreEntry) + sizeof(LruNode) = 104 + 24 = 128
bytes (for Squid v5 on an x64 host).
If your results are correct, we cannot account for ~80 bytes, which is
~50 bytes too many to attribute to various index storage overheads IMO.
This is not important for you (you should use the numbers you got as
long as you trust them), but a developer should investigate where that
memory goes.
>> According to http://wiki.squid-cache.org/SquidFaq/SquidMemory:
>> We need 14 MB of memory per 1 GB on disk for 64-bit Squid
Assuming 13KB mean object size would give us another x64 data point:
v ~ 182
> On a x86 machine:
> v ~ 116
Alex.
More information about the squid-users
mailing list