![]() ![]() I’ve also changed the memory replacement policy to Heap-LFUDA (Least Frequently Used with Dynamic Aging). 0 (no limit) Maximum Object Size Largest object to cache, in kilobytes 256 Table 2: Squid Cache Management configuration tab values I have also tweaked the optional tuning values: used threaded access to the UFS file system and since I have cycles to spare and a large cache, I’ve doubled the number of level 1 directories. ![]() Setting Explanation Value Hard disk cache size Disk size limit in megabytes 61400 Hard disk cache location Where the cache is stored /var/squid/log Memory cache size Megabytes of memory cache 300 Minimum Object Size Smallest object to cache, in kilobytes. Having calculated our sizes, we are ready to fill in the Cache Management configuration tab values, as summarized in Table 2. Dividing that by the 5 to 1 guideline, I end up with a disk cache size of 60 GB. I want some headroom for processing peaks, about half, so I have 300 MB available for my in-memory cache. With Cerberus under load and largely due to Snort, I run at 80% memory usage (according to System-Status), giving me about 600 MB free. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |