shared memory


Also found in: Dictionary, Medical, Acronyms, Wikipedia.
Related to shared memory: Message passing

shared memory

(1)
Memory in a parallel computer, usually RAM, which can be accessed by more than one processor, usually via a shared bus or network.

It usually takes longer for a processor to access shared memory than to access its own private memory because of contention for the processor-to-memory connections and because of other overheads associated with ensuring synchronised access. Computers using shared memory usually have some kind of local cache on each processor to reduce the number of accesses to shared memory. This requires a cache consistency protocol to ensure that one processor's cached copy of a shared memory location is invalidated when another processor writes to that location.

The alternative to shared memory is message passing where all memory is private to some particular processor and processors communicate by sending messages down special links. This is usually slower than shared memory but it avoids the problems of contention for memory and can be implemented more cheaply.

shared memory

(2)
Memory which can be access by more than one process in a multitasking operating system with memory protection. Some Unix variants, e.g. SunOS provide this kind of shared memory.

Unix manual pages: shmop(2), shmctl(2), shmget(2).
This article is provided by FOLDOC - Free Online Dictionary of Computing (foldoc.org)

shared memory

(1) Using part of main memory to support a low-cost display circuit that does not have its own memory. See shared video memory.

(2) The common memory in a symmetric multiprocessing system that is available to all CPUs. See SMP.
Copyright © 1981-2019 by The Computer Language Company Inc. All Rights reserved. THIS DEFINITION IS FOR PERSONAL USE ONLY. All other reproduction is strictly prohibited without permission from the publisher.
References in periodicals archive ?
* MPI_Win_sync: Used to ensure the completion of copying the local memory to the shared memory.
Another obstacle is the bank conflict that may occur while accessing the data in the shared memory. An example of 2-way bank conflict is illustrated in Figure 5.
Any processor can directly reference or access the shared memory at any position.
In this naive implementation, only registers and global memory are used without profiting from the use of shared memory.
- Unifies heterogeneous architectures such as distributed and shared memory systems for integrated operations.
Keywords: JavaSpaces, CORBA, shared memory, message passing, middleware.
Shells, shared memory programming, and more are included, with a companion CD-ROM with code examples reinforcing all the API figures in the book.
This version supports Windows CE 4.2 and features an additional Shared Memory area for faster data exchange between the operating systems, as well as an event-system for better synchronization and an integrated web server.
We reported speedups of as much as 17.5 times on 24 processors of a 32 processor shared memory SGI Origin 2000 (1).
Users can easily upgrade to take advantage of multi-threaded eXtremeDB with its Shared Memory, High Availability and XML-enabling add-ons.
An OEM's primary challenge in designing with these types of systems is in properly partitioning the application code among the multiple processors, allocating shared memory, and building a framework to support scheduling, inter-processor communication and synchronization.

Full browser ?