From: Tom Lane <tgl@sss.pgh.pa.us>
To: Oskari Saarenmaa <os@ohmu.fi>
Cc: pgsql-hackers@postgresql.org
Subject: Re: Use pread and pwrite instead of lseek + write and read
Date: Wed, 17 Aug 2016 09:40:41 -0400
Message-ID: <7109.1471441241@sss.pgh.pa.us> (raw)
In-Reply-To: <a86bd200-ebbe-d829-e3ca-0c4474b2fcb7@ohmu.fi>
References: <a86bd200-ebbe-d829-e3ca-0c4474b2fcb7@ohmu.fi>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>
Oskari Saarenmaa <os@ohmu.fi> writes:
> On my laptop a simple pgbench run (scale 100, 15 minutes) shows a 1.5%
> performance improvement.
I would have hoped for a lot better result before anyone would propose
that we should deal with all the portability issues this'll create.
> A 1.5% performance improvement is small but
> measurable - and IMV more importantly it allows us to drop more than 100
> lines of backwards (compatible?) code; maybe we could start targeting
> more recent platforms in v10?
That's basically nonsense: we'll end up adding way more than that to
deal with platforms that haven't got these APIs.
regards, tom lane
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-hackers@postgresql.org
Cc: tgl@sss.pgh.pa.us, os@ohmu.fi
Subject: Re: Use pread and pwrite instead of lseek + write and read
In-Reply-To: <7109.1471441241@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox