Performance

From: William Geurts <qqwg@dont-contact.us>
Date: Fri, 29 Jan 1999 12:36:05 +0100

- We use Squid on a Sun Sparc 5 Solaris 2.6 machine. We have 2 * 4 GB
cache-disk and 128 MB memory.

- We have a lot of performance problems. Response to an normal page (in
cache = 180 bytes/s). We have an 2 MB connection to the internet. One
and a half week ago we had the same problem, cleaning the cache helpt
(for a week).

- netstat -a | wc -l = 658

- This is a one task machine, only Squid is running

- We have a potential 1200 users

- cachmgr.cgi show's

- some statistics (generated by pwebstats):
Requests Satisfied by the cache: 115,788
Requests Proxied 212,048
Total number of requests served: 327,836 ***
Bytes sent for cache requests: 515,588,968
Bytes sent for proxy requests: 2,408,021,719
Total number of bytes sent: 2,923,610,687 ***

Cache Hit Rate
Requests: 35.32%
Bytes: 17.64%

Number of Mb sent by this server: 2788.17
Number of hosts using this server: 897

Average number of requests/day: 327,836
Average number of requests/hour: 14253.74
Average number of requests/minute: 237.56

Changes since last summary period:
In total requests to this server: 0%
In total bytes sent by this server: 11%
In number of hosts accessing the server: 0%

- vmstat 2:
 procs memory page disk faults
cpu
 r b w swap free re mf pi po fr de sr s1 s3 s4 -- in sy cs us
sy id

 0 0 0 181632 1956 8 81 280 20 400 0 446 1 79 6 0 364 100 172
3 5 92
 0 1 0 181616 1940 13 88 300 26 370 0 437 1 76 1 0 349 69 186
12 6 81
 0 1 0 181608 1956 7 82 302 40 332 0 375 0 80 1 0 342 35 192
0 6 94
 0 1 0 181596 1968 11 87 302 44 356 0 460 0 80 2 0 402 30 244
1 6 92
 0 1 0 181568 1944 21 101 312 24 418 0 461 0 81 2 0 400 97 229
2 9 89

- iostat -D 2
          sd1 sd3 sd4
 rps wps util rps wps util rps wps util

   0 0 0.0 78 6 95.5 0 0 0.0
   0 0 0.0 75 2 95.9 0 1 0.7
   0 0 0.0 74 5 92.2 0 3 3.0
   0 0 0.0 71 11 96.9 0 0 0.1

d1 = root disk
d2 = /usr/local/squid/cache
d3 = /usr/local/squid/cache1

- The cache.log gives a lot off messages like:
1999/01/29 11:07:35| WARNING: newer swaplog entry for fileno 000163BB
1999/01/29 11:07:35| WARNING: newer swaplog entry for fileno 000163BD
1999/01/29 11:07:35| WARNING: newer swaplog entry for fileno 000163BE
1999/01/29 11:07:35| WARNING: newer swaplog entry for fileno 000163C1
1999/01/29 11:07:35| WARNING: newer swaplog entry for fileno 000163CE
1999/01/29 11:07:35| WARNING: newer swaplog entry for fileno 000163FB
1999/01/29 11:07:35| WARNING: newer swaplog entry for fileno 00016407
1999/01/29 11:07:35| WARNING: newer swaplog entry for fileno 000163F0
1999/01/29 11:07:35| WARNING: newer swaplog entry for fileno 00016409
1999/01/29 11:07:35| WARNING: newer swaplog entry for fileno 00016480
1999/01/29 11:07:35| WARNING: newer swaplog entry for fileno 00016495
1999/01/29 11:07:35| WARNING: newer swaplog entry for fileno 000164BA
1999/01/29 11:07:35| WARNING: newer swaplog entry for fileno 00016516
1999/01/29 11:07:35| WARNING: newer swaplog entry for fileno 00016530
1999/01/29 11:07:35| WARNING: newer swaplog entry for fileno 0001663B
1999/01/29 11:07:35| WARNING: newer swaplog entry for fileno 00016641
1999/01/29 11:08:05| WARNING: newer swaplog entry for fileno 00016744
1999/01/29 11:08:39| WARNING: newer swaplog entry for fileno 000168AC

- We have no access-list, no parent cache, just a simpel configuration

-- 
Best regards,
Oce Technologies B.V.
William Geurts
e-mail: qqwg@oce.nl
tel.  + 31 77 3595259
fax.  + 31 77 3595474
This note does not necessarily represent the position of
Oce-Technologies B.V.  Therefore no liability or resposibility for
whatever will be accepted.
Received on Fri Jan 29 1999 - 05:54:43 MST

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