Tuning SQUID

From: Martin Och <[email protected]>
Date: Sat, 22 Jan 2000 10:43:50 +0100

Hi all.

I'm using SQUID cache for approx. 1 year.
In last month I'm still trying to tune SQUID for the nest performance,
but now I'm start thinking, so it is impossible.

The facts:
Machine:
Pentium II 400 Mhz
128 MB RAM
HDD QAUANTUM 800M - for system
HDD IBM UDMA66 27GB - for cache
on both drives is created 100MB SWAP partition

OS:
RedHat Linux 5.2 with last updates
Kernel 2.2.14

SQUID:
SQUID-2.3.STABLE1
./configure --prefix=/etc/squid \
     --mandir=/usr/man \
     --bindir=/etc/squid/bin \
     --sysconfdir=/etc/squid \
     --enable-icmp \
     --enable-snmp \
     --enable-time-hack \
     --enable-kill-parent-hack \
     --enable-cache-digests \
     --enable-err-language=Czech \
     --enable-arp-acl \
     --enable-wccp \
     --enable-underscores \
     --enable-truncate \
     --disable-htcp \
     --disable-http-violations \
     --disable-ident-lookups \
     --disable-delay-pools

Config file:
cache_mem 1 MB
cache_dir ufs /cachedir 5000 16 256
cache_swap_low 90
cache_swap_high 95
maximum_object_size 2048 KB
max_open_disk_fds 4096

I think so this settings are good for machine with 128MB RAM.
The number of clients (child caches and ordinary browsers) accessing this
cache is about 50.

Now is the problem.
If I divide the number of PageFaults - now is the number 143839
with HTTP requests received: 344239 i get 0,417....
By http://www.squid.cscnet.cz/Doc/FAQ/FAQ-11.html#ss11.17 this number
should be between 0.1 - 0.2.

The top command says:
Mem 128396k av, 125000k used, 3307k free, 6440k shrd 43364k buff
Swap: 207164k av, 5332k usedd, 201832k free 11120k cached

Can somebody tell me, where is the problem?

Thanks a lot for all answers

-- ISO 8859-2 compatibile --
Martin Och
Network Administrator

To "shut down" your system type "WIN"
Received on Sat Jan 22 2000 - 06:28:47 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:50:39 MST