csci341
play

CSCI341 Lecture 38, Introduction to Multicore Architectures GOAL: - PowerPoint PPT Presentation

CSCI341 Lecture 38, Introduction to Multicore Architectures GOAL: PERFORMANCE Recall: Power as the overriding issue. Performance, heat, power efficiency. PIPELINING Exploits potential parallelism among instructions.


  1. CSCI341 Lecture 38, Introduction to Multicore Architectures

  2. GOAL: PERFORMANCE Recall: Power as the overriding issue. Performance, heat, power efficiency.

  3. PIPELINING “Exploits potential parallelism among instructions.” “Instruction-level parallelism”

  4. PROCESS-LEVEL PARALLELISM Utilizing multiple processors by running independent programs simultaneously.

  5. PARALLEL PROCESSING PROGRAM Executing one program upon multiple processors simultaneously.

  6. MULTI-PROCESSOR ARCHITECTURES A system with at least two processors.

  7. MULTI-CORE ARCHITECTURES A system with multiple processors (“cores”) within a single integrated circuit.

  8. SEQUENTIAL VS. CONCURRENT

  9. THE PROBLEM (not about the hardware) It is difficult to write software that uses multiple processors that complete tasks faster. Why?

  10. MUST YIELD THE BENEFIT The parallel implementation must be faster, especially as the number of processors increase. Otherwise, what’s the point? Single-processor instruction-level parallelism has evolved. (see superscalar & out-of-order execution)

  11. COMPLICATIONS • scheduling • load balancing • time for synchronization • communication overhead • Amdahl’s law Example: multiple journalists writing a story.

  12. SMP Shared Memory Multiprocessor Multiple processors, single memory address space. All cores have access to all data. (Multi-core architectures generally use this approach)

  13. SMP

  14. SYNCHRONIZATION Coordinating operations on shared data between multiple processors. Common solution: locks.

  15. MESSAGE PASSING What if each processor has its own address space?

  16. MESSAGE PASSING Pragmatically, manifests as clusters of individual machines. But, there’s a cost to administering these individual physical machines.

  17. VIRTUAL MACHINES An additional layer of abstraction on top of hardware. Multiple cluster nodes on top of hardware, each capable of sending/receiving messages.

  18. SO MUCH MORE... • Multithreading • MIMD (Multiple Instruction / Multiple Data Streams) • Vector architectures (see Cray) • GPUs

  19. AND MORE... Storage & I/O (Chapter 6) One simple approach: memory-mapped I/O

  20. AND MORE... Many instructions are loads/stores... how can we exploit the memory hierarchy?

  21. PRINCIPAL OF LOCALITY • Temporal • Spatial

  22. PRINCIPAL OF LOCALITY Memory closest to the processor fastest (most expensive).

  23. HIERARCHY < 3 ns $2000/GB < 70 ns $20/GB < 20m ns $0.25/GB

  24. HIERARCHY

  25. HOMEWORK • Reading 32 • Final exam program No more homework!

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend