Re: PCTFree Results

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: PCTFree Results
Дата
Msg-id 28560.1127441157@sss.pgh.pa.us
обсуждение исходный текст
Ответ на PCTFree Results  (Josh Berkus <josh@agliodbs.com>)
Ответы Re: PCTFree Results  (Josh Berkus <josh@agliodbs.com>)
Re: PCTFree Results  ("Jim C. Nasby" <jnasby@pervasive.com>)
Список 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 по дате отправления:

Предыдущее
От: Tatsuo Ishii
Дата:
Сообщение: Re: Proposed patch to clean up signed-ness warnings
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Spinlocks, yet again: analysis and proposed patches