Re: Where's the CPU being used up in squid-3 ?

From: Adrian Chadd <adrian@dont-contact.us>
Date: Thu, 28 Sep 2006 08:29:32 +0800

On Wed, Sep 27, 2006, Adrian Chadd wrote:
> On Wed, Sep 27, 2006, Adrian Chadd wrote:
> > On Wed, Sep 27, 2006, Adrian Chadd wrote:
> >
> > > If Temp2 is around the while() loop then it matches the runtime for the
> > > comm close handlers within half a percent - ie, 13.13%.
>
> 4% of that 13% is being tied up in ClientHttpRequest::logRequest(). No, I'm not
> logging; i've turned access/store logging off. The routine is being called
> once per request, so thats ~3000 calls per second. I can't imagine the log entry
> data gathering stuff needs to take that much CPU.

> Could someone please take a look and see if they can figure it out?
> Its got me stumped atm.

3% of that 13% is due to the request/reply being dereferenced in accessLogFreeMemory().

I'll keep digging..
Received on Wed Sep 27 2006 - 18:28:48 MDT

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