Re: [HACKERS] 8.3beta1 testing on Solaris - Mailing list pgsql-performance

From Tom Lane
Subject Re: [HACKERS] 8.3beta1 testing on Solaris
Date
Msg-id 24692.1193425696@sss.pgh.pa.us
Whole thread Raw
In response to Re: [HACKERS] 8.3beta1 testing on Solaris  ("Jignesh K. Shah" <J.K.Shah@Sun.COM>)
Responses Re: [HACKERS] 8.3beta1 testing on Solaris
List pgsql-performance
"Jignesh K. Shah" <J.K.Shah@Sun.COM> writes:
> So the ratio of reads vs writes to clog files is pretty huge..

It looks to me that the issue is simply one of not having quite enough
CLOG buffers.  Your first run shows 8 different pages being fetched and
the second shows 10.  Bearing in mind that we "pin" the latest CLOG page
into buffers, there are only NUM_CLOG_BUFFERS-1 buffers available for
older pages, so what we've got here is thrashing for the available
slots.

Try increasing NUM_CLOG_BUFFERS to 16 and see how it affects this test.

            regards, tom lane

pgsql-performance by date:

Previous
From: "Jignesh K. Shah"
Date:
Subject: Re: [HACKERS] 8.3beta1 testing on Solaris
Next
From: "Campbell, Lance"
Date:
Subject: Suggestions on an update query