Re: [squid-users] Maximum disk cache size per worker

2013-03-23 Thread Sokvantha Youk
On 3/23/2013 11:19 AM, Amos Jeffries wrote: On 22/03/2013 11:05 p.m., Amos Jeffries wrote: On 22/03/2013 7:21 p.m., Sokvantha YOUK wrote: Dear Amos, I am pretty sure love to go down to try SMP equivalent of a CARP peering. Please guide me. The design is laid out here with config files for

Re: [squid-users] Maximum disk cache size per worker

2013-03-23 Thread Amos Jeffries
On 24/03/2013 12:52 a.m., Sokvantha Youk wrote: On 3/23/2013 11:19 AM, Amos Jeffries wrote: On 22/03/2013 11:05 p.m., Amos Jeffries wrote: On 22/03/2013 7:21 p.m., Sokvantha YOUK wrote: Dear Amos, I am pretty sure love to go down to try SMP equivalent of a CARP peering. Please guide me.

Re: [squid-users] Maximum disk cache size per worker

2013-03-23 Thread Sokvantha Youk
On 3/23/2013 8:04 PM, Amos Jeffries wrote: On 24/03/2013 12:52 a.m., Sokvantha Youk wrote: On 3/23/2013 11:19 AM, Amos Jeffries wrote: On 22/03/2013 11:05 p.m., Amos Jeffries wrote: On 22/03/2013 7:21 p.m., Sokvantha YOUK wrote: Dear Amos, I am pretty sure love to go down to try SMP

Re: [squid-users] Maximum disk cache size per worker

2013-03-22 Thread Amos Jeffries
On 22/03/2013 4:39 p.m., Alex Rousskov wrote: On 03/21/2013 08:11 PM, Sokvantha YOUK wrote: Thank you for your advice. If I want large files to be cached when it fist seen by worker, My config should change to first worker that see large file and cache it else left it over to remaining worker

Re: [squid-users] Maximum disk cache size per worker

2013-03-22 Thread Sokvantha YOUK
Dear Amos, I am pretty sure love to go down to try SMP equivalent of a CARP peering. Please guide me. --- Regards, Vantha On Fri, Mar 22, 2013 at 1:13 PM, Amos Jeffries squ...@treenet.co.nz wrote: On 22/03/2013 4:39 p.m., Alex Rousskov wrote: On 03/21/2013 08:11 PM, Sokvantha YOUK wrote:

Re: [squid-users] Maximum disk cache size per worker

2013-03-22 Thread Sokvantha Youk
On 3/22/2013 1:13 PM, Amos Jeffries wrote: On 22/03/2013 4:39 p.m., Alex Rousskov wrote: On 03/21/2013 08:11 PM, Sokvantha YOUK wrote: Thank you for your advice. If I want large files to be cached when it fist seen by worker, My config should change to first worker that see large file and

Re: [squid-users] Maximum disk cache size per worker

2013-03-22 Thread Amos Jeffries
On 22/03/2013 7:21 p.m., Sokvantha YOUK wrote: Dear Amos, I am pretty sure love to go down to try SMP equivalent of a CARP peering. Please guide me. The design is laid out here with config files for the pre-SMP versions of Squid: http://wiki.squid-cache.org/ConfigExamples/MultiCpuSystem

Re: [squid-users] Maximum disk cache size per worker

2013-03-22 Thread Amos Jeffries
On 22/03/2013 11:05 p.m., Amos Jeffries wrote: On 22/03/2013 7:21 p.m., Sokvantha YOUK wrote: Dear Amos, I am pretty sure love to go down to try SMP equivalent of a CARP peering. Please guide me. The design is laid out here with config files for the pre-SMP versions of Squid:

Re: [squid-users] Maximum disk cache size per worker

2013-03-22 Thread Sokvantha Youk
On 3/23/2013 11:19 AM, Amos Jeffries wrote: On 22/03/2013 11:05 p.m., Amos Jeffries wrote: On 22/03/2013 7:21 p.m., Sokvantha YOUK wrote: Dear Amos, I am pretty sure love to go down to try SMP equivalent of a CARP peering. Please guide me. The design is laid out here with config files for

[squid-users] Maximum disk cache size per worker

2013-03-21 Thread Sokvantha YOUK
Dear All, I am working on distributed object cached by size to differences squid process. My server is Centos 6 x64 bits with squid 3.3.3. I don't know how to calculate maximum disk cache size squid can support per process. Below is my partition size: #df /dev/sdb1206424760 65884

Re: [squid-users] Maximum disk cache size per worker

2013-03-21 Thread Amos Jeffries
On 21/03/2013 9:21 p.m., Sokvantha YOUK wrote: Dear All, I am working on distributed object cached by size to differences squid process. My server is Centos 6 x64 bits with squid 3.3.3. I don't know how to calculate maximum disk cache size squid can support per process. Below is my partition

Re: [squid-users] Maximum disk cache size per worker

2013-03-21 Thread Alex Rousskov
On 03/21/2013 02:21 AM, Sokvantha YOUK wrote: ## 2. Handle large object 32kb 200MB. The fourth worker handles large file if ${process_number}=4 cache_dir aufs /cache7/squid/${process_number} 17 16 256 min-size=31001 max-size=2 cache_dir aufs

Re: [squid-users] Maximum disk cache size per worker

2013-03-21 Thread Sokvantha YOUK
Dear Alex, Thank you for your advice. If I want large files to be cached when it fist seen by worker, My config should change to first worker that see large file and cache it else left it over to remaining worker for rock store worker? Below design is that, I don't want cached content to be

Re: [squid-users] Maximum disk cache size per worker

2013-03-21 Thread Sokvantha YOUK
Dear Amos, Thank you for your advice. I get it working now after shrink the cache_dir size from 170GB to 70 GB. My total physical memory is 32 GB. --- Regards, Vantha On Thu, Mar 21, 2013 at 8:07 PM, Amos Jeffries squ...@treenet.co.nz wrote: On 21/03/2013 9:21 p.m., Sokvantha YOUK wrote:

Re: [squid-users] Maximum disk cache size per worker

2013-03-21 Thread Alex Rousskov
On 03/21/2013 08:11 PM, Sokvantha YOUK wrote: Thank you for your advice. If I want large files to be cached when it fist seen by worker, My config should change to first worker that see large file and cache it else left it over to remaining worker for rock store worker? Your OS assigns