Re: 9.4 regression - Mailing list pgsql-hackers

From Jeff Davis
Subject Re: 9.4 regression
Date
Msg-id 1378306890.23979.18.camel@jdavis
Whole thread Raw
In response to Re: 9.4 regression  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: 9.4 regression
List pgsql-hackers
On Thu, 2013-08-08 at 17:42 -0400, Tom Lane wrote:
> Jon Nelson <jnelson+pgsql@jamponi.net> writes:
> > At this point I'm convinced that the issue is a pathological case in
> > ext4. The performance impact disappears as soon as the unwritten
> > extent(s) are written to with real data. Thus, even though allocating
> > files with posix_fallocate is - frequently - orders of magnitude
> > quicker than doing it with write(2), the subsequent re-write can be
> > more expensive.  At least, that's what I'm gathering from the various
> > threads.  Why this issue didn't crop up in earlier testing and why I
> > can't seem to make test_fallocate do it (even when I modify
> > test_fallocate to write to the newly-allocated file in a mostly-random
> > fashion) has me baffled.
> 
> Does your test program use all the same writing options that the real
> WAL writes do (like O_DIRECT)?
> 
> > Should this feature be reconsidered?
> 
> Well, ext4 isn't the whole world, but it's sure a big part of it.
> The real point though is that obviously we didn't do enough performance
> testing, so we'd better do more before deciding what to do.

Greg Smith,

Do you have some thoughts about this? More tests we should run? We may
need to revert the patch.

Regards,Jeff Davis







pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: [9.4] Make full_page_writes only settable on server start?
Next
From: Robert Haas
Date:
Subject: Re: [v9.4] row level security