Re: optimizing repeated MVCC snapshots

From: Florian Weimer <fweimer(at)bfk(dot)de>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
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:01:43
Message-ID: 82ehvefdtk.fsf@mid.bfk.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

* 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.

--
Florian Weimer <fweimer(at)bfk(dot)de>
BFK edv-consulting GmbH http://www.bfk.de/
Kriegsstraße 100 tel: +49-721-96201-1
D-76133 Karlsruhe fax: +49-721-96201-99

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2012-01-05 14:27:16 Re: Page Checksums + Double Writes
Previous Message Robert Haas 2012-01-05 13:54:46 optimizing repeated MVCC snapshots