At 06:22 PM 4/3/01 -0700, Melling Situmorang wrote:
>HI all ,
>I have squid proxy (2.3STABLE4) that was implemented on my LAN. We have 185
>clients. The highest HIT percentage was 23% , ( I saw that through webmin
>). Can I up that HIT percentage by reconfiguring my squid ?.
>My PC & squid description :
> OS : Linux Redhat6.2
> RAM : 384MB ( 250MB for squid)
> CPU : Pentium Pro II 200MHz
> HD : UW-SCSI 4GB ( 500 100 100 for squid disk )
> Cache time : 1 day
> No cache hierarcy
Options to improve hit-rate:
1 Increase cache size
2 Play with refresh rules (try to find out what type of file has the best
chance of caching and than make sure it is cached as long as possible
or makes sense)
3 If your users access cache hostile sites that expire files to quickly
(in your view) override the expire rules (violates standards)
4 If your users access sites that use scripts to get their pages from a
database with scripts chances are that they are not cached. By playing
with the caching rules you can get squid to cache them.
5 Get rid of dynamic banners and hidden access logging things by using a
redirector.
Following this scheme I get a hit-rate of about 50% with a 12GB cache,
about 200 users and a traffic volume of 1 to 1.5 GB a day.
Marc
>thanks
>LINK.
---------------------------------------------------------
Marc van Selm
NATO C3 Agency, CSD/A
*********************************************************
** All statements in this mail are made from my own **
** personal perspective and do not necessarily reflect **
** my employer opinions or policies. **
*********************************************************
Received on Wed Apr 04 2001 - 02:19:36 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:59:08 MST