Hi Squid Masters,
I want some help for you. I want my squid server to give me caching for
atleast 20 % means 20% bandwdith saving. How do i configure squid to
achieve this target. Plz recommend me the required hardware.
This is a Transparent squid proxy server.
my hardware and os are:
hp brio pentium 3 with 512 ram
40 Gb harddisk.
Redhat 9.0 with default squid 2.5stable1
This server is doing bandwidth management too with tc qdisc. Bandwidth
manegement is working great but squid performance is not good.
Let me give u the results.
HTTP/1.0 200 OK
Server: squid/2.5.STABLE1
Mime-Version: 1.0
Date: Tue, 26 Aug 2003 03:41:13 GMT
Content-Type: text/plain
Expires: Tue, 26 Aug 2003 03:41:13 GMT
Last-Modified: Tue, 26 Aug 2003 03:41:13 GMT
X-Cache: MISS from ICG.d2visp.com
Proxy-Connection: close
Squid Object Cache: Version 2.5.STABLE1
Start Time: Mon, 25 Aug 2003 10:02:00 GMT
Current Time: Tue, 26 Aug 2003 03:41:13 GMT
Connection information for squid:
Number of clients accessing cache: 63
Number of HTTP requests received: 85178
Number of ICP messages received: 6861
Number of ICP messages sent: 6861
Number of queued ICP replies: 0
Request failure ratio: 0.00%
Average HTTP requests per minute since start: 80.4
Average ICP messages per minute since start: 13.0
Select loop called: 793372 times, 80.104 ms avg
Cache information for squid:
Request Hit Ratios: 5min: 61.0%, 60min: 46.3%
Byte Hit Ratios: 5min: 52.8%, 60min: 39.8%
Request Memory Hit Ratios: 5min: 1.5%, 60min: 2.3%
Request Disk Hit Ratios: 5min: 47.3%, 60min: 30.3%
Storage Swap size: 8946620 KB
Storage Mem size: 52036 KB
Mean Object Size: 10.49 KB
Requests given to unlinkd: 1146
Median Service Times (seconds) 5 min 60 min:
HTTP Requests (All): 0.49576 0.52331
Cache Misses: 0.76407 0.72387
Cache Hits: 0.02592 0.02742
Near Hits: 0.64968 0.55240
Not-Modified Replies: 0.01556 0.01847
DNS Lookups: 0.00464 0.00669
ICP Queries: 0.00000 0.00000
Resource usage for squid:
UP Time: 63552.354 seconds
CPU Time: 654.970 seconds
CPU Usage: 1.03%
CPU Usage, 5 minute avg: 0.38%
CPU Usage, 60 minute avg: 0.10%
Maximum Resident Size: 0 KB
Page faults with physical i/o: 1375
Memory usage for squid via mallinfo():
Total space in arena: 149024 KB
Ordinary blocks: 148969 KB 2703 blks
Small blocks: 0 KB 0 blks
Holding blocks: 4200 KB 4 blks
Free Small blocks: 0 KB
Free Ordinary blocks: 55 KB
Total in use: 153169 KB 100%
Total free: 55 KB 0%
Total size: 153224 KB
Memory accounted for:
Total accounted: 111902 KB
memPoolAlloc calls: 14124028
memPoolFree calls: 12292013
File descriptor usage for squid:
Maximum number of file descriptors: 1024
Largest file desc currently in use: 51
Number of file desc currently in use: 48
Files queued for open: 0
Available number of file descriptors: 976
Reserved number of file descriptors: 100
Store Disk files open: 1
Internal Data Structures:
853047 StoreEntries
5276 StoreEntries with MemObjects
5273 Hot Object Cache Items
852761 on-disk objects
what can i do that i can achieve atleast 20 percent bandwidth saving
from this cache server.
I am attaching my squid.conf with this mail.
kindly reply and help me ..
Thanks,
Joel
Received on Mon Aug 25 2003 - 21:41:58 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:19:07 MST