Re: [squid-users] elapsed time accuracy

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Fri, 29 Sep 2006 00:20:11 +0200

ons 2006-09-27 klockan 10:43 -0700 skrev Mark Nottingham:
> I'm seeing some apparently impossible elapsed times in access.log,
> e.g., TCP_MISSes DIRECT to servers that are 100+ms away showing 2ms
> elapsed.
>
> I seem to remember someone saying that those numbers were sometimes
> inaccurate, but can't find any more detail. What's the story? My
> first thought was aborted requests, but it appears that about the
> right number of bytes were written.

The time logged by Squid is the time from where Squid has received the
request until it has send the last octet of the response to the TCP
connection. Measurement of this time is as accurate as your computer
clock in gettimeofday().

Hmm.. maybe what you are seeing is merged requests to an already running
fech of that URL? Do you have other requests for the same URL very close
in time?

Regards
Henrik

Received on Thu Sep 28 2006 - 16:20:17 MDT

This archive was generated by hypermail pre-2.1.9 : Sun Oct 01 2006 - 12:00:04 MDT