CSC/ECE 506 Spring 2012/11a hn: Difference between revisions

From Expertiza_Wiki
Jump to navigation Jump to search
Line 2: Line 2:


In a [http://en.wikipedia.org/wiki/Distributed_shared_memory Distributed Shared Memory (DSM)] several processors share the same address space i.e  a location in memory will be the same physical address for all processors.  Unlike the Shared Memory System they do not actually use a  global memory which is accessible by all processors, instead it is a logical abstraction of a single address space for different memory locations  which can be accessed by all processors.
In a [http://en.wikipedia.org/wiki/Distributed_shared_memory Distributed Shared Memory (DSM)] several processors share the same address space i.e  a location in memory will be the same physical address for all processors.  Unlike the Shared Memory System they do not actually use a  global memory which is accessible by all processors, instead it is a logical abstraction of a single address space for different memory locations  which can be accessed by all processors.
[[image:Shared_memory.jpg|thumb|right|400px|alt=Shared Memory System.|Illustration of Shared memory system [[#References|<sup>[1]</sup>]].]]
[[image:Shared_memory.jpg|thumb|center|400px|alt=Shared Memory System.|Illustration of Shared memory system [[#References|<sup>[1]</sup>]].]]
[[image:DSM.jpg|thumb|left|400px|alt=Distributed Memory System.|Illustration of Distributed memory system [[#References|<sup>[1]</sup>]].]]
[[image:DSM.jpg|thumb|center|400px|alt=Distributed Memory System.|Illustration of Distributed memory system [[#References|<sup>[1]</sup>]].]]


Instead of implementing shared memory model with a bus support the DSM uses a more scalable and less expensive model by supporting the abstraction of shared memory by using message passing. The main memory of a cluster of processors is made to look like a single memory with a single address space. The DSM allows the programmer to share and use variables without having to worry about their management. Hence a processor can access a address space held by other processors main memory. The DSM allows end-users to use the shared memory without knowing the message passing,the idea is to allow inter processor communication which is invisible to the user.  
Instead of implementing shared memory model with a bus support the DSM uses a more scalable and less expensive model by supporting the abstraction of shared memory by using message passing. The main memory of a cluster of processors is made to look like a single memory with a single address space. The DSM allows the programmer to share and use variables without having to worry about their management. Hence a processor can access a address space held by other processors main memory. The DSM allows end-users to use the shared memory without knowing the message passing,the idea is to allow inter processor communication which is invisible to the user.  

Revision as of 19:22, 13 April 2012

Distributed Shared Memory

In a Distributed Shared Memory (DSM) several processors share the same address space i.e a location in memory will be the same physical address for all processors. Unlike the Shared Memory System they do not actually use a global memory which is accessible by all processors, instead it is a logical abstraction of a single address space for different memory locations which can be accessed by all processors.

Shared Memory System.
Illustration of Shared memory system [1].
Distributed Memory System.
Illustration of Distributed memory system [1].

Instead of implementing shared memory model with a bus support the DSM uses a more scalable and less expensive model by supporting the abstraction of shared memory by using message passing. The main memory of a cluster of processors is made to look like a single memory with a single address space. The DSM allows the programmer to share and use variables without having to worry about their management. Hence a processor can access a address space held by other processors main memory. The DSM allows end-users to use the shared memory without knowing the message passing,the idea is to allow inter processor communication which is invisible to the user.

Hardware DSM

Software DSM

Performance of DSM

Performance Improvement

References

  1. Distributed Shared Memory Systems