Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* Memory consistency problems on the 8400
@ 1997-03-25  5:00 Jonathan Hill
  1997-03-25  5:00 ` Dirk Grunwald
  1997-03-26  5:00 ` Stephen Hoff Hoffman
  0 siblings, 2 replies; 3+ messages in thread
From: Jonathan Hill @ 1997-03-25  5:00 UTC (permalink / raw)




Hello,

	I'm having some problems on an Alpha 8400 with memory
consistency between processors. I've developed some barrier
synchronisation routines that have a latency of 4 usec on the 8400
compared to 90usec for the best alternative technique that uses
semaphores (see [1] below). However, the barrier doesn't guarantee
memory consistency (so it's pretty useless ;-) as a process can have
writes that are still pending, although each of the processes have
reached a consistent state. There is a nice paper about this problem
from Digital WRL labs [2], which discusses write fences on the
alpha. Is there a system call for performing a memory fence on the
Alpha? i.e., something akin to the following operation which is
available on the T3E?

Thanks...
jon

[1] `Practical barrier synchronisation'' Jonathan M. D. Hill and David
B. Skillicorn. Technical Report 16-96, Programming Research Group,
Oxford University Computing Laboratory, August 1996. 
ftp://ftp.comlab.ox.ac.uk/pub/Documents/techpapers/Jonathan.Hill/HillSkill_barrier.ps.Z

[2] ``Shared memory consistency models: a tutorial'' S. Adve and K
Gharachorloo, Digital WRL labs, Sept 1995.



MEMORY_BARRIER(3I)             CrayLibs 2.0                     SR-3903 2.0

NAME
     MEMORY_BARRIER - Blocks subsequent memory load and store operations
     until all previous loads and stores finish

SYNOPSIS
     C:

     void _memory_barrier(void);

     Fortran:

     MEMORY_BARRIER ()

IMPLEMENTATION
     CRAY T3E systems

STANDARDS
     CF90 compiler extension to Fortran 90

     Cray Standard C compiler extension to Standard C

     Cray C++ compiler extension to Draft Standard C++

DESCRIPTION
     The MEMORY_BARRIER intrinsic subroutine guarantees that subsequent
     loads and stores do not access memory until after previous loads and
     stores finish accessing memory.

     MEMORY_BARRIER does not vectorize.  The compiler generates inline code
     to evalaute this intrinsic.  The name of this intrinsic cannot be
     passed as an argument.

SEE ALSO
     CF90 Fortran Language Reference Manual, Volume 2, publication SR-3903,
     for the printed version of this man page.

-- 
-----------------------------------------------------------
Jonathan Hill,      Oxford University Computing Laboratory
<http://www.comlab.ox.ac.uk/oucl/people/jonathan.hill.html>





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1997-03-26  5:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-03-25  5:00 Memory consistency problems on the 8400 Jonathan Hill
1997-03-25  5:00 ` Dirk Grunwald
1997-03-26  5:00 ` Stephen Hoff Hoffman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox