Search squid archive

RE: Squid - performance

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks. 
What parameters define how much object size one should go for.
As per your suggestion I can go for 32mb for 30 GB cache dir.
I would like to understand how to derive this value?

Thanks for your support.

-----Original Message-----
From: Matus UHLAR - fantomas [mailto:uhlar@xxxxxxxxxxx] 
Sent: Wednesday, August 17, 2005 10:15 AM
To: squid-users@xxxxxxxxxxxxxxx
Subject: Re:  Squid - performance

On 16.08 21:25, lokesh.khanna@xxxxxxxxxxxxxxxxx wrote:
> I am using 2 Scsi hard disk of 36 GB for cache. I have assigned only
15
> GB ( less than 50 % of total disk ) for cache in each disk .
> So total cache is 30 GB.
> 
> cache_dir diskd /cache1/squid 15360 16 256 Q1=64 Q2=72 
> cache_dir diskd /cache2/squid 15360 16 256 Q1=64 Q2=72
> 
> 
> I want to know if squid uses full 30 GB for cache then what will
happen?
> Shouldn't squid start deleting those cached objects which are not in
> use?
> Which parameter define that? 

cache_swap_low and cache_swap_high define, when will squid start
removing
objects and how much will it remove. cache_replacement_policy defines,
how
will squid choose which objects to remove.

Note that for 36GB disks I have no problems defining cache_dir 30000 
(the FS becomes filled up to ~86% which is OK)

> What parameters do I need to check to get best performance and
caching. 

increase cache size for bigger efficiency, but not too big (filesystems
filled up too much use to have low performance).

> My squid is currently handling 80 req/sec and during peak hours nearly
> 1500 users uses caching server.
> I can save maximum 15 % to 18 % bandwidth. Is it possible to save more
> bandwidth with better performance??

yes, do the above, choose good replacement policy (heap LFUDA or heap
GSDF)
and increase maximum_object_size (for 2x36 GB I'd use 32 MB and maybe
more).

-- 
Matus UHLAR - fantomas, uhlar@xxxxxxxxxxx ; 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.
If Barbie is so popular, why do you have to buy her friends? 
Disclaimer
****************************************************************************************************************************
The information contained in this e-mail, any attached files, and response threads are confidential and 
may be legally privileged. It is intended solely for the use of individual(s) or entity to which it is addressed
and others authorised to receive it. If you are not the intended recipient, kindly notify the sender by return 
mail and delete this message and any attachment(s) immediately.
 
Save as expressly permitted by the author, any disclosure, copying, distribution or taking action in reliance 
on the contents of the information contained in this e-mail is strictly prohibited and may be unlawful.
 
Unless otherwise clearly stated, and related to the official business of Accelon Nigeria Limited, opinions, 
conclusions, and views expressed in this message are solely personal to the author.
 
Accelon Nigeria Limited accepts no liability whatsoever for any loss, be it direct, indirect or consequential, 
arising from information made available in this e-mail and actions resulting there from.
 
For more information about Accelon Nigeria Limited, please see our website at
http://www.accelonafrica.com
******************************************************************************************************************************


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux