From: Peter Mayne <peter.mayne@cao.mts.dec.com>
Subject: Re: Alpha UNIX Shared Memory - Need Ideas
Date: 1996/04/23 [thread overview]
Message-ID: <317C6BFC.38CB@cao.mts.dec.com> (raw)
In-Reply-To: 4lbbq3$8ft@news1.h1.usa.pipeline.com
Richard A. Surwilo wrote:
> Our application is a very high volume message switching system and each
> process currently utilizes thousands of locks. UNIX semaphores would appear
> to be too inefficient. Using UNIX file/record locking has been suggested
> but I think it too would exact too much of a performance penalty.
>
> Is there a library of low-level, granular, atomic locking routines
> available on an Alpha running UNIX? SVR4 compliance is immaterial. It just
> needs to be fast.
From the TruCluster Software for Digital UNIX SPD:
{
Distributed Lock Manager
The Distributed Lock Manager (DLM) synchronizes access to the resources
that are shared among cooperating processes throughout the cluster.
DLM provides a software library that applications use to implement a
resource sharing policy. DLM provides services to notify a process
owning a resource that it is blocking another process requesting the
resource. An application can also use DLM routines to coordinate the
application's activities efficiently with the state of the cluster.
}
I imagine that the DLM wouldn't be terribly slow, plus you get the other
advantages of a cluster (memory channel, distributed raw disk, etc).
See http://www.unix.digital.com/trucluster.html for more.
If you want something more basic, the ARM contains examples of how to use Load
Locked/Store Conditional (LDx_L/STx_C) instructions and the Memory Barrier (MB)
instruction to create your own locking mechanisms.
--
PJDM
Digital Equipment Corporation (Australia), Canberra, ACT
--------------------------------------------------------------------------------
These are my opinions, and have nothing to do with Digital.
I design Internet Service Providers. It's a job.
next prev parent reply other threads:[~1996-04-23 4:00 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-04-20 4:00 Alpha UNIX Shared Memory - Need Ideas Richard A. Surwilo
1996-04-23 4:00 ` Dirk Grunwald
1996-04-23 4:00 ` Peter Mayne [this message]
1996-04-24 4:00 ` Curt Smith
-- strict thread matches above, loose matches on Subject: below --
1996-04-21 4:00 Richard A. Surwilo
1996-04-23 4:00 ` David Mosberger-Tang
1996-04-24 4:00 ` Eric Werme
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox