On Tue, 30 Mar 2004, Gaetano Mendola wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi all,
> I'm running squid 2.5 STABLE 4:
>
> Squid Cache: Version 2.5.STABLE4
> configure options: --prefix=/usr/local/squid-tuned2
> - --exec-prefix=/usr/local/squid-tuned2 --enable-snmp
> - --enable-useragent-log --enable-referer-log --enable-delay-pools
> - --enable-ssl --enable-storeio=diskd,aufs,ufs --with-pthreads
> - --enable-async-io=24 --enable-kill-parent-hack
Are you absolutely sure you want the kill-parent-hack option?
> and before to compile it I did:
>
> ulimit -HSn 16384
> export CFLAGS="-O6 -s -DNUMTHREADS=24"
This is a huge number of filedescriptors.. you will get better performance
if the number of filedescriptors is in balance with the numberof
concurrent users you have..
> the box is a dual PIII with 1GB RAM
SMP is a waste for Squid. Better with two smaller UP boxes (and often
costs about the same..)
> maximum_object_size_in_memory 16 KB
> cache_dir aufs /opt/squid/cache 10000 22 256
With 1GB of memory you have memory to sustain bigger caches..
> pipeline_prefetch on
This you do not want if you are looking for good performance.
You'd also want to turn off half_closed_clients
> I have about 300 clients connected at the same time.
Not many at all.. you should not need to make any tuning of your Squid.
> How may I obtain the cachemgr output without use the web interface?
squidclient mgr:
Regards
Henrik
Received on Tue Mar 30 2004 - 06:09:21 MST
This archive was generated by hypermail pre-2.1.9 : Thu Apr 01 2004 - 12:00:03 MST