[squid-users] Re: Best cache_dir with 280GB disk

2009-03-02 Thread Jan-Frode Myklebust
On 2009-02-28, Shekhar Gupta shekharsaha...@gmail.com wrote:

 Can any one let me know what will be the best configuration for squid
 cache_dir that can be defined with 280GB . I am using the following
 however i think squid genius can work this more effectively

 cache_dir ufs /squid/var/cachestore1 5000 128 256
 cache_dir ufs /squid/var/cachestore2 5000 128 256
 cache_dir ufs /squid/var/cachestore3 5000 128 256
 cache_dir ufs /squid/var/cachestore4 5000 128 256

I'm curious why you would want to split it up in multiple
small cache_dir's, instead of giving it all to squid as one
cache dir  ?

And I think you should use aufs  (or diskd?) instead of ufs,
to avoid blocking squid on disk access. 


  -jf



Re: [squid-users] Re: Best cache_dir with 280GB disk

2009-03-02 Thread Shekhar Gupta
Thanks ,I will do that however 128x256 Is this will be right
combination for 280 GB space for a single cache_dir

On Mon, Mar 2, 2009 at 2:08 PM, Jan-Frode Myklebust myk...@no.ibm.com wrote:
 On 2009-02-28, Shekhar Gupta shekharsaha...@gmail.com wrote:

 Can any one let me know what will be the best configuration for squid
 cache_dir that can be defined with 280GB . I am using the following
 however i think squid genius can work this more effectively

 cache_dir ufs /squid/var/cachestore1 5000 128 256
 cache_dir ufs /squid/var/cachestore2 5000 128 256
 cache_dir ufs /squid/var/cachestore3 5000 128 256
 cache_dir ufs /squid/var/cachestore4 5000 128 256

 I'm curious why you would want to split it up in multiple
 small cache_dir's, instead of giving it all to squid as one
 cache dir  ?

 And I think you should use aufs  (or diskd?) instead of ufs,
 to avoid blocking squid on disk access.


  -jf




Re: [squid-users] Re: Best cache_dir with 280GB disk

2009-03-02 Thread Matus UHLAR - fantomas
On 02.03.09 15:24, Shekhar Gupta wrote:
 Thanks ,I will do that however 128x256 Is this will be right
 combination for 280 GB space for a single cache_dir

I'd better increase that to 256 256, although it depends on the number of
objects, which depends on minimum and maximum object size configured on your
system. the average object size is usually around 13Kb.

-- 
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Fucking windows! Bring Bill Gates! (Southpark the movie)


[squid-users] Re: Best cache_dir with 280GB disk

2009-03-01 Thread Shekhar Gupta
It's a Raid 1 with 146*4 Disk of which i allocated 280 GB to /squid .
These are HP Server DL380G5 Series with Xenon Quad core Processor
having 6 GB of RAM .

On Sun, Mar 1, 2009 at 1:16 AM, Shekhar Gupta shekharsaha...@gmail.com wrote:
 Hi ,

 Can any one let me know what will be the best configuration for squid
 cache_dir that can be defined with 280GB . I am using the following
 however i think squid genius can work this more effectively

 cache_dir ufs /squid/var/cachestore1 5000 128 256
 cache_dir ufs /squid/var/cachestore2 5000 128 256
 cache_dir ufs /squid/var/cachestore3 5000 128 256
 cache_dir ufs /squid/var/cachestore4 5000 128 256