Re: [MERGE] 1/2: Populate cache_mem on disk hits

From: Kinkie <gkinkie_at_gmail.com>
Date: Fri, 14 Aug 2009 00:30:15 +0200

On Thu, Aug 13, 2009 at 7:32 PM, Henrik
Nordstrom<henrik_at_henriknordstrom.net> wrote:
> tor 2009-08-13 klockan 13:35 +0200 skrev Kinkie:
>> On Thu, Aug 13, 2009 at 12:38 PM, Henrik
>> Nordstrom<henrik_at_henriknordstrom.net> wrote:
>> > squid.conf option for tuning when to keep objects in memory.
>>
>> +1 for the change :)
>> (adri pointed out on IRC that it may put more pressure on cache_mem,
>> so some tweaks may be warranted)
>
> Setting it to disk would reduce the pressure significantly imho, and is
> why I continued the effort into adding a tuning option.

Sure. I see that falling back to the current behaviour is also possible.
Don't misunderstand me: I believe that this is a great development.
But as I trust Adri's judgement, I felt it would be niceto mention the
fact. Of course, it's not possible to know for sure until the change
is in :)

>> Also, a possible improvement might be to use a fast reply ACL lookup
>> instead of (or in addition to) the config-wide flag to define what
>> goes back into cache_mem.
>
> Maybe, but with cache_mem being as volatile as it is I did not think it
> was worth the effort.

Well, I guess that the worst thing that can happen is a bit of
trashing in cache_mem, which should not be that big a deal anyways,
unless otherwise proven.

-- 
    /kinkie
Received on Thu Aug 13 2009 - 22:30:24 MDT

This archive was generated by hypermail 2.2.0 : Fri Aug 14 2009 - 12:00:04 MDT