[squid-users] true sizeof squid cache
Riccardo Castellani
ric.castellani at alice.it
Fri Nov 7 05:23:50 UTC 2014
Does it exist guideline to tune up/down cache_dir size?
What do you think about use of ram disk as cache_dir vs hard disk ?
On 06 Nov 2014, at 10:16, Amos Jeffries <squid3 at treenet.co.nz> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 6/11/2014 8:58 p.m., Riccardo Castellani wrote:
>> I'm installing new machine as Squid server and I need to understand
>> what criteria to estimate the 'cache size', I'm not speaking about
>> extra space for swap/temporary files or fragmentation but I'm
>> saying about the cache of size that is 3rd cache_dir argument.
>> Server will receive requests from about 2000- 3000 computers. I'd
>> like interesting to find documents where shows suggestions to
>> assign right size.
>
> Assign the amount of disk you want to use. "right size" all depends on
> what your clients patterns of usage are. That varies between networks
> and even over time within one network. Also whether you want to focus
> on bandwidth reduction or request reduction. Some networks run with no
> disk cache, others with Terabytes.
>
> So ... start with a guess that seems reasonable to you (tens of GB? or
> hundreds of MB?) and see what happens before tuning it up/down to try
> and reach a better hit ratio(s) and longer LRU object timespan.
>
> BTW, the disk cache_dir *is* "swap" file space for Squid. All caching
> is temporary files.
>
> Amos
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.22 (MingW32)
>
> iQEcBAEBAgAGBQJUWzxxAAoJELJo5wb/XPRjXA4H/RGYCLaPhR8+4Nnhenf3eAj7
> kAkNud1zbIhghfYkX2FIBZt51E9ZP/h+w89jC21V1dt1nitE7b4zD6mcZq8eTxm5
> asjnwtoH2U70gBYsvFaVUDLE9pv1yxa5LGxV7OiKa81OQmsBtSjbsUjpY2LTrQE8
> m53Q1xdHtg4FeX4TIvlj8dLYc3lgSm2BKERHdV08kZAlFPQtkBx8ZrN+dXUto+QO
> WfyNRYKuhyq4TbmdNM19KIqUmBjAIa/L8N02IZ5+FCmt1/Pn8jsLvKEl112aE0yT
> 8QxcyX5m+sBQIcG5IyFzhSGxN3pDL4m5btd/9XhgDwqJwFz4E3KyfWRkkuQeBBg=
> =VfOs
> -----END PGP SIGNATURE-----
> _______________________________________________
> squid-users mailing list
> squid-users at lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-users
More information about the squid-users
mailing list