Re: spinlock contention

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Florian Pflug <fgp(at)phlo(dot)org>
Cc: "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: spinlock contention
Date: 2011-07-12 22:10:44
Message-ID: 9E90F3CA-FDDA-4ED0-B6B6-61ECCB88C62D@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Jul 12, 2011, at 8:03 AM, Florian Pflug <fgp(at)phlo(dot)org> wrote:
> The algorithm is quite straight forward, if one assumes a lock-free
> implementation of a queue (More on that below)

This is similar to the CAS-based LWLocks I played around with, though I didn't use a lock-free queue. I think I probably need to devote some time to figuring out why that didn't work out to a win...

...Robert

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2011-07-12 22:22:17 interval precision oddness
Previous Message David E. Wheeler 2011-07-12 22:06:13 Re: Arrays of Records in PL/Perl