Re: PCTFree Results - Mailing list pgsql-hackers

From Tom Lane
Subject Re: PCTFree Results
Date
Msg-id 28560.1127441157@sss.pgh.pa.us
Whole thread Raw
In response to PCTFree Results  (Josh Berkus <josh@agliodbs.com>)
Responses Re: PCTFree Results  (Josh Berkus <josh@agliodbs.com>)
Re: PCTFree Results  ("Jim C. Nasby" <jnasby@pervasive.com>)
List pgsql-hackers
Josh Berkus <josh@agliodbs.com> writes:
> ... The good news is that it appears that stuff which has been 
> done since July has lessened the penalty for checkpoints somewhat; while 
> the maximum response time is still better on the full_page_writes=off 
> systems, the average throughput is no longer substantially different.   
> Either that, or full_page_writes=off isn't working properly anymore.

I dug through the CVS logs since 5-July (when full_page_writes was
added, so I suppose that's before your unspecified "July" test).
AFAICS the only changes that might possibly affect xlog/checkpoint
performance were these:
Use O_DIRECT if available when using O_SYNC for wal_sync_method.Also, write multiple WAL buffers out in one write()
operation.

Was your test set up so that it would have used O_DIRECT?

With respect to the original point, I'm pretty nervous about either
accepting or rejecting a performance-oriented patch on the strength
of a single test case.  This report certainly doesn't favor the PCTFREE
patch, but it probably shouldn't kill it either.  Anyone want to try it
on some other test cases?
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tatsuo Ishii
Date:
Subject: Re: Proposed patch to clean up signed-ness warnings
Next
From: Bruce Momjian
Date:
Subject: Re: Spinlocks, yet again: analysis and proposed patches