RE: [squid-users] strange reports after dl-malloc

From: Elsen Marc <elsen@dont-contact.us>
Date: Thu, 9 Dec 2004 10:19:34 +0100

 
>
> Hi,
> The squid has been complied recently to use dl-malloc
> after this i see no performance improvements.

  Why do you expect performance improvements with dl-malloc ?

> , but the
> General RUntime of Cachemgr show these readings.
>
>
> Squid Object Cache: Version 2.5.STABLE7
>
> Start Time: Wed, 08 Dec 2004 14:25:05 GMT
> Current Time: Thu, 09 Dec 2004 08:15:39 GMT
>
> Connection information for squid:
> Number of clients accessing cache: 906
> Number of HTTP requests received: 3607952
> 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: 3370.1
> Average ICP messages per minute since start: 0.0
> Select loop called: 17142403 times, 3.747 ms avg
> Cache information for squid:
> Request Hit Ratios: 5min: 47.8%, 60min: 48.5%
> Byte Hit Ratios: 5min: 18.6%, 60min: 22.0%
> Request Memory Hit Ratios: 5min: 16.7%, 60min: 15.9%
> Request Disk Hit Ratios: 5min: 22.6%, 60min: 23.4%
> Storage Swap size: 151142536 KB
> Storage Mem size: 184308 KB
> Mean Object Size: 15.00 KB
> Requests given to unlinkd: 209
> Median Service Times (seconds) 5 min 60 min:
> HTTP Requests (All): 0.72387 0.68577
> Cache Misses: 1.31166 1.24267
> Cache Hits: 0.00286 0.00463
> Near Hits: 1.24267 1.24267
> Not-Modified Replies: 0.00286 0.00286
> DNS Lookups: 0.39726 0.61955
> ICP Queries: 0.00000 0.00000
> Resource usage for squid:
> UP Time: 64233.957 seconds
> CPU Time: 34581.780 seconds
> CPU Usage: 53.84%
> CPU Usage, 5 minute avg: 97.88%
> CPU Usage, 60 minute avg: 96.75%
> Process Data Segment Size via sbrk(): 915338 KB
> Maximum Resident Size: 0 KB
> Page faults with physical i/o: 849
> Memory usage for squid via mallinfo():
> Total space in arena: 1190794 KB
> Ordinary blocks: 1188575 KB 6170 blks
> Small blocks: 1197714 KB 0 blks
> Holding blocks: 6920 KB 6 blks
> Free Small blocks: 0 KB
> Free Ordinary blocks: 2219 KB
> Total in use: -1801094 KB -149% <--
> Total free: 2219 KB 0%
> Total size: 1197714 KB
> Memory accounted for:
> Total accounted: 974964 KB
> memPoolAlloc calls: 436889036
> memPoolFree calls: 405805933
> File descriptor usage for squid:
> Maximum number of file descriptors: 4096
> Largest file desc currently in use: 1979
> Number of file desc currently in use: 1930
> Files queued for open: 0
> Available number of file descriptors: 2166
> Reserved number of file descriptors: 100
> Store Disk files open: 0
> Internal Data Structures:
> 10076279 StoreEntries
> 35359 StoreEntries with MemObjects
> 35100 Hot Object Cache Items
> 10073713 on-disk objects
>
>
> Why is this showing absurd value. This was not the case till i used
> dl-malloc.

 Perhaps bugs in the malloc package or the way the squid stats. code
interacts with it when reporting stats.

> My compile options were
> Squid Cache: Version 2.5.STABLE7configure
> options: --sysconfdir=/etc/squid --enable-storeio=diskd
> --enable-snmp --ena
> ble-linux-netfilter --enable-underscores
> --enable-removal-policies=lru --dis
> able-ident-lookups --with-dl --enable-err-languages=English
> --enable-dlmallo
> c
> This is on SUSE 8.0 WITH 2.4.18 SMP KERNEL
> After all hard work still with 90-100 requests /sec squid
> hovers around 98%
> CPU.
> Any advice.
>

  M.
 
Received on Thu Dec 09 2004 - 02:20:22 MST

This archive was generated by hypermail pre-2.1.9 : Sat Jan 01 2005 - 12:00:02 MST