Re: [SQU] Squid Performance problems

From: Mike Richards <mike.richards@dont-contact.us>
Date: Mon, 5 Mar 2001 13:50:39 -0500

Henrik,

squid 2.3r4 compiled with
# ./configure --enable-snmp --enable-poll --enable-async-io=255

my 3 T1's are < 50% utilized....I reduced cache size to atttempt to
find bottleneck in squid......

Mike

----- Original Message -----
From: "Henrik Nordstrom" <hno@hem.passagen.se>
To: "Mike Richards" <mike.richards@cingular.com>
Cc: <squid-users@ircache.net>
Sent: Monday, March 05, 2001 12:12 PM
Subject: Re: [SQU] Squid Performance problems

> Notes:
>
> a) CPU usage is quite high
>
> b) You have very little cache. (100MB)
>
> c) There seems to be quite many using the proxy.
>
> d) Your HIT response time is quite high.
>
>
> The fact that the HIT response time is high may indicate some serious
> performance problems. Either low on memory, or your Squid is blocking on
> disk-io.
>
> What kind of cache store are you using? (ufs / asyncufs)
>
> --
> Henrik Nordstrom
> Squid hacker
>
>
>
> Mike Richards wrote:
> >
> > Folks,
> > Any one got any ideas on what to change to fix squid performance
> > problems.
> > I have 3 T1's to Internet, Sun E250 2x250mz cpus running Solaris
2.6....
> >
> > Mike
> > >
> > > TOP:
> > >
> > > last pid: 12675; load averages: 1.88, 1.75, 1.69
> > > 10:20:44
> > > 43 processes: 40 sleeping, 1 running, 2 on cpu
> > > CPU states: 16.4% idle, 54.9% user, 14.1% kernel, 14.5% iowait, 0.0%
swap
> > > Memory: 256M real, 7808K free, 51M swap in use, 2099M swap free
> > >
> > > PID USERNAME THR PRI NICE SIZE RES STATE TIME CPU COMMAND
> > > 20073 root 4 0 0 31M 27M run 119:57 34.68% squid
> > > 358 root 4 10 0 24M 20M cpu0 203:23 27.01% squid
> > >
> > >
> > >
> > >
> > > Generated Mon, 05 Mar 2001 15:14:59 GMT, by
> > > cachemgr.cgi/2.3.STABLE4
> > >
> > >
> > > Squid Object Cache: Version 2.3.STABLE4
> > >
> > > Start Time: Mon, 05 Mar 2001 10:12:29 GMT
> > > Current Time: Mon, 05 Mar 2001 15:15:02 GMT
> > >
> > >
> > > Connection information for squid:
> > > Number of clients accessing cache: 3064
> > > Number of HTTP requests received: 338573
> > > Number of ICP messages received: 162058
> > > Number of ICP messages sent: 162060
> > > Number of queued ICP replies: 0
> > > Request failure ratio: 0.00%
> > > HTTP requests per minute: 1119.1
> > > ICP messages per minute: 1071.3
> > > Select loop called: 1577670 times, 11.506 ms avg
> > > Cache information for squid:
> > > Request Hit Ratios: 5min: 20.8%, 60min: 19.3%
> > > Byte Hit Ratios: 5min: 4.1%, 60min: 5.4%
> > > Storage Swap size: 96730 KB
> > > Storage Mem size: 8156 KB
> > > Storage LRU Expiration Age: 0.01 days
> > > Mean Object Size: 4.95 KB
> > > Requests given to unlinkd: 0
> > > Median Service Times (seconds) 5 min 60 min:
> > > HTTP Requests (All): 3.86308 1.71839
> > > Cache Misses: 4.54239 2.13280
> > > Cache Hits: 1.24267 0.49576
> > > Near Hits: 4.07741 2.25116
> > > Not-Modified Replies: 1.05672 0.42149
> > > DNS Lookups: 0.02562 0.02336
> > > ICP Queries: 0.00000 0.00000
> > > Resource usage for squid:
> > > UP Time: 18152.853 seconds
> > > CPU Time: 6961.320 seconds
> > > CPU Usage: 38.35%
> > > CPU Usage, 5 minute avg: 70.25%
> > > CPU Usage, 60 minute avg: 71.30%
> > > Maximum Resident Size: 0 KB
> > > Page faults with physical i/o: 25638
> > > Memory accounted for:
> > > Total accounted: 13735 KB
> > > File descriptor usage for squid:
> > > Maximum number of file descriptors: 4096
> > > Largest file desc currently in use: 1108
> > > Number of file desc currently in use: 1049
> > > Files queued for open: 0
> > > Available number of file descriptors: 3047
> > > Reserved number of file descriptors: 100
> > > Store Disk files open: 18
> > >
> > >
> >
> --------------------------------------------------------------------------
> > -----
> > >
> >
> > --
> > To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
>
> --
> To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
>
>
> --------------------------------------------------------------------------
-----
>

--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Mon Mar 05 2001 - 11:53:50 MST

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