Adrian Chadd escribió:
G'day everyone, I'd like to post some current "internet" caching stats for corporate and ISP forward caching.
Our mgr:info come in only from one proxy of our University.
I'm interested in traffic throughput, request rate, byte and hitrate statistics. (I'm basically looking to build a page or two about this on the Squid website to counter the current view that there's no point in running forward caches in the real world today. I really could do with all the help I could get on this, as I don't currently run forward caches in an ISP environment..)
Adrian, I couldn't imagine our Internet connection without a forward proxy caching. We use several features of squid and another products integrated with squid to give our users a higher-quality Internet experience.
#squidclient -p 8080 mgr:info@mgrpass Squid Object Cache: Version 2.6.STABLE10 Start Time: Tue, 19 Jun 2007 06:33:45 GMT Current Time: Wed, 20 Jun 2007 14:39:52 GMT Connection information for squid: Number of clients accessing cache: 2969 Number of HTTP requests received: 7796055 Number of ICP messages received: 0 Number of ICP messages sent: 0 Number of queued ICP replies: 0 Request failure ratio: 0.00 Average HTTP requests per minute since start: 4047.6 Average ICP messages per minute since start: 0.0 Select loop called: 239078105 times, 0.483 ms avg Cache information for squid: Request Hit Ratios: 5min: 35.1%, 60min: 39.8% Byte Hit Ratios: 5min: 20.1%, 60min: 13.0% Request Memory Hit Ratios: 5min: 1.3%, 60min: 1.9% Request Disk Hit Ratios: 5min: 55.4%, 60min: 51.2% Storage Swap size: 147456200 KB Storage Mem size: 8184 KB Mean Object Size: 18.06 KB Requests given to unlinkd: 0 Median Service Times (seconds) 5 min 60 min: HTTP Requests (All): 0.04277 0.03829 Cache Misses: 0.12783 0.12783 Cache Hits: 0.00286 0.00179 Near Hits: 0.10281 0.07825 Not-Modified Replies: 0.00091 0.00000 DNS Lookups: 0.01852 0.02130 ICP Queries: 0.00000 0.00000 Resource usage for squid: UP Time: 115566.724 seconds CPU Time: 6117.060 seconds CPU Usage: 5.29% CPU Usage, 5 minute avg: 9.84% CPU Usage, 60 minute avg: 9.11% Process Data Segment Size via sbrk(): 820728 KB Maximum Resident Size: 0 KB Page faults with physical i/o: 669 Memory usage for squid via mallinfo(): Total space in arena: 820728 KB Ordinary blocks: 809227 KB 1984 blks Small blocks: 0 KB 0 blks Holding blocks: 6108 KB 5 blks Free Small blocks: 0 KB Free Ordinary blocks: 11500 KB Total in use: 815335 KB 99% Total free: 11500 KB 1% Total size: 826836 KB Memory accounted for: Total accounted: 626931 KB memPoolAlloc calls: 1074538392 memPoolFree calls: 1049979260 File descriptor usage for squid: Maximum number of file descriptors: 2048 Largest file desc currently in use: 1353 Number of file desc currently in use: 923 Files queued for open: 0 Available number of file descriptors: 1125 Reserved number of file descriptors: 100 Store Disk files open: 1 IO loop method: epoll Internal Data Structures: 8165175 StoreEntries 1758 StoreEntries with MemObjects 1661 Hot Object Cache Items 8164968 on-disk objects Thanks Emilio C.