Re: optimizing repeated MVCC snapshots

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Florian Weimer <fweimer(at)bfk(dot)de>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Simon Riggs <simon(at)2ndquadrant(dot)com>, Noah Misch <noah(at)leadboat(dot)com>, Bruce Momjian <bruce(at)momjian(dot)us>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: optimizing repeated MVCC snapshots
Date: 2012-01-05 14:35:45
Message-ID: CA+TgmoZ2aEDMv=z0O2yCKzFxiaZ8QO8h=ywvJn80YOmJa1FdOA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Jan 5, 2012 at 9:01 AM, Florian Weimer <fweimer(at)bfk(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2012-01-05 14:42:58 Re: PL/Perl Does not Like vstrings
Previous Message Benedikt Grundmann 2012-01-05 14:34:27 Re: random_page_cost vs seq_page_cost