Hello.
Thank you very much for so many helpful information Henrik, with your
message I recompiled my squid and my kernel for no-SMP (disabled the
HyperThreading feature of the XEON processor) and so far the proxy is
stable and fast.
I changed the 10k RPM scsi disk for 3x 9 GB ones and used configure wihout
the options you pointed me I was using the wrong way.
Would you recommend me anything else to improve performance or you think
I'm just OK now?
Again, thank you VERY much.
On Sun, 8 Jun 2003, Henrik Nordstrom wrote:
> On Sat, 7 Jun 2003 macaco@ns1.twi.com.br wrote:
>
> > The hardware we use exclusively for proxy-cache is:
> > DeLL Power Edge 1400 XEON 1.6 (Hyper Threading, so the kernel is compiled
> > SMP)
>
> Squid generally have little or no use of SMP..
>
> > Seagate 10K rpm . 30 GB with reiserfs (notail and noatime) for the cache
> > 1 GB . RAM
>
> Squid really puts a high load on the drives seek times, and you want more
> than one drive for a good Squid performance.
>
> > I compiled SQUID-2.5-STABLE3 using:
> > ./configure --enable-linux-netfilter --disable-ident-lookups
> > --enable-removal-policies=heap,lru --enable-delay-pools
> > --enable-cache-digests --enable-pool --enable-truncate
>
> What is --enable-pool?
>
> > --enable-stacktraces
>
> does not hurt.
>
> > --enable-xmalloc-statistics
>
> this should not be used in production.
>
> > --enable-underscores
> > -with-pthreads --enable-storeio=aufs --enable-async-io=128
>
> 128 threads is a definite overkill and will make your Squid fall over when
> there is too much I/O pending due to the lack of seek kapacity in your
> harddrive..
>
> > --enable-kill-parent-hack --enable-time-hack
>
> Are you absolutely sure you want these?? I would not...
>
> > --enable-default-err-language=Portuguese --with-aufs-threads=10
>
> Hmm.. You specify the number of threads twice.. how many do you actually
> want?
>
> > cache_access_log /var/squid/logs/access.log
> > cache_log none
>
> You want cache.log. Disabling this is just silly unless you are
> configuring a Squid with no disks at all..
>
> > cache_dir aufs /squid/cache1 10000 25 256
> > cache_dir aufs /squid/cache2 10000 25 256
> > cache_dir aufs /squid/cache3 10000 25 256
>
> I assume these are jsut partitions on the same drive. For Squid you should
> use one partition per drive, and more than one drive.
>
> > buffered_logs on
>
> does not make a noticeable difference.
>
> Regards
> Henrik
>
>
Received on Sun Jun 08 2003 - 10:23:38 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:17:17 MST