Whatever the default is.
mike
At 05:44 PM 12/10/2006, zulkarnain wrote:
>Mike,
>
>what is your cache_replacement_policy and
>memory_replacement_policy ?
>
>regards,
>Zul
>
>--- Mike Leong <leongmzlist@gmail.com> wrote:
>
> > someone asked about my setup.
> >
> > configure flags:
> > --enable-x-accelerator-vary
> > --enable-linux-netfilter
> > --enable-cache-digests --enable-htcp --enable-snmp
> > --enable-referer-log
> > --enable-useragent-log --enable-delay-pools
> > --enable-icmp
> > --enable-async-io=100 --enable-carp
> > --with-large-files --with-maxfd=10240
> > --enable-removal-policies=lru,heap
> >
> > config:
> > #(((cache-size-KB/avg.-KB)/256)/256)*2= L1 dir. (L2
> > will always 256)
> > cache_dir aufs /mnt/cache1a/squid-cache 204800 320
> > 256
> > cache_dir aufs /mnt/cache2a/squid-cache 204800 320
> > 256
> > cache_dir aufs /mnt/cache3a/squid-cache 204800 320
> > 256
> > cache_dir aufs /mnt/cache4a/squid-cache 204800 320
> > 256
> > cache_dir aufs /mnt/cache5a/squid-cache 204800 320
> > 256
> > cache_dir aufs /mnt/cache6a/squid-cache 204800 320
> > 256
> > cache_dir aufs /mnt/cache1b/squid-cache 204800 320
> > 256
> > cache_dir aufs /mnt/cache2b/squid-cache 204800 320
> > 256
> > cache_dir aufs /mnt/cache3b/squid-cache 204800 320
> > 256
> > cache_dir aufs /mnt/cache4b/squid-cache 204800 320
> > 256
> > cache_dir aufs /mnt/cache5b/squid-cache 204800 320
> > 256
> > cache_dir aufs /mnt/cache6b/squid-cache 204800 320
> > 256
> >
> > #amt of mem used to store objs fetched from backend.
> > Keep it low
> > cache_mem 512 MB
> >
> > minimum_object_size 1 KB
> > maximum_object_size_in_memory 1 MB
> > store_avg_object_size 20 KB
> >
> > -
> > system config:
> > 2X cpu
> > 4GB RAM
> > 3WARE 12 port raid controller, JBOD mode
> >
> > Speed: FAST.. saturated my 100mbps ethernet during
> > benchmarks, system
> > barely yawn.
> >
> > mike
> >
>
>
>
>____________________________________________________________________________________
>Have a burning question?
>Go to www.Answers.yahoo.com and get answers from real people who know.
Received on Mon Dec 11 2006 - 00:27:46 MST
This archive was generated by hypermail pre-2.1.9 : Mon Jan 01 2007 - 12:00:01 MST