Re: optimizing repeated MVCC snapshots
Robert Haas <robertmhaas@gmail.com>
From: Robert Haas <robertmhaas@gmail.com>
To: Florian Weimer <fweimer@bfk.de>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, Simon Riggs <simon@2ndquadrant.com>, Noah Misch <noah@leadboat.com>, Bruce Momjian <bruce@momjian.us>, pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2012-01-05T14:35:45Z
Lists: pgsql-hackers
On Thu, Jan 5, 2012 at 9:01 AM, Florian Weimer <fweimer@bfk.de> wrote: > * Robert Haas: >> and (c) architectures (like 32-bit x86) where ordinary 64-bit >> operations aren't atomic but special instructions (cmpxchg8b) can be >> used to get that behavior. > > FILD and FIST are atomic, too, and are supported by more > micro-architectures. Yeah, I think you (or someone) mentioned the code. If someone wants to write the code, I'm game... -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company