S YMMETRIC S HARED M EMORY A RCHITECTURE Presented By: Rahul M.Tech CSE, GBPEC Pauri.

Slides:



Advertisements
Similar presentations
Chapter 5 Part I: Shared Memory Multiprocessors
Advertisements

L.N. Bhuyan Adapted from Patterson’s slides
The University of Adelaide, School of Computer Science
Multiprocessors— Large vs. Small Scale Multiprocessors— Large vs. Small Scale.
Multi-core systems System Architecture COMP25212 Daniel Goodman Advanced Processor Technologies Group.
Cache Coherent Distributed Shared Memory. Motivations Small processor count –SMP machines –Single shared memory with multiple processors interconnected.
Technical University of Lodz Department of Microelectronics and Computer Science Elements of high performance microprocessor architecture Shared-memory.
CIS629 Coherence 1 Cache Coherence: Snooping Protocol, Directory Protocol Some of these slides courtesty of David Patterson and David Culler.
1 Multiprocessors. 2 Idea: create powerful computers by connecting many smaller ones good news: works for timesharing (better than supercomputer) bad.
CS252/Patterson Lec /23/01 CS213 Parallel Processing Architecture Lecture 7: Multiprocessor Cache Coherency Problem.
1 Lecture 18: Coherence Protocols Topics: coherence protocols for symmetric and distributed shared-memory multiprocessors (Sections )
1 Lecture 23: Multiprocessors Today’s topics:  RAID  Multiprocessor taxonomy  Snooping-based cache coherence protocol.
1 CSE SUNY New Paltz Chapter Nine Multiprocessors.
CPE 731 Advanced Computer Architecture Snooping Cache Multiprocessors Dr. Gheith Abandah Adapted from the slides of Prof. David Patterson, University of.
Snooping Cache and Shared-Memory Multiprocessors
Lecture 37: Chapter 7: Multiprocessors Today’s topic –Introduction to multiprocessors –Parallelism in software –Memory organization –Cache coherence 1.
Group 5 Alain J. Percial Paula A. Ortiz Francis X. Ruiz.
1 Shared-memory Architectures Adapted from a lecture by Ian Watson, University of Machester.
Multiprocessor Cache Coherency
Spring 2003CSE P5481 Cache Coherency Cache coherent processors reading processor must get the most current value most current value is the last write Cache.
Computer System Architectures Computer System Software
1 Cache coherence CEG 4131 Computer Architecture III Slides developed by Dr. Hesham El-Rewini Copyright Hesham El-Rewini.
August 15, 2001Systems Architecture II1 Systems Architecture II (CS ) Lecture 12: Multiprocessors: Non-Uniform Memory Access * Jeremy R. Johnson.
Chapter 6 Multiprocessor System. Introduction  Each processor in a multiprocessor system can be executing a different instruction at any time.  The.
EECS 252 Graduate Computer Architecture Lec 13 – Snooping Cache and Directory Based Multiprocessors David Patterson Electrical Engineering and Computer.
ECE200 – Computer Organization Chapter 9 – Multiprocessors.
Lecture 13: Multiprocessors Kai Bu
Ch4. Multiprocessors & Thread-Level Parallelism 2. SMP (Symmetric shared-memory Multiprocessors) ECE468/562 Advanced Computer Architecture Prof. Honggang.
RSIM: An Execution-Driven Simulator for ILP-Based Shared-Memory Multiprocessors and Uniprocessors.
Computer Science and Engineering Copyright by Hesham El-Rewini Advanced Computer Architecture CSE 8383 February Session 13.
1 Lecture 3: Coherence Protocols Topics: consistency models, coherence protocol examples.
August 13, 2001Systems Architecture II1 Systems Architecture II (CS ) Lecture 11: Multiprocessors: Uniform Memory Access * Jeremy R. Johnson Monday,
Additional Material CEG 4131 Computer Architecture III
Multiprocessor  Use large number of processor design for workstation or PC market  Has an efficient medium for communication among the processor memory.
1 Lecture 17: Multiprocessors Topics: multiprocessor intro and taxonomy, symmetric shared-memory multiprocessors (Sections )
Background Computer System Architectures Computer System Software.
Performance of Snooping Protocols Kay Jr-Hui Jeng.
CMSC 611: Advanced Computer Architecture Shared Memory Most slides adapted from David Patterson. Some from Mohomed Younis.
Computer Science and Engineering Copyright by Hesham El-Rewini Advanced Computer Architecture CSE 8383 February Session 7.
COMP8330/7330/7336 Advanced Parallel and Distributed Computing Tree-Based Networks Cache Coherence Dr. Xiao Qin Auburn University
The University of Adelaide, School of Computer Science
22/12/2005 Distributed Shared-Memory Architectures by Seda Demirağ Distrubuted Shared-Memory Architectures by Seda Demirağ.
Multi Processing prepared and instructed by Shmuel Wimer Eng. Faculty, Bar-Ilan University June 2016Multi Processing1.
Lecture 13: Multiprocessors Kai Bu
Group Members Hamza Zahid (131391) Fahad Nadeem khan Abdual Hannan AIR UNIVERSITY MULTAN CAMPUS.
COSC6385 Advanced Computer Architecture
Architecture and Design of AlphaServer GS320
Computer Engineering 2nd Semester
The University of Adelaide, School of Computer Science
The University of Adelaide, School of Computer Science
Multiprocessor Cache Coherency
CMSC 611: Advanced Computer Architecture
Example Cache Coherence Problem
The University of Adelaide, School of Computer Science
Parallel and Multiprocessor Architectures – Shared Memory
Shared Memory Multiprocessors
Kai Bu 13 Multiprocessors So today, we’ll finish the last part of our lecture sessions, multiprocessors.
Interconnect with Cache Coherency Manager
Introduction to Multiprocessors
Miss Rate versus Block Size
/ Computer Architecture and Design
Chapter 4 Multiprocessors
The University of Adelaide, School of Computer Science
Lecture 17 Multiprocessors and Thread-Level Parallelism
Lecture 24: Virtual Memory, Multiprocessors
Lecture 23: Virtual Memory, Multiprocessors
Update : about 8~16% are writes
Lecture 17 Multiprocessors and Thread-Level Parallelism
The University of Adelaide, School of Computer Science
Lecture 17 Multiprocessors and Thread-Level Parallelism
Presentation transcript:

