6.590 计算机系统架构
6.5900/6.823 Computer System Architecture - Fall24
先行条件
6.1910/6.004 Computating Structures
课程描述
介绍现代计算机架构的基本原理。强调在计算机架构演进过程中,技术、硬件组织和编程系统之间的关系。主题包括流水线、乱序执行和推测执行;缓存、虚拟内存和异常处理,超标量、超长指令字(VLIW)、向量和多线程处理器;片上网络、内存模型、同步以及多处理器的缓存一致性协议。
Daniel Sanchez
主题
L-01: Introduction & History of Calculation and Computer Architecture (handout pdf) (split pdf) (pdf)
- L-01: Introduction & History of Calculation and Computer Architecture (handout pdf) (split pdf) (pdf)
- L-02: Instruction Set Architecture and Caches (handout pdf) (split pdf) (pdf)
- L-03: Cache Organization and Memory Management (handout pdf) (split pdf) (pdf)
- L-04: Modern Virtual Memory Systems (handout pdf) (split pdf) (pdf)
- L-05: Instruction Pipelining: Hazard Resolution, Timing Constraints (handout pdf) (split pdf) (pdf)
- L-06: Complex Pipelining (handout pdf) (split pdf) (pdf)
- L-07: Complex Pipelining: Out-of-Order Execution, Register Renaming,and Exceptions (handout pdf) (split pdf) (pdf)
- L-08: Branch Prediction (handout pdf) (split pdf) (pdf)
- L-09: Speculative Execution (handout pdf) (split pdf) (pdf)
- L-10: Advanced Memory Operations (handout pdf) (split pdf) (pdf)
- L-11: Multithreading Architectures (handout pdf) (split pdf) (pdf)
- L-12: Cache Coherence (handout pdf) (split pdf) (pdf)
- L-13: Directory-Based Cache Coherence (handout pdf) (split pdf) (pdf)
- L-14: Memory Consistency (handout pdf) (split pdf) (pdf)
- L-15: On-chip Networks I: Topology and Flow Control (handout pdf) (split pdf) (pdf)
- L-16: On-chip networks II: Router Microarchitecture and Routing (handout pdf) (split pdf) (pdf)
- L-17: Transactional Memory (handout pdf) (split pdf) (pdf)
- L-18: Microcoded and VLIW Processors (handout pdf) (split pdf) (pdf)
- L-19: Reliability (handout pdf) (split pdf) (pdf)
- L-20: Vector Computers (handout pdf) (split pdf) (pdf)
- L-21: GPUs (handout pdf) (split pdf) (pdf)
- L-22: Security (handout pdf) (split pdf) (pdf)
- L-23: Accelerators (I) (handout pdf) (split pdf) (pdf)
- L-24: Accelerators (II) (handout pdf) (split pdf) (pdf)
参考书
- H&P6: Computer Architecture: A Quantitative Approach, 6th edition, by Hennessy and Patterson
- P&H: Computer Organization & Design, by Patterson and Hennessy
- D&T: Principles and practices of interconnection networks by Dally and Towles


学习材料
6.5900[6.823] Fall 2023 Study Materials
Prerequisite Self-Assessment Test (pdf) and accompanying handout (pdf) [Posted on 9/6]
Study Materials for Quiz 1 (L01-L09)
- Problem Set Handouts
- Problem Sets
- Problem Set 1 (L01) (Solution)
- Problem Set 2 (R01) (Solution)
- Problem Set 3 (L02) (Solution)
- Problem Set 4 (L03-04) (Solution)
- Problem Set 5 (R02, L05) (Solution)
- Problem Set 6 (L06-07) (Solution)
- Problem Set 7 (L08) (Solution)
- Problem Set 8 (L09) (Solution)
- Past Quizzes & Related Handouts
- Spring 2021 Quiz 1 Handout - Predication
- Spring 2021 Quiz 1 (Solution)
- Spring 2021 Quiz 2 Handout - Reservation Stations
- Spring 2021 Quiz 2 Handout - Store Sets
- Spring 2021 Quiz 2 (Skip part C, and any questions related to load/store buffers) (Solution)
- Fall 2021 Quiz 1 Handout
- Fall 2021 Quiz 1 (Solution)
- Quiz 1 Handouts
- Quiz 1 Solutions
Study Materials for Quiz 2 (L10-L16)
- Handouts
- Problem Sets
- Past Quizzes & Related Handouts
- Quiz 2 Handout
- This Year's Quiz
Study Materials for Quiz 3 (L17-L25)
Handouts
Problem Sets
Past Quizzes & Related Handouts
Quiz 3 Handout
This Year's Quiz
Recitation
- Tutorial 1: Hardwired, Single-Cycle ISA Implementation (pdf) (split pdf)
- Tutorial 2: Instruction Pipelining (pdf) (split pdf)
- Tutorial 3: Complex Pipelines (pdf)
- Tutorial 4: Branch Prediction (pdf)
- Review 1: Quiz 1 Review
- Tutorial 6: Cache Coherence
- Tutorial 7: Memory Consistency
- Tutorial 8: Networks Problem Set Solutions
- Review 2: Quiz 2 Review
- Tutorial 9: Vector Processors and GPUs (GPU puzzles)
- Review 3: Quiz 3 Review
Lab(MIT Authorization required)
- Video Tutorial: Introduction to Pin (link) (pdf)
- Video Tutorial: Pin Optimizations (link) (pdf)
- Lab1: pdf. Due Sep 29.
- Lab2: pdf. Due Oct 20.
- Lab3: pdf. Due Nov 8.
- Lab4: pdf. Due Dec 8.
相关课程
苏黎世理工 Computer Architecture - Fall 2019
Lec 1 计算机体系架构的介绍
Lec 2 指令集架构和缓存
Lec 3 缓存组织和内存管理
Lec 4 现代虚拟存储系统
Lec 5 指令流水线: 危机解决,时间限制
Lec 6 复杂流水线
Lec 7 复杂流水线:乱序执行,寄存器重命名,异常
Lec 8 分支预测
Lec 9 推测执行
Lec 10 高级内存操作
Lec 11 多线程技术
Lec 12 缓存一致性
Lec 13 目录式缓存一致性
Lec 14 内存一致性模型
Lec 15 片上网络I: 拓扑 & 流控
这节Lec我们将专注于连接共享内存处理器的缓存的片上网络。