Re: Patch to improve reliability of postgresql on linux nfs

Florian G. Pflug <fgp@phlo.org>

From: Florian Pflug <fgp@phlo.org>
To: ktm@rice.edu
Cc: George Barnett <gbarnett@atlassian.com>, Bernd Helmle <mailings@oopsware.de>, Tom Lane <tgl@sss.pgh.pa.us>, PostgreSQL-development Hackers <pgsql-hackers@postgresql.org>
Date: 2011-09-13T13:02:57Z
Lists: pgsql-hackers
On Sep13, 2011, at 14:58 , ktm@rice.edu wrote:
> It will be interesting to see if there are any performance ramifications to
> this new write function.

What would those be? For non-interruptible reads and writes, the overhead
comes down to an additional function call (if we don't make pg_write_nointr
inlined) and a few conditional jumps (which branch prediction should be
able to take care of). These are bound to disappear in the noise compared
to the cost of the actual syscall.

best regards,
Florian Pflug