Bài giảng Computer Architecture: Chapter 8 - Prof. Jerry Breecher
Số trang: 24
Loại file: ppt
Dung lượng: 352.50 KB
Lượt xem: 4
Lượt tải: 0
Xem trước 3 trang đầu tiên của tài liệu này:
Thông tin tài liệu:
Bài giảng Computer Architecture: Chapter 8 - MultiprocessorsShared Memory Architectures hướng đến trình bày các vấn đề về Introduction – the big picture; centralized Shared Memory Architectures. Cùng tìm hiểu và tham khảo nội dung thông tin tài liệu.
Nội dung trích xuất từ tài liệu:
Bài giảng Computer Architecture: Chapter 8 - Prof. Jerry BreecherComputer Architecture Chapter 8 Multiprocessors Shared Memory Architectures Prof. Jerry Breecher CSCI 240 Fall 2003 Chapter OverviewWe’re going to do only one section from this chapter, that part related to how caches from multiple processors interact with each other.8.1 Introduction – the big picture8.3 Centralized Shared Memory Architectures Chap.8Multiprocessors 2 The Big Picture: Where are Introduction We Now?8.1 Introduction The major issue is this:8.3 Centralized Shared Memory Architectures We’ve taken copies of the contents of main memory and put them in caches closer to the processors. But what happens to those copies if someone else wants to use the main memory data? How do we keep all copies of the data in synch with each other? Chap.8Multiprocessors 3The Multiprocessor Picture Processor/Memory Bus Example: Pentium System Organization PCI Bus I/O Busses Chap.8Multiprocessors 4Shared Memory Multiprocessor Processor Processor Processor Processor Registers Registers Registers Registers Caches Caches Caches Caches Memory Chipset •Memory: centralized with Uniform Memory Access time (“uma”) and bus interconnect, I/O Disk & other IO •Examples: Sun Enterprise 6000, SGI Challenge, Intel SystemPro Chap.8Multiprocessors 5 Shared Memory Multiprocessor• Several processors share one address space P P P – conceptually a shared memory – often implemented just like a Network/Bus multicomputer • address space distributed over private memories M• Communication is implicit Conceptual Model – read and write accesses to shared memory locations• Synchronization – via shared memory locations • spin waiting for non-zero – barriers Chap.8Multiprocessors 6 Message Passing Multicomputers• Computers (nodes) connected by a network – Fast network interface • Send, receive, barrier – Nodes not different than regular PC or workstation• Cluster conventional workstations or PCs with fast network – cluster computing – Berkley NOW Node – IBM SP2 P P P M M M Network Chap.8Multiprocessors 7 Large-Scale MP DesignsMemory: distributed with nonuniform memory access time (“numa”) and scalable interconnect (distributed memory) 100 cycles 40 cycles Low Latency High Reliability 1 cycle Chap.8Multiprocessors 8 Shared Memory Architectures8.1 Introduction In this section we will understand the8.3 Centralized Shared issues around: Memory Architectures • Sharing one memory space among several processors. • Maintaining coherence among several copies of a data item. Chap.8Multiprocessors 9Shared Memory Architectures The Problem of Cache Coherency CPU CPU CPU Cache Cache Cache A’ 100 A’ 550 A’ 100 B’ 200 B’ 200 B’ 200 Memory Memory Memory A 100 A 100 A 100 B 200 B 200 B 440 I/O I/O I/O Output of A gives 100 Input 440 to B a) Cache and memory b) Cache and memory c) Cache and memory coherent: A’ = A, B’ = B. incoherent: A’ ^= A. incoherent: B’ ^= B. Chap.8Multiprocessors 10Shared Memory Some Simple Definitions Architectures Mechanism How It Works Performance Coherency Issues Write modified Good, Can have problem ...
Nội dung trích xuất từ tài liệu:
Bài giảng Computer Architecture: Chapter 8 - Prof. Jerry BreecherComputer Architecture Chapter 8 Multiprocessors Shared Memory Architectures Prof. Jerry Breecher CSCI 240 Fall 2003 Chapter OverviewWe’re going to do only one section from this chapter, that part related to how caches from multiple processors interact with each other.8.1 Introduction – the big picture8.3 Centralized Shared Memory Architectures Chap.8Multiprocessors 2 The Big Picture: Where are Introduction We Now?8.1 Introduction The major issue is this:8.3 Centralized Shared Memory Architectures We’ve taken copies of the contents of main memory and put them in caches closer to the processors. But what happens to those copies if someone else wants to use the main memory data? How do we keep all copies of the data in synch with each other? Chap.8Multiprocessors 3The Multiprocessor Picture Processor/Memory Bus Example: Pentium System Organization PCI Bus I/O Busses Chap.8Multiprocessors 4Shared Memory Multiprocessor Processor Processor Processor Processor Registers Registers Registers Registers Caches Caches Caches Caches Memory Chipset •Memory: centralized with Uniform Memory Access time (“uma”) and bus interconnect, I/O Disk & other IO •Examples: Sun Enterprise 6000, SGI Challenge, Intel SystemPro Chap.8Multiprocessors 5 Shared Memory Multiprocessor• Several processors share one address space P P P – conceptually a shared memory – often implemented just like a Network/Bus multicomputer • address space distributed over private memories M• Communication is implicit Conceptual Model – read and write accesses to shared memory locations• Synchronization – via shared memory locations • spin waiting for non-zero – barriers Chap.8Multiprocessors 6 Message Passing Multicomputers• Computers (nodes) connected by a network – Fast network interface • Send, receive, barrier – Nodes not different than regular PC or workstation• Cluster conventional workstations or PCs with fast network – cluster computing – Berkley NOW Node – IBM SP2 P P P M M M Network Chap.8Multiprocessors 7 Large-Scale MP DesignsMemory: distributed with nonuniform memory access time (“numa”) and scalable interconnect (distributed memory) 100 cycles 40 cycles Low Latency High Reliability 1 cycle Chap.8Multiprocessors 8 Shared Memory Architectures8.1 Introduction In this section we will understand the8.3 Centralized Shared issues around: Memory Architectures • Sharing one memory space among several processors. • Maintaining coherence among several copies of a data item. Chap.8Multiprocessors 9Shared Memory Architectures The Problem of Cache Coherency CPU CPU CPU Cache Cache Cache A’ 100 A’ 550 A’ 100 B’ 200 B’ 200 B’ 200 Memory Memory Memory A 100 A 100 A 100 B 200 B 200 B 440 I/O I/O I/O Output of A gives 100 Input 440 to B a) Cache and memory b) Cache and memory c) Cache and memory coherent: A’ = A, B’ = B. incoherent: A’ ^= A. incoherent: B’ ^= B. Chap.8Multiprocessors 10Shared Memory Some Simple Definitions Architectures Mechanism How It Works Performance Coherency Issues Write modified Good, Can have problem ...
Tìm kiếm theo từ khóa liên quan:
Bài giảng Computer Architecture Kiến trúc máy tính Bộ nhớ chia sẻ Kiến trúc bộ nhớ chia sẻ The big picture Centralized Shared Memory ArchitecturesGợi ý tài liệu liên quan:
-
67 trang 299 1 0
-
Giáo trình Kiến trúc máy tính và quản lý hệ thống máy tính: Phần 1 - Trường ĐH Thái Bình
119 trang 233 0 0 -
105 trang 203 0 0
-
84 trang 199 2 0
-
Giải thuật và cấu trúc dữ liệu
305 trang 159 0 0 -
142 trang 146 0 0
-
Thuyết trình môn kiến trúc máy tính: CPU
20 trang 145 0 0 -
Bài giảng Lắp ráp cài đặt máy tính 1: Bài 2 - Kiến trúc máy tính
56 trang 103 0 0 -
4 trang 96 0 0
-
Giáo trình kiến trúc máy tính - ĐH Cần Thơ
95 trang 86 1 0