On 03/19/2013 09:14 AM, Sokvantha YOUK wrote: > Here is my configuration > > # Rockstore filesytem > workers 4 > cpu_affinity_map process_numbers=1,2,3,4 cores=2,4,6,8 > > if ${process_number}=1 > cache_dir rock /cache1 170000 max-size=31000 > cache_dir rock /cache2 170000 max-size=31000 > endif > > if ${process_number}=2 > cache_dir rock /cache3 170000 max-size=31000 > cache_dir rock /cache4 170000 max-size=31000 > endif > > if ${process_number}=3 > cache_dir rock /cache5 170000 max-size=31000 > cache_dir rock /cache6 170000 max-size=31000 > endif > > # AUFS file system > if ${process_number}=4 > cache_dir aufs /cache7/squid/${process_number} 170000 16 256 > min-size=31001 max-size=200000000 > cache_dir aufs /cache8/squid/${process_number} 170000 16 256 > min-size=31001 max-size=200000000 > endif
Just in case somebody finds this in the archives and tries to replicate, please note that the above config does not make sense: It does not allow rock directories to share cache storage among workers and it isolates the aufs storage to a single worker (#4) as if that worker is somehow special. I doubt WCCP problems are related to caching. However, I recommend making sure WCCP works _before_ you make your configuration more complex by adding caching. HTH, Alex.