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
At 08:26 PM 11/30/2006, Alexandre Correa wrote:
i´m using aufs too ... fedora core 3, x86_64 .. using scsi hard drives
... without problems
On 12/1/06, Manoj Rajkarnikar <manoj@xxxxxxxxxxxxx> wrote:
we've been using aufs on linux for >1yr and have not encountered any
complications. works good.
On Thu, 30 Nov 2006, Nguyen, Khanh, INFOT wrote:
> Hi,
>
> Has anyone use aufs cache_dir on Linux? Any comment, insight about it?
> The description indicates that aufs utilizes POSIX-threads thus avoid
> blocking the main squid process to access disk-I/O. Wonder if there is
> any unknown problem?
>
> I am running squid 2.6 on Linux AS 4, update 3.
>
> Regards,
> Khanh
>
--
Manoj Rajkarnikar
System Administrator
Vianet Communications Pvt Ltd
Pulchowk, Lalitpur, Nepal.
(PH)977-1-5546410
--
Sds.
Alexandre J. Correa
Onda Internet / OPinguim.net
http://www.ondainternet.com.br
http://www.opinguim.net