Chapter 12: Multiprocessor Architectures. Lesson 06: Centralized Shared Memory Architecture

Chapter 12: Multiprocessor Architectures Lesson 06: Centralized Shared Memory Architecture Objective • To understand centralized memory architectur...
Author: Jewel Moody
0 downloads 2 Views 52KB Size
Chapter 12: Multiprocessor Architectures

Lesson 06: Centralized Shared Memory Architecture

Objective • To understand centralized memory architectures of multiprocessor systems

Schaum’s Outline of Theory and Problems of Computer Architecture Copyright © The McGraw-Hill Companies Inc. Indian Special Edition 2009

2

Centralized memory systems

Schaum’s Outline of Theory and Problems of Computer Architecture Copyright © The McGraw-Hill Companies Inc. Indian Special Edition 2009

3

Centralized memory architecture • One memory system for the entire multiprocessor system • Memory references from all of the processors go to that memory system

Schaum’s Outline of Theory and Problems of Computer Architecture Copyright © The McGraw-Hill Companies Inc. Indian Special Edition 2009

4

Centralized Memory Architecture

Schaum’s Outline of Theory and Problems of Computer Architecture Copyright © The McGraw-Hill Companies Inc. Indian Special Edition 2009

5

Advantages of Centralized memory systems

Schaum’s Outline of Theory and Problems of Computer Architecture Copyright © The McGraw-Hill Companies Inc. Indian Special Edition 2009

6

Advantages of Centralized memory systems • All of the data in the memory accessible to any processor • Never a problem with multiple copies of a given datum existence

Schaum’s Outline of Theory and Problems of Computer Architecture Copyright © The McGraw-Hill Companies Inc. Indian Special Edition 2009

7

The limitations

Schaum’s Outline of Theory and Problems of Computer Architecture Copyright © The McGraw-Hill Companies Inc. Indian Special Edition 2009

8

Limitations of Centralized memory systems • Bandwidth of the centralized 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

Schaum’s Outline of Theory and Problems of Computer Architecture Copyright © The McGraw-Hill Companies Inc. Indian Special Edition 2009

9

Addressing the limitations

Schaum’s Outline of Theory and Problems of Computer Architecture Copyright © The McGraw-Hill Companies Inc. Indian Special Edition 2009

10

Addressing the limitations • Many centralized-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

Schaum’s Outline of Theory and Problems of Computer Architecture Copyright © The McGraw-Hill Companies Inc. Indian Special Edition 2009

11

Addressing the limitations • 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

Schaum’s Outline of Theory and Problems of Computer Architecture Copyright © The McGraw-Hill Companies Inc. Indian Special Edition 2009

12

Problem 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

Schaum’s Outline of Theory and Problems of Computer Architecture Copyright © The McGraw-Hill Companies Inc. Indian Special Edition 2009

13

Preference for centralized in small multiprocessor systems

Schaum’s Outline of Theory and Problems of Computer Architecture Copyright © The McGraw-Hill Companies Inc. Indian Special Edition 2009

14

Preference for centralized in small multiprocessor systems • Centralized memory systems often 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

Schaum’s Outline of Theory and Problems of Computer Architecture Copyright © The McGraw-Hill Companies Inc. Indian Special Edition 2009

15

Advantages of meeting bandwidth demand • The reduction in design and programming complexity that comes from not having to manage multiple independent memories

Schaum’s Outline of Theory and Problems of Computer Architecture Copyright © The McGraw-Hill Companies Inc. Indian Special Edition 2009

16

Summary

Schaum’s Outline of Theory and Problems of Computer Architecture Copyright © The McGraw-Hill Companies Inc. Indian Special Edition 2009

17

We Learnt • • •

Centralized memory system Limitations of centralized Better for small multiprocessors systems

Schaum’s Outline of Theory and Problems of Computer Architecture Copyright © The McGraw-Hill Companies Inc. Indian Special Edition 2009

18

End of Lesson 06 on Centralized Shared Memory Architecture

Schaum’s Outline of Theory and Problems of Computer Architecture Copyright © The McGraw-Hill Companies Inc. Indian Special Edition 2009

19

Suggest Documents