Question about LWLockAcquire's use of semaphores instead of spinlocks

From: "Robert E(dot) Bruccoleri" <bruc(at)stone(dot)congenomics(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Question about LWLockAcquire's use of semaphores instead of spinlocks
Date: 2002-07-27 01:46:30
Message-ID: 200207270146.VAA27842@stone.congenomics.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On SGI multiprocessor machines, I suspect that a spinlock
implementation of LWLockAcquire would give better performance than
using IPC semaphores. Is there any specific reason that a spinlock
could not be used in this context?

+-----------------------------+------------------------------------+
| Robert E. Bruccoleri, Ph.D. | email: bruc(at)acm(dot)org |
| P.O. Box 314 | URL: http://www.congen.com/~bruc |
| Pennington, NJ 08534 | |
+-----------------------------+------------------------------------+

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Christopher Kings-Lynne 2002-07-27 02:26:44 Virus Emails
Previous Message Matthew Kirkwood 2002-07-26 22:09:08 Re: regd count(count(*)) in group by