Re: ARC buffer strategy committed

From: Jan Wieck <JanWieck(at)Yahoo(dot)com>
To: Jan Wieck <JanWieck(at)Yahoo(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: ARC buffer strategy committed
Date: 2003-11-13 14:57:43
Message-ID: 3FB39BE7.1070302@Yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Jan Wieck wrote:

> Tom Lane wrote:
>> Jan Wieck <JanWieck(at)Yahoo(dot)com> writes:
>>> That's strange, if I reverse apply my patch I have buffer leak's and all
>>> kinds of crap. Can't even initdb. Who else applied patches tonight?
>>
>> FWIW, I can initdb --- that seems fine --- but the regression tests spew
>> lots of small fragments. What I suspect is that the bufmgr is
>> occasionally returning the wrong buffer :-(
>
> It does, somehow and magically ... I have not found the exact reason
> yet. I have backed out my patch for the moment, more tomorrow.

Yeah, adding a buffer multiple times to the list of unused buffers
ensures that it later on gets used for multiple contents simultaneously.
Would be cool if that actually worked, it would give the discussion
about recommended shared buffer size a totally new twist ;-)

Jan

--
#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me. #
#================================================== JanWieck(at)Yahoo(dot)com #

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Rod Taylor 2003-11-13 14:59:41 Re: ALTER TABLE modifications
Previous Message Bruce Momjian 2003-11-13 14:52:50 Re: [PATCHES] initdb in C