| 友商没有对squid运行信息加密,感谢这种无私的“共享”精神!在此我们也把自己主站的squid运行信息公开对比一下。权当技术参考,切勿对号入座 |
| squidclient -h 8-host.net -p 80 mgr:info |
squidclient -h m*u.net -p 80 mgr:info |
|
| HTTP/1.0 200 OK |
HTTP/1.0 200 OK |
友商http应答头内容更详细
同时也透露了一些非必要的信息 单从http头来说捌号主机每一页面节省了30%带宽 |
|
Server: squid |
| Date: Sat, 28 Jun 2008 03:22:37 GMT |
Date: Sat, 28 Jun 2008 03:22:07 GMT |
| Content-Type: text/plain |
Content-Type: text/plain |
| Expires: Sat, 28 Jun 2008 03:22:37 GMT |
Expires: Sat, 28 Jun 2008 03:22:07 GMT |
| Last-Modified: Sat, 28 Jun 2008 03:22:37 GMT |
Last-Modified: Sat, 28 Jun 2008 03:22:07 GMT |
|
X-Cache: MISS from domains.com |
|
Via: 1.0 domains.com:80 (squid) |
| Connection: close |
Connection: close |
| |
| Squid Object Cache: Version 2.6.STABLE20 |
Squid Object Cache: Version 2.6.STABLE17 |
|
| Start Time: Tue, 24 Jun 2008 09:56:00 GMT |
Start Time: Thu, 26 Jun 2008 02:46:03 GMT |
|
| Current Time: Sat, 28 Jun 2008 03:22:37 GMT |
Current Time: Sat, 28 Jun 2008 03:22:07 GMT |
|
| Connection information for squid: |
Connection information for squid: |
|
| Number of clients accessing cache: 14375 |
Number of clients accessing cache: 22859 |
|
| Number of HTTP requests received: 11701856 |
Number of HTTP requests received: 20368965 |
|
| Number of ICP messages received: 0 |
Number of ICP messages received: 0 |
从这里体现出,采用的都是单机缓存,没有非本机镜像的应用! |
| Number of ICP messages sent: 0 |
Number of ICP messages sent: 0 |
| Number of queued ICP replies: 0 |
Number of queued ICP replies: 0 |
| Request failure ratio: 0.00 |
Request failure ratio: 0.00 |
|
| Average HTTP requests per minute since start: 4180.5 |
Average HTTP requests per minute since start: 6985.1 |
|
| Average ICP messages per minute since start: 0.0 |
Average ICP messages per minute since start: 0.0 |
|
| Select loop called: 867167657 times, 1.694 ms avg |
Select loop called: 116158097 times, 1.506 ms avg |
|
| |
| Cache information for squid: |
Cache information for squid: |
|
| Request Hit Ratios: 5min: 93.3%, 60min: 94.6% |
Request Hit Ratios: 5min: 60.5%, 60min: 60.4% |
缓存命中率,捌号主机领先! |
| Byte Hit Ratios: 5min: 74.2%, 60min: 74.5% |
Byte Hit Ratios: 5min: 13.1%, 60min: 11.8% |
|
| Request Memory Hit Ratios: 5min: 72.2%, 60min: 73.8% |
Request Memory Hit Ratios: 5min: 12.5%, 60min: 12.7% |
|
| Request Disk Hit Ratios: 5min: 0.0%, 60min: 0.0% |
Request Disk Hit Ratios: 5min: 20.8%, 60min: 20.4% |
|
| Storage Swap size: 0 KB |
Storage Swap size: 92156 KB |
|
| Storage Mem size: 1048500 KB |
Storage Mem size: 7760 KB |
|
| Mean Object Size: 0.00 KB |
Mean Object Size: 15.69 KB |
|
| Requests given to unlinkd: 0 |
Requests given to unlinkd: 596266 |
|
| |
| Median Service Times (seconds) 5 min 60 min: |
Median Service Times (seconds) 5 min 60 min: |
|
| HTTP Requests (All): 0.00263 0.00179 |
HTTP Requests (All): 0.00179 0.00179 |
|
| Cache Misses: 0.00046 0.00519 |
Cache Misses: 0.00379 0.00463 |
|
| Cache Hits: 0.00091 0.00091 |
Cache Hits: 0.00091 0.00091 |
|
| Near Hits: 0.00598 0.01035 |
Near Hits: 0.00286 0.00286 |
|
| Not-Modified Replies: 0.00179 0.00179 |
Not-Modified Replies: 0.00091 0.00091 |
|
| DNS Lookups: 0.00000 0.00000 |
DNS Lookups: 0.00000 0.00000 |
|
| ICP Queries: 0.00000 0.00000 |
ICP Queries: 0.00000 0.00000 |
|
| |
| Resource usage for squid: |
Resource usage for squid: |
|
| UP Time: 321996.965 seconds |
UP Time: 174964.238 seconds |
|
| CPU Time: 4567.216 seconds |
CPU Time: 8135.207 seconds |
|
| CPU Usage: 2.35% |
CPU Usage: 4.65% |
|
| CPU Usage, 5 minute avg: 1.53% |
CPU Usage, 5 minute avg: 5.50% |
CPU使用情况,难道友商的高性能硬件=高CPU占用么?
4核志强不如双核皓龙?这个有待探讨 |
| CPU Usage, 60 minute avg: 1.78% |
CPU Usage, 60 minute avg: 5.52% |
| Process Data Segment Size via sbrk(): 0 KB |
Process Data Segment Size via sbrk(): 43396 KB |
|
| Maximum Resident Size: 2202212 KB |
Maximum Resident Size: 0 KB |
|
| Page faults with physical i/o: 16 |
Page faults with physical i/o: 2 |
|
|
Memory usage for squid via mallinfo(): |
|
|
Total space in arena: 43396 KB |
|
|
Ordinary blocks: 36298 KB 3840 blks |
|
|
Small blocks: 0 KB 0 blks |
|
|
Holding blocks: 22424 KB 7 blks |
|
|
Free Small blocks: 0 KB |
|
|
Free Ordinary blocks: 7097 KB |
|
|
Total in use: 58722 KB 89% |
|
|
Total free: 7097 KB 11% |
|
|
Total size: 65820 KB |
|
| |
| Memory accounted for: |
Memory accounted for: |
|
| Total accounted: 1147254 KB |
Total accounted: 29615 KB |
|
| memPoolAlloc calls: 1209350996 |
memPoolAlloc calls: 2014994461 |
|
| memPoolFree calls: 1207480992 |
memPoolFree calls: 2014910804 |
|
| |
| File descriptor usage for squid: |
File descriptor usage for squid: |
|
| Maximum number of file descriptors: 14720 |
Maximum number of file descriptors: 65535 |
|
| Largest file desc currently in use: 53 |
Largest file desc currently in use: 1482 |
|
| Number of file desc currently in use: 32 |
Number of file desc currently in use: 1463 |
|
| Files queued for open: 0 |
Files queued for open: 0 |
|
| Available number of file descriptors: 14688 |
Available number of file descriptors: 64072 |
|
| Reserved number of file descriptors: 100 |
Reserved number of file descriptors: 100 |
|
| Store Disk files open: 0 |
Store Disk files open: 2 |
|
| IO loop method: kqueue |
IO loop method: epoll |
|
| |
| Internal Data Structures: |
Internal Data Structures: |
|
| 69074 StoreEntries |
5953 StoreEntries |
|
| 69074 StoreEntries with MemObjects |
1258 StoreEntries with MemObjects |
|
| 69070 Hot Object Cache Items |
1201 Hot Object Cache Items |
|
| 0 on-disk objects |
5873 on-disk objects |
硬盘缓存文件数量,我们认为,硬盘缓存还不如不缓存!捌号主机完全采用内存缓存! |