S YMMETRIC S HARED M EMORY A RCHITECTURE Presented By: Rahul M.Tech CSE, GBPEC Pauri

C ONTENTS Introduction Symmetric memory architecture Advantages The limitations Addressing the limitations Problem with more than one copy in caches Preference for Symmetric in small multiprocessor systems Advantages of meeting bandwidth demand References

S YMMETRIC MEMORY ARCHITECTURE One memory system for the entire multiprocessor system Memory references from all of the processors go to that memory system Shared memory systems can be designed using bus-based or switch-based interconnection networks.

S YMMETRIC MEMORY ARCHITECTURE

S HARED MEMORY SYSTEMS CAN BE DESIGNED USING : Bus Based Symmetric Arch. Switch Based Symmetric Arch.

E XAMPLE OF S YMMETRIC M EMORY A RCHITECTURE *****Uniform Memory Access (UMA)***** Shared memory is accessible by all processors through an interconnection network in the same way a single processor accesses its memory. All processors have equal access time to any memory location.

***G RAPHICAL R EPRESENTATION OF UMA***

A DVANTAGES All of the data in the memory accessible to any processor Never a problem with multiple copies of a given datum existence Tightly Coupled Systems Used for General Purpose and Time Sharing Applications

T HE LIMITATIONS Bandwidth of the Symmetric memory system does not grow as the number of processors in the machine increases Latency of the network added to the latency of each memory reference

A DDRESSING THE LIMITATIONS Many Symmetric-memory multiprocessors provide a local cache for each processor Only send requests that miss in the processor’s cache over the network to the main memory

A DDRESSING THE LIMITATIONS C ONT.. Requests that hit in the cache handled quickly and do not need to travel over the network Reducing the amount of data that the network must carry Thus allowing the main memory to support more processors

P ROBLEM WITH MORE THAN ONE COPY IN CACHES More than one cache may have a copy of a given memory location, creating some cache coherence problem

*****Cache Coherence Problem***** A memory system is coherence, when it satisfies these conditions To the same location, a write immediately followed by a read by the same processor will always return the written value. To the same location, a read from P2 immediately follows a write by P1 will returns the value written by P1 Two writes to the same location by any two processors are seen in the same order by all processors

*** Strategies to maintain coherence in Memory Hierarchy*** Write-Through: The memory is updated every time the cache is updated. Write-Back: The memory is updated only when the block in the cache is being replaced. Write-Invalidate: Maintains consistency by reading from local caches until a write occurs. Write Update: Maintains consistency by immediately updating all copies in all caches.

P REFERENCE FOR S YMMETRIC IN SMALL MULTIPROCESSOR SYSTEMS Symmetric memory systems offer the better design when the number of processors in the system small. For these systems, a single memory system may be able to meet the bandwidth demands of the processors, particularly if each processor has a local cache memory

A DVANTAGES OF MEETING BANDWIDTH DEMAND The reduction in design and programming complexity that comes from not having to manage multiple independent memories

R EFRENCES en.wikipedia.com “Advance Comp. Arch.” by Kai Hwang