[squid-users] rock issue

patrick mkhael patrick.mkhael at hotmail.com
Wed Jul 1 17:45:40 UTC 2020


Dears,

Kindly note that i have a lab, where the internet traffic is 100 Mb/s  of pure http targeted traffic, i m trying to achieve cache gain ratio of 60% , i was able to do this using ufs cache dir  and single worker.
But i found that i need to work with rock cache dir since the real traffic is 1000 Mb/s , so one procesor won't be able to
handle all the traffic , so i used the same config , i only switched from ufs to rock , the gain ratio dropped from 60% to 6%.

below is the config that i m using : [ i didn't include the refresh pattern]

workers 10
cpu_affinity_map process_numbers=1,2,3,4,5,6,7,8,9,10 cores=1,2,3,4,5,6,7,8,9,10
cache_mem 20 GB
maximum_object_size_in_memory 50 MB
maximum_object_size 2 GB
cache_miss_revalidate off
quick_abort_pct 85
cache_dir rock /mnt/sdb/1 2048 max-size=10000 max-swap-rate=200 swap-timeout=300
cache_dir rock /mnt/sdb/2 2048 max-size=10000 max-swap-rate=200 swap-timeout=300
cache_dir rock /mnt/sdb/3 4960 max-size=50000 max-swap-rate=200 swap-timeout=300
cache_dir rock /mnt/sdb/4 4960 max-size=50000 max-swap-rate=200 swap-timeout=300
cache_dir rock /mnt/sdb/5 10000 max-size=100000 max-swap-rate=200 swap-timeout=300
cache_dir rock /mnt/sdb/6 10000 max-size=100000 max-swap-rate=200 swap-timeout=300
cache_dir rock /mnt/sdb/7 20000 max-size=500000 max-swap-rate=200 swap-timeout=300
cache_dir rock /mnt/sdb/8 20000 max-size=500000 max-swap-rate=200 swap-timeout=300
cache_dir rock /mnt/sdb/9 40000 max-size=1000000 max-swap-rate=200 swap-timeout=300
cache_dir rock /mnt/sdb/10 40000 max-size=1000000 max-swap-rate=200 swap-timeout=300
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20200701/e99f4d98/attachment.html>


More information about the squid-users mailing list