need some tuning advise

From: Jorg B. <jorg_b@dont-contact.us>
Date: Fri, 21 May 1999 08:12:48 -0700

Hello,

I'm fairly new to squid and like to ask some of you experienced squid users
for some help on reviewing the stats for my cache server.
Squid is running as a transparent cache behind a Foundry layer 4 switch
without any noticeable problems.
I reviewed my "General Runtime Information" and noticed the following: Page
faults with physical i/o: 104168
By reading the faq it seems to have a problem with memory resources...
Could somebody take a look at the stats below and give me some hints on
what my problem may is.

Here are some details about my machine:

OS : Linux (Slackware 4beta3) Kernel 2.2.6(smp)
Processors: 2 Pentiums 350's
Memory: 256 MB's
Storage: Raid 0 (3 - 10000 RPM seagate UW scsi drives) and one main drive
for the OS
Network: 100BaseT FD

--------------------
Squid Object Cache: Version 2.1.PATCH2

 Start Time:
            Fri, 21 May 1999 03:07:06 GMT
 Current Time:
            Sat, 22 May 1999 14:02:55 GMT

Connection information for squid:
        Number of clients accessing cache: 450
        Number of HTTP requests received: 473020
        Number of ICP messages received: 0
        Number of ICP messages sent: 0
        Number of queued ICP replies: 0
        Request failure ratio: 0.00%
        HTTP requests per minute: 225.7
        ICP messages per minute: 0.0
        Select loop called: 8717162 times, 14.426 ms avg
Cache information for squid:
        Request Hit Ratios: 5min: 32.8%, 60min: 30.6%
        Byte Hit Ratios: 5min: 11.0%, 60min: 12.1%
        Storage Swap size: 1940152 KB
        Storage Mem size: 7348 KB
        Storage LRU Expiration Age: 30.00 days
        Mean Object Size: 9.06 KB
        Requests given to unlinkd: 23716
Median Service Times (seconds) 5 min 60 min:
        HTTP Requests (All): 0.16775 0.17711
        Cache Misses: 0.35832 0.27332
        Cache Hits: 0.03066 0.02742
        Near Hits: 0.24524 0.20843
        Not-Modified Replies: 0.00919 0.02190
        DNS Lookups: 0.00000 0.00000
        ICP Queries: 0.00000 0.00000
Resource usage for squid:
        UP Time: 125749.689 seconds
        CPU Time: 5049.620 seconds
        CPU Usage: 4.02%
        CPU Usage, 5 minute avg: 2.64%
        CPU Usage, 60 minute avg: 3.36%
        Maximum Resident Size: 0 KB
        Page faults with physical i/o: 104168
Memory usage for squid via mallinfo():
        Total space in arena: 33569 KB
        Ordinary blocks: 33021 KB 21265 blks
        Small blocks: 0 KB 0 blks
        Holding blocks: 344 KB 2 blks
        Free Small blocks: 0 KB
        Free Ordinary blocks: 548 KB
        Total in use: 33365 KB 99%
        Total free: 548 KB 2%
Memory accounted for:
        Total accounted: 25962 KB
File descriptor usage for squid:
        Maximum number of file descriptors: 256
        Largest file desc currently in use: 55
        Number of file desc currently in use: 53
        Available number of file descriptors: 203
        Reserved number of file descriptors: 64
        Disk files open: 5
Internal Data Structures:
        214183 StoreEntries
          1532 StoreEntries with MemObjects
          1525 Hot Object Cache Items
        214075 Filemap bits set
        214073 on-disk objects
--------------------

Thanks
Jorg B.
Received on Fri May 21 1999 - 09:23:54 MDT

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