Notes for Computer Architecture A Quantitative Approach Sixth Edition

  1. Basic concepts : Chapter 1, Appendix A.
  2. Memory Hierarchy: Appendix B, Chapter 2, and Appendices D and M.
  3. Instruction-Level Parallelism: Appendix C, Chapter 3, and Appendix H.
  4. Data-Level Parallelism: Chapters 4, 6, and 7, Appendix G.
  5. Thread-Level Parallelism: Chapter 5, Appendices F and I.
  6. Request-Level Parallelism: Chapter 6.
  7. ISA: Appendices A and K.
  8. Appendix E.

Appendix E can be read at any time, but it might work better if read after the ISA and cache sequences. Appendix J can be read whenever arithmetic moves you. You should read the corresponding portion of Appendix M after you complete each chapter.

Part I: Basic Concepts

1.1 Chapter 1 Fundamentals of Quantitative Design and Analysis

Notes-for-Computer-Architecture-A-Quantitative-Approach-Sixth-Edition-figure-1.1.png

Amdahl’s Law prescribes practical limits to the number of useful cores per chip.

Classes of Computers

  • IoTs/Embeded Computers
  • Personal mobile device (PMD)
  • Desktop
  • Server
  • Clusters/Warehouse scale computers (WSC)

Classes of parallelism and parallel architectures

  • Data-Level Parallelism (DLP)
  • Instruction-Level Parallelism (ILP)
  • Thread-Level Parallelism (TLP)
  • Request-Level Parallelism (RLP)

RISC-V registers, names, usage, and calling conventions.

2023-01-24 11_56_51-Reader - Computer Architecture_ A Quantitative Approach _ Readwise.png

The base RISC-V instruction set architecture formats.

2023-01-24 14_32_17-Reader - Computer Architecture_ A Quantitative Approach _ Readwise.png

Bandwidth grows by at least the square of the improvement in latency.

2023-01-24 14_52_51-Reader - Computer Architecture_ A Quantitative Approach _ Readwise.png

The energy consumption required per transistor:

The power rqquied per transistor:

Modern microprocessors offer many techs to try to improve energy efficiency:

  • Do nothing well.
  • Dynamic voltage-frequency scaling (DVFS).
  • Design for the typical case.
  • Overclocking

Static power of a CMOS:

The only hope to stop leakage is to turn off power to the chips’ subsets.

Comparson of the energy and die area of arithmetic operations and energy cost of accesses to SRAM and DRAM.
2023-01-24 15_32_57-Computer Architecture_ A Quantitative Approach _ Readwise and 2 more pages - Mor.png

Cost of an integrated circuit:

Bose-Einstein formula (Calcuting the die yield):

There are two main measures for dependability

  • Module reliability: mean time to failure (MTTF), falures in time (FIT), mean time to repair (MTTR).
  • Module availabillity

Computing SPECRation arithmetically:

CPU time for a program:

1.2 Appendix A Instruction Set Principles

Classifying ISA:Stack, Accumulator, Register-memory, and Register-register/load-store.

Little Endian

2023-01-24 20_55_28-Computer Architecture_ A Quantitative Approach _ Readwise and 1 more page - Morp.png

Big Endian

2023-01-24 20_56_23-Computer Architecture_ A Quantitative Approach _ Readwise and 2 more pages - Mor.png

Memory addressing mode: displacement, immediate, and register indirect.

Reference