CS5204/EE5364 - Advanced Computer Architecture - Introduction
CS5204/EE5364 - Advanced Computer Architecture - Introduction
CS5204/EE5364 - Advanced Computer Architecture - Introduction
Introduction
Pen-Chung Yew
Department Computer Science and Engineering
University of Minnesota
With slides from: Profs. Zhai, Mowry, Falsafi, Hill, Hoe, Lipasti, Shen,
Smith, Sohi, Vijaykumar, Patterson, Culler
Teaching Staffs and Course Resources
Instructor: Prof. Pen-Chung Yew
• Office: 6-225C Keller Hall
• E-mail: yew@umn.edu
• Office phone: 612-625-7387
• Office hour: Tuesday 14:30 pm -15:30 pm
TA: Kartik Ramkrishnan
• Office: 6-244 Keller Hall
• Email: ramkr004@umn.edu
• Office hour:
Web Page: https://canvas.umn.edu/courses/460175
2
Defining Computer Architecture
“Traditional” view of computer architecture
(e.g. CS4203/EE4363)
• Instruction Set Architecture (ISA) design, i.e. regarding
system design decisions such as:
• No. of registers, memory addressing, addressing modes,
instruction operands, available operations, control flow
instructions, instruction encoding, support of high-level
language structures …
“Broader” view of computer architecture
(e.g. CS5204/EE5364)
• Specific system requirements of a target machine
• Design to maximize performance within constraints of cost,
technologies/power, availability/reliability, and security
• Includes ISA, microarchitecture/organization, and
hardware design/implementation/optimization.
Traditional View of Computer Architecture
4
Traditional View of Computer Architecture
Instruction Set Architecture (ISA) is a “contract”
between SW programmers and HW designers
Programmers
Software (SW)
Hardware (HW)
Silicon
System Stack in a Computer System
Computer architecture: Cover
Users many levels of abstractions
Software Layers including ISA, organization and
Applications hardware implementation &
optimization for power &
Compilers Operating System performance
Firmware
Instruction Set Architecture
Processor I/O System
Datapath & Control
Digital Design
Circuit Design
Hardware Layers Layout & Fab
Silicon
What This Course Is About
• We assume you have some exposure to basic computer
architectural concepts and programming
• Instruction set architecture (ISA) – assembly languages
• Memory hierarchy – cache memory, virtual memory
• Familiar with some programming language(s)
• Know compilation process and basic OS regarding running
your programs.
• Do ask questions if any subject/concept not clear to you
during lectures !!
• This course is about what, why and how various
factors/requirements impact computer architectural designs,
and what tradeoffs need to be made in real implementation
to meet various design targets (i.e., performance, power….)
Factors/Requirements Impact Computer Design
• Trend in Technologies
• Trend in Power and Energy in Integrated Circuits
• Trend in Costs
• Trend in Applications – Multimedia/AI/Machine Learning
• Dependability
• Security – most recent concerns
=== > Different considerations of above factors in different
commercial markets lead to different classes of computers, which
may have the same ISA, but very different hardware designs and
implementation.
=== > It may even require ISA extensions!!
Impact of Those Factors - Classes of Computers
Desktop Computing
• Emphasis on price-performance
Servers
• Emphasis on availability, scalability, and throughput
11
Embedded Processors Market Is Huge
Time Magazine
July 5, 2021
12
Main Topics
• Instruction set architecture (ISA)
• Execution pipeline design (out-of-order execution)
• Instruction-level parallelism (dynamic scheduling)
• Domain/Application-specific computers
• Warehouse-scale computers
Textbooks
Required Readings:
• Computer Architecture: A Quantitative Approach, 6th
Edition, John Hennessey and David Patterson. Morgan
Kauffman Publishers, 2018. (Available at the University
Bookstore.)
Suggested Readings
• Various research papers: Available online from the course
webpage.
15
More Information and Tech Papers
Major Architecture Conferences:
• International Symposium on Computer Architecture (ISCA)
• International Symposium on Microarchitecture (Micro)
• High-Performance Computer Architecture (HPCA)
• Architectural Support for Programming Languages and Operating
Systems (ASPLOS)
Major Compiler Conferences:
• Programming Language Design and Implementation (PLDI)
• Code Generation and Optimization (CGO)
16
Tentative Course Organization
• 2 Mid-term Exams (50%)
• 75-minute in-class exam each;
• Schedule is on Canvas course web site;
• Each covers its respective portion of course materials;
• No final exam
• No make-up exams.
RISC
22
Growth in Clock Rate over 40 Years
Transistors and Wires – Feature Sizes
• Minimum size of transistor or wire in x and y dimension
• 10 microns (10 x 10-6 meters) in 1971 to .011 microns (i.e. 11 nano-
meters, 11 x 10-9 meters) in 2017, and 5nm in 2021 (TSMC), going
forward to 2nm
https://www.anandtech.com/show/16639/tsmc-update-2nm-in-development-
3nm-4nm-on-track-for-2022
• As a comparison: COVID SARS-CoV-2 virus has a size of about 50 –
140 nm. https://www.news-medical.net/health/The-Size-of-SARS-CoV-2-
Compared-to-Other-Things.aspx. N95 masks should remove 95% of
particles of size less than 300nm
• A water molecule is 0.27nm in diameter (~7.5X smaller than 2nm)
https://www.nanooze.org/sizing-up-a-molecule/
• Transistor performance scales linearly
• But, wire delay does not improve with feature size due to
resistance and capacitance!
• Integration density scales quadratically
Domain-Specific Processors - Energy Efficiency
Figure 1.13 Comparison of the energy and die area of arithmetic operations and
energy cost of accesses to SRAM and DRAM. Area is for TSMC 45 nm technology
1 joule = 1 ampere through 1 ohm for 1 second; 1 watt = 1 joule/second
A mosquito’s wing beat takes ~240 pJ
Intel IC Technology Road Map (~2020)