SlideShare ist ein Scribd-Unternehmen logo
1 von 10
DISTRIBUTED SHARED
MEMORY
1
Shyam Soni
9501852909
INTRODUCTION
● DSM is a term in computer science that refers to a wide class of
software and hardware implementations, in which each node of a cluster
has access to shared memory in addition to each node's non-shared
private memory.
●Distributed Shared Memory (DSM), also known as a distributed global
address space (DGAS).
●The processors communicate with one another through various
communication networks,such as high-speed buses or telephone lines.
●A distributed system is a collection of loosely coupled processors
interconnected by a communication network.
Advantage
There are four major advantage of distributed
system
1. Resource Sharing
2. Computation Speedup
3. Reliability
4. Communication
Distributed shared memory
General Architecture of Distributed Shared
Memory (DSM) System :
●It consists of number of nodes or machines or
computer each of which is connected to each other
through high speed communication channel. Each
node has several components associated with it.
●A software memory mapping manager of each node
maps its local memory into the memory mapping into
the virtual shared memory. We call it the Distributed
Shared Memory
Algorithims of DSM
The algorithims for implementing DSM deal
with two basic problems
➔ Static and Dynamic distribution of shared data
across the system, to minimize access latency,
and
➔Preserving a coherent view of shared data ,while
minimizing coherence-management overhead.
Classifications of DSM
Algorithims
●Single reader/Single writer algorithims
●Multiple reader/Single writer algorithims
●Multiple reader/Multiple writer algorithims
Design and Implementation Issues
Thee are various factors that have to be kept In mind while
designing and implementing the DSM systems. They are as
follows:
1.Block Size:
As we know, transfer of the memory blocks is the
major operation in the DSM systems. Therefore block size matters a
lot here.
Size of the block depends on various factors like, paging overhead,
thrashing, false sharing, and directory size.
3.Replacement Strategy:
It may happen that one node might be accessing for a memory block
from DSM when its own local memory is completely full. In such a
case, when the memory block migrating from remote node reaches, it
finds no space to get placed. Thus a replacement strategy of major
concern in the design and implementation of the DSM systems.
Certain block must be removed so as to place the new blocks in such
a situation. Several techniques are used for the replacement of old
blocks such as removal of Least Recently Used memory blocks.
2.Structure of Shared Memory Space
How the shared memory space is organized with data determines the
structure of the shared memory space. It refers to the layout of shared
data. It depends upon the type of application the DSM is going to
handle.
Thank youThank you

Weitere ähnliche Inhalte

Was ist angesagt? (20)

Memory Management
Memory ManagementMemory Management
Memory Management
 
Memory management OS
Memory management OSMemory management OS
Memory management OS
 
Memory management early_systems
Memory management early_systemsMemory management early_systems
Memory management early_systems
 
Overview of Distributed Systems
Overview of Distributed SystemsOverview of Distributed Systems
Overview of Distributed Systems
 
Memory Management in OS
Memory Management in OSMemory Management in OS
Memory Management in OS
 
Memory management
Memory managementMemory management
Memory management
 
Operating Systems
Operating SystemsOperating Systems
Operating Systems
 
Storage management in operating system
Storage management in operating systemStorage management in operating system
Storage management in operating system
 
Ch4 memory management
Ch4 memory managementCh4 memory management
Ch4 memory management
 
Memory management
Memory managementMemory management
Memory management
 
PDT DC015 Chapter 2 Computer System 2017/2018 (i)
PDT DC015 Chapter 2 Computer System 2017/2018 (i)PDT DC015 Chapter 2 Computer System 2017/2018 (i)
PDT DC015 Chapter 2 Computer System 2017/2018 (i)
 
Unit 1 architecture of distributed systems
Unit 1 architecture of distributed systemsUnit 1 architecture of distributed systems
Unit 1 architecture of distributed systems
 
Memory comp
Memory compMemory comp
Memory comp
 
Storage Structure in OS
Storage Structure in OSStorage Structure in OS
Storage Structure in OS
 
Introduction of Memory Management
Introduction of Memory Management Introduction of Memory Management
Introduction of Memory Management
 
Distributed and clustered systems
Distributed and clustered systemsDistributed and clustered systems
Distributed and clustered systems
 
Memory management
Memory managementMemory management
Memory management
 
Memory management
Memory managementMemory management
Memory management
 
IPT Tools 3
IPT Tools 3IPT Tools 3
IPT Tools 3
 
Memory Management
Memory ManagementMemory Management
Memory Management
 

Andere mochten auch

Disgnostico y tratamiento tdah
Disgnostico y tratamiento tdahDisgnostico y tratamiento tdah
Disgnostico y tratamiento tdahdanielo8287
 
Analisis requisito
Analisis requisitoAnalisis requisito
Analisis requisitomartha
 
Dispositivos de red
Dispositivos de redDispositivos de red
Dispositivos de redChacho25
 
Los insectos
Los insectosLos insectos
Los insectosclavito75
 
20111230 elpais havel
20111230 elpais havel20111230 elpais havel
20111230 elpais havelmapv2012
 

Andere mochten auch (8)

Disgnostico y tratamiento tdah
Disgnostico y tratamiento tdahDisgnostico y tratamiento tdah
Disgnostico y tratamiento tdah
 
Desarrollo humano
Desarrollo humanoDesarrollo humano
Desarrollo humano
 
Analisis requisito
Analisis requisitoAnalisis requisito
Analisis requisito
 
Dispositivos de red
Dispositivos de redDispositivos de red
Dispositivos de red
 
Los insectos
Los insectosLos insectos
Los insectos
 
Dios+hablando
Dios+hablandoDios+hablando
Dios+hablando
 
Los Suelos
Los SuelosLos Suelos
Los Suelos
 
20111230 elpais havel
20111230 elpais havel20111230 elpais havel
20111230 elpais havel
 

Ähnlich wie Distributed shared memory shyam soni

Distributed shred memory architecture
Distributed shred memory architectureDistributed shred memory architecture
Distributed shred memory architectureMaulik Togadiya
 
Distributed Shared Memory notes in distributed systems.pptx
Distributed Shared Memory notes in distributed systems.pptxDistributed Shared Memory notes in distributed systems.pptx
Distributed Shared Memory notes in distributed systems.pptxKumbiraiLuciaKondo
 
Advance Operating Systems
Advance Operating SystemsAdvance Operating Systems
Advance Operating SystemsRaghu nath
 
Distributed Shared Memory – A Survey and Implementation Using Openshmem
Distributed Shared Memory – A Survey and Implementation Using OpenshmemDistributed Shared Memory – A Survey and Implementation Using Openshmem
Distributed Shared Memory – A Survey and Implementation Using OpenshmemIJERA Editor
 
Distributed Shared Memory – A Survey and Implementation Using Openshmem
Distributed Shared Memory – A Survey and Implementation Using OpenshmemDistributed Shared Memory – A Survey and Implementation Using Openshmem
Distributed Shared Memory – A Survey and Implementation Using OpenshmemIJERA Editor
 
Chapter 9 OS
Chapter 9 OSChapter 9 OS
Chapter 9 OSC.U
 
Terminologies Used In Big data Environments,G.Sumithra,II-M.sc(computer scien...
Terminologies Used In Big data Environments,G.Sumithra,II-M.sc(computer scien...Terminologies Used In Big data Environments,G.Sumithra,II-M.sc(computer scien...
Terminologies Used In Big data Environments,G.Sumithra,II-M.sc(computer scien...sumithragunasekaran
 
UNIT 1 ERTS-1.pptusbce18ugxy8vsxysqvyexv
UNIT 1 ERTS-1.pptusbce18ugxy8vsxysqvyexvUNIT 1 ERTS-1.pptusbce18ugxy8vsxysqvyexv
UNIT 1 ERTS-1.pptusbce18ugxy8vsxysqvyexveeerithanya
 
Chapter 2 part 1
Chapter 2 part 1Chapter 2 part 1
Chapter 2 part 1rohassanie
 
Lecture 6
Lecture  6Lecture  6
Lecture 6Mr SMAK
 
Lecture 6
Lecture  6Lecture  6
Lecture 6Mr SMAK
 
Lecture 6
Lecture  6Lecture  6
Lecture 6Mr SMAK
 
G.Sumithra,II-M.sc(computer science),Bon secours college for women,thanjavur.
G.Sumithra,II-M.sc(computer science),Bon secours college for women,thanjavur.G.Sumithra,II-M.sc(computer science),Bon secours college for women,thanjavur.
G.Sumithra,II-M.sc(computer science),Bon secours college for women,thanjavur.SumithraG2
 
Distributed Shared Memory
Distributed Shared MemoryDistributed Shared Memory
Distributed Shared MemoryPrakhar Rastogi
 
Memory allocation for real time operating system
Memory allocation for real time operating systemMemory allocation for real time operating system
Memory allocation for real time operating systemAsma'a Lafi
 
G.Sumithra,II-M.sc(computer Science),Bon Secours college for women,Thanjavur.
G.Sumithra,II-M.sc(computer Science),Bon Secours college for women,Thanjavur.G.Sumithra,II-M.sc(computer Science),Bon Secours college for women,Thanjavur.
G.Sumithra,II-M.sc(computer Science),Bon Secours college for women,Thanjavur.SumithraG2
 

Ähnlich wie Distributed shared memory shyam soni (20)

Distributed shred memory architecture
Distributed shred memory architectureDistributed shred memory architecture
Distributed shred memory architecture
 
Distributed Shared Memory notes in distributed systems.pptx
Distributed Shared Memory notes in distributed systems.pptxDistributed Shared Memory notes in distributed systems.pptx
Distributed Shared Memory notes in distributed systems.pptx
 
Advance Operating Systems
Advance Operating SystemsAdvance Operating Systems
Advance Operating Systems
 
Dos unit3
Dos unit3Dos unit3
Dos unit3
 
Distributed Shared Memory – A Survey and Implementation Using Openshmem
Distributed Shared Memory – A Survey and Implementation Using OpenshmemDistributed Shared Memory – A Survey and Implementation Using Openshmem
Distributed Shared Memory – A Survey and Implementation Using Openshmem
 
Distributed Shared Memory – A Survey and Implementation Using Openshmem
Distributed Shared Memory – A Survey and Implementation Using OpenshmemDistributed Shared Memory – A Survey and Implementation Using Openshmem
Distributed Shared Memory – A Survey and Implementation Using Openshmem
 
Distributed shared memory ch 5
Distributed shared memory ch 5Distributed shared memory ch 5
Distributed shared memory ch 5
 
Chapter 9 OS
Chapter 9 OSChapter 9 OS
Chapter 9 OS
 
Chap 4
Chap 4Chap 4
Chap 4
 
Terminologies Used In Big data Environments,G.Sumithra,II-M.sc(computer scien...
Terminologies Used In Big data Environments,G.Sumithra,II-M.sc(computer scien...Terminologies Used In Big data Environments,G.Sumithra,II-M.sc(computer scien...
Terminologies Used In Big data Environments,G.Sumithra,II-M.sc(computer scien...
 
UNIT 1 ERTS-1.pptusbce18ugxy8vsxysqvyexv
UNIT 1 ERTS-1.pptusbce18ugxy8vsxysqvyexvUNIT 1 ERTS-1.pptusbce18ugxy8vsxysqvyexv
UNIT 1 ERTS-1.pptusbce18ugxy8vsxysqvyexv
 
Chapter 2 part 1
Chapter 2 part 1Chapter 2 part 1
Chapter 2 part 1
 
Lecture 6
Lecture  6Lecture  6
Lecture 6
 
Lecture 6
Lecture  6Lecture  6
Lecture 6
 
Lecture 6
Lecture  6Lecture  6
Lecture 6
 
Operating system
Operating systemOperating system
Operating system
 
G.Sumithra,II-M.sc(computer science),Bon secours college for women,thanjavur.
G.Sumithra,II-M.sc(computer science),Bon secours college for women,thanjavur.G.Sumithra,II-M.sc(computer science),Bon secours college for women,thanjavur.
G.Sumithra,II-M.sc(computer science),Bon secours college for women,thanjavur.
 
Distributed Shared Memory
Distributed Shared MemoryDistributed Shared Memory
Distributed Shared Memory
 
Memory allocation for real time operating system
Memory allocation for real time operating systemMemory allocation for real time operating system
Memory allocation for real time operating system
 
G.Sumithra,II-M.sc(computer Science),Bon Secours college for women,Thanjavur.
G.Sumithra,II-M.sc(computer Science),Bon Secours college for women,Thanjavur.G.Sumithra,II-M.sc(computer Science),Bon Secours college for women,Thanjavur.
G.Sumithra,II-M.sc(computer Science),Bon Secours college for women,Thanjavur.
 

Distributed shared memory shyam soni

  • 2. INTRODUCTION ● DSM is a term in computer science that refers to a wide class of software and hardware implementations, in which each node of a cluster has access to shared memory in addition to each node's non-shared private memory. ●Distributed Shared Memory (DSM), also known as a distributed global address space (DGAS). ●The processors communicate with one another through various communication networks,such as high-speed buses or telephone lines. ●A distributed system is a collection of loosely coupled processors interconnected by a communication network.
  • 3. Advantage There are four major advantage of distributed system 1. Resource Sharing 2. Computation Speedup 3. Reliability 4. Communication
  • 5. General Architecture of Distributed Shared Memory (DSM) System : ●It consists of number of nodes or machines or computer each of which is connected to each other through high speed communication channel. Each node has several components associated with it. ●A software memory mapping manager of each node maps its local memory into the memory mapping into the virtual shared memory. We call it the Distributed Shared Memory
  • 6. Algorithims of DSM The algorithims for implementing DSM deal with two basic problems ➔ Static and Dynamic distribution of shared data across the system, to minimize access latency, and ➔Preserving a coherent view of shared data ,while minimizing coherence-management overhead.
  • 7. Classifications of DSM Algorithims ●Single reader/Single writer algorithims ●Multiple reader/Single writer algorithims ●Multiple reader/Multiple writer algorithims
  • 8. Design and Implementation Issues Thee are various factors that have to be kept In mind while designing and implementing the DSM systems. They are as follows: 1.Block Size: As we know, transfer of the memory blocks is the major operation in the DSM systems. Therefore block size matters a lot here. Size of the block depends on various factors like, paging overhead, thrashing, false sharing, and directory size.
  • 9. 3.Replacement Strategy: It may happen that one node might be accessing for a memory block from DSM when its own local memory is completely full. In such a case, when the memory block migrating from remote node reaches, it finds no space to get placed. Thus a replacement strategy of major concern in the design and implementation of the DSM systems. Certain block must be removed so as to place the new blocks in such a situation. Several techniques are used for the replacement of old blocks such as removal of Least Recently Used memory blocks. 2.Structure of Shared Memory Space How the shared memory space is organized with data determines the structure of the shared memory space. It refers to the layout of shared data. It depends upon the type of application the DSM is going to handle.