[squid-users] Median Service Times

From: Fabrice Laborie <laborie@dont-contact.us>
Date: Sat, 26 May 2001 13:28:03 +0300

Hi !

I am puzzled over some result I get from my cachemgr

I have several squid2.4.ST1 + patches running on AIX 4.3.x or Linux2.4.x
each taking about 25 req / sec
and when I seem to get some "magic" numbers out of the stats :

0.94847 and 1.91442 seem to be hardcoded ;-)

I have been getting those very same values for the last 3 days !!
( before that I don't know ... i didn't look)
strange hum ??? anybody knows why ???
I cannot believe that this number I get this all the time is real ...

I found this very same value reported by someone else a long time ago ;-)
http://sonja.fon.bg.ac.yu/mirror/squid/mail-archive/squid-users/199807/0226.html
client_http.miss_median_svc_time = 0.948473 seconds

and even the 2.02066 from my General Runtime Info was found here :
http://mirror.cscnet.cz/squid/mail-archive/squid-users/200008/0378.html
client_http.miss_median_svc_time = 2.020665 seconds

VERY VERY strange !!!
is there a problem in collecting the stats ( histograms ?) or in
processing the means ?
( float/double/int casting problems ?)
I am using the enable_time_hack option ... could this be the cause of my
problems?

talking about histogram: I cannot understand the syntax:
client_http.all_svc_time histogram:
  0/0.000000 4466420 80523609.278672
83/87.290488 23 4.696535
105/288.533172 8 0.498144
109/358.316626 6 0.301049
113/444.919327 1 0.040430
115/495.759051 2 0.072585
118/583.090344 12 0.370395
120/649.683087 2 0.055415
etc etc etc ??

can someone explain how to interpret those data ?

(of and by the way: does NearHits means Hit through sibblings ?)

thank you for your help

Fabrice

General Runtime Information:
Median Service Times (seconds) 5 min 60 min:
HTTP Requests (All): 1.91442 0.94847
Cache Misses: 2.02066 1.91442
Cache Hits: 0.00000 0.00000
Near Hits: 1.91442 1.91442
Not-Modified Replies: 0.00000 0.00000
DNS Lookups: 0.00000 0.00000
ICP Queries: 0.00000 0.00000

Cache Utilisation:
Last 5 minutes:
client_http.all_median_svc_time = 1.914422 seconds
client_http.miss_median_svc_time = 2.793973 seconds
client_http.nm_median_svc_time = 0.000000 seconds
client_http.nh_median_svc_time = 2.793973 seconds
client_http.hit_median_svc_time = 0.948473 seconds

Last 15 minutes:
client_http.all_median_svc_time = 1.914422 seconds
client_http.miss_median_svc_time = 2.793973 seconds
client_http.nm_median_svc_time = 0.000000 seconds
client_http.nh_median_svc_time = 2.793973 seconds
client_http.hit_median_svc_time = 0.948473 seconds

Last hour:
client_http.all_median_svc_time = 0.948473 seconds
client_http.miss_median_svc_time = 1.914422 seconds
client_http.nm_median_svc_time = 0.000000 seconds
client_http.nh_median_svc_time = 1.914422 seconds
client_http.hit_median_svc_time = 0.000000 seconds

Last 8 hours:

client_http.all_median_svc_time = 0.948473 seconds
client_http.miss_median_svc_time = 0.948473 seconds
client_http.nm_median_svc_time = 0.000000 seconds
client_http.nh_median_svc_time = 0.948473 seconds
client_http.hit_median_svc_time = 0.000000 seconds

Last day:
client_http.all_median_svc_time = 0.948473 seconds
client_http.miss_median_svc_time = 0.948473 seconds
client_http.nm_median_svc_time = 0.000000 seconds
client_http.nh_median_svc_time = 0.948473 seconds
client_http.hit_median_svc_time = 0.000000 seconds

Last 3 days:

client_http.all_median_svc_time = 0.948473 seconds
client_http.miss_median_svc_time = 0.948473 seconds
client_http.nm_median_svc_time = 0.000000 seconds
client_http.nh_median_svc_time = 0.948473 seconds
client_http.hit_median_svc_time = 0.000000 seconds
Received on Sat May 26 2001 - 04:27:58 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:00:18 MST