OK i recompiled squid with options:
Squid Cache: Version 2.6.STABLE9
configure options: '--enable-storeio=diskd,aufs'
'--enable-removal-policies=heap' '--disable-wccp' '--enable-arp-acl'
'--enable-cache-digests' '--enable-default-err-language=Polish'
'--enable-linux-netfilter' '--disable-ident-lookups'
'--disable-hostname-checks' '--enable-underscores' '--enable-async-io'
'--enable-kill-parent-hack'
Kernel is 2.6.16.18 with epoll compiled in,
But cpu load is still too high:
Linux top command show load oabout 60-99% and is visible latency with
browsing sites,
Connection information for squid:
Number of clients accessing cache: 536
Number of HTTP requests received: 716895
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: 2535.8
Average ICP messages per minute since start: 0.0
Select loop called: 5901882 times, 2.874 ms avg
Cache information for squid:
Request Hit Ratios: 5min: 33.4%, 60min: 40.0%
Byte Hit Ratios: 5min: 8.0%, 60min: 10.6%
Request Memory Hit Ratios: 5min: 7.2%, 60min: 8.7%
Request Disk Hit Ratios: 5min: 36.4%, 60min: 44.3%
Storage Swap size: 2764420 KB
Storage Mem size: 261032 KB
Mean Object Size: 4.92 KB
Requests given to unlinkd: 3
Median Service Times (seconds) 5 min 60 min:
HTTP Requests (All): 0.30459 0.09219
Cache Misses: 0.49576 0.27332
Cache Hits: 0.08265 0.01648
Near Hits: 0.58309 0.14252
Not-Modified Replies: 0.05046 0.01035
DNS Lookups: 0.01269 0.00573
ICP Queries: 0.00000 0.00000
Resource usage for squid:
UP Time: 16962.897 seconds
CPU Time: 5245.116 seconds
CPU Usage: 30.92%
CPU Usage, 5 minute avg: 64.20%
CPU Usage, 60 minute avg: 62.85%
Process Data Segment Size via sbrk(): 722896 KB
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0
Memory usage for squid via mstats():
Total space in arena: 722896 KB
Total free: 41992 KB 6%
Memory accounted for:
Total accounted: 346811 KB
memPoolAlloc calls: 89507551
memPoolFree calls: 87065379
File descriptor usage for squid:
Maximum number of file descriptors: 8192
Largest file desc currently in use: 268
Number of file desc currently in use: 78
Files queued for open: 0
Available number of file descriptors: 8114
Reserved number of file descriptors: 100
Store Disk files open: 0
IO loop method: epoll
Internal Data Structures:
564463 StoreEntries
58351 StoreEntries with MemObjects
58321 Hot Object Cache Items
562295 on-disk objects
Received on Mon Jan 29 2007 - 07:47:32 MST
This archive was generated by hypermail pre-2.1.9 : Thu Feb 01 2007 - 12:00:01 MST