Re: cvs head? initdb? - Mailing list pgsql-hackers

From Jan Wieck
Subject Re: cvs head? initdb?
Date
Msg-id 3FB4F599.1010902@Yahoo.com
Whole thread Raw
In response to Re: cvs head? initdb?  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: cvs head? initdb?  (Robert Treat <xzilla@users.sourceforge.net>)
Re: cvs head? initdb?  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-hackers
Bruce Momjian wrote:
> Jan Wieck wrote:
>> Christopher Browne wrote:
>> 
>> > elein@varlena.com (elein) writes:
>> >> What is the status of CVS head?  Isn't it in sync with 7.4.RC2?  I
>> >> just upgraded from CVS and rebuilt clean and initdb now gives this
>> >> lovely informative initdb failed message.
>> > 
>> > No, I believe that they have started applying 7.5 patches, notably
>> > including reimplementing initdb in C.
>> > 
>> > Jan checked in the ARC changes last night, and he and Tom ran into
>> > some problems, leading to that being pulled back out, while he
>> > revisits the code.
>> 
>> Yeah, there was a problem with *extreme* sharing ... the code tried to 
>> use the same buffer for multiple disk blocks at the same time, and 
>> somehow the backends did not agree on the correct content. But it's 
>> fixed and back in. You can see ARC working by setting
>> 
>>      buffer_strategy_status_interval = 10 # seconds
>> 
>> and starting postmaster with -d1
> 
> It is not on by default?
> 

Sure not. Why would someone turn on debug messages by default?

Or did you mean ARC itself? Since it replaced the old LRU code, it is 
the only choice you have now. Which sort of raises the question if we 
would want to have multiple choices, like a config option

buffer_replacement_strategy = lru|lru2|arc


Jan

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



pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: heads up -- subtle change of behavior of new initdb
Next
From: Robert Treat
Date:
Subject: Re: cvs head? initdb?