Re: PCTFree Results

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: PCTFree Results
Date: 2005-09-23 02:55:13
Message-ID: 200509221955.13434.josh@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom,

> 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?

Yes, actually. It's Linux, and we used the defaults.

It would be interesting to test on a system that doesn't support the above
and see if full_page_writes=off still makes a significant difference.

> 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?

Right, this doesn't kill PCTFree, what it does is fail to make a case for
it.

--
--Josh

Josh Berkus
Aglio Database Solutions
San Francisco

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2005-09-23 02:59:43 Re: BUG #1883: Renaming a schema leaves inconsistent sequence
Previous Message Tom Lane 2005-09-23 02:29:21 Re: BUG #1883: Renaming a schema leaves inconsistent sequence