- 论坛徽章:
- 0
|
回复 #20 kevin.tan 的帖子
200终端左右的代理 我认为应该不成问题
一台PC p4 2.4 单核 1G RAM sata 硬盘 80G 做了16G Cache 10M线路 squid 2.5
拖了800 - 1600 个客户端上网,现在也想再优化
各位有没有好的建议?
Squid Object Cache: Version 2.5.STABLE12-20051215
Start Time: Sun, 15 Jun 2008 21:21:48 GMT
Current Time: Mon, 16 Jun 2008 08:38:08 GMT
Connection information for squid:
Number of clients accessing cache: 901
Number of HTTP requests received: 3365898
Number of ICP messages received: 0
Number of ICP messages sent: 0
Number of queued ICP replies: 0
Request failure ratio: 0.01
Average HTTP requests per minute since start: 4976.7
Average ICP messages per minute since start: 0.0
Select loop called: 14018219 times, 2.895 ms avg
Cache information for squid:
Request Hit Ratios: 5min: 46.7%, 60min: 35.7%
Byte Hit Ratios: 5min: 23.4%, 60min: 21.5%
Request Memory Hit Ratios: 5min: 3.4%, 60min: 5.0%
Request Disk Hit Ratios: 5min: 43.1%, 60min: 32.4%
Storage Swap size: 8253240 KB
Storage Mem size: 49144 KB
Mean Object Size: 21.37 KB
Requests given to unlinkd: 0
Median Service Times (seconds) 5 min 60 min:
HTTP Requests (All): 0.15048 0.16775
Cache Misses: 0.37825 0.33943
Cache Hits: 0.00865 0.01309
Near Hits: 0.33943 0.37825
Not-Modified Replies: 0.00379 0.00379
DNS Lookups: 0.00573 0.00669
ICP Queries: 0.00000 0.00000
Resource usage for squid:
UP Time: 40580.237 seconds
CPU Time: 26833.861 seconds
CPU Usage: 66.13%
CPU Usage, 5 minute avg: 80.71%
CPU Usage, 60 minute avg: 85.55%
Process Data Segment Size via sbrk(): 151416 KB
Maximum Resident Size: 0 KB
Page faults with physical i/o: 3
Memory usage for squid via mallinfo():
Total space in arena: 151416 KB
Ordinary blocks: 123070 KB 2730 blks
Small blocks: 0 KB 0 blks
Holding blocks: 1920 KB 2 blks
Free Small blocks: 0 KB
Free Ordinary blocks: 28345 KB
Total in use: 124990 KB 82%
Total free: 28345 KB 18%
Total size: 153336 KB
Memory accounted for:
Total accounted: 90748 KB
memPoolAlloc calls: 413997233
memPoolFree calls: 412574679
File descriptor usage for squid:
Maximum number of file descriptors: 7168
Largest file desc currently in use: 2092
Number of file desc currently in use: 1194
Files queued for open: 0
Available number of file descriptors: 5974
Reserved number of file descriptors: 100
Store Disk files open: 13
Internal Data Structures:
386904 StoreEntries
9982 StoreEntries with MemObjects
9867 Hot Object Cache Items
386176 on-disk objects |
|