Re: [squid-users] squid performance tunning

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Fri, 19 Aug 2011 01:07:53 +1200

On 18/08/11 22:56, Chen Bangzhong wrote:
> Mean Object Size: 20.61 K
> maximum_object_size_in_memory 1024 KB
>
> So most objects will be save in RAM first, still can't explain why
> there are so many disk writes.
>

Well, I would check the HTTP response headers there. Make sure they are
containing Content-Length: header. If that is missing Squid is forced to
assume it will have infinite length and require disk backing for the
object until it is finished arriving.

The "Mean Object Size:" metric is measured on completely received and
stored objects. So does not really account for unknown length objects or
non-cacheable previous objects.

Amos

-- 
Please be using
  Current Stable Squid 2.7.STABLE9 or 3.1.14
  Beta testers wanted for 3.2.0.10
Received on Thu Aug 18 2011 - 13:07:58 MDT

This archive was generated by hypermail 2.2.0 : Thu Aug 18 2011 - 12:00:04 MDT