ECE 5755: Modern Computer Systems and Architecture
Lecture 1: Introduction
Ada Lovelace
Credited for being the first computer programmer on the theoretical machine called the “Analytical Engine”
Initial questions:
Photos, illustrations, graphics here.
Today’s Agenda
Photos, illustrations, graphics here.
Photos, illustrations, graphics here.
The first digital computer! (1945)
Electronic, programmable, general purpose
Photos, illustrations, graphics here.
The first digital computer! (1945)
Electronic, programmable, general purpose
ENIAC consisted 18,000 vacuum tubes, 7,200 crystal diodes, 1,500 relays, 70,000 resistors, 10,000 capacitors, and approximately 5,000,000 hand-soldered joints.
How many FLOPS?
Photos, illustrations, graphics here.
The first digital computer! (1945)
Electronic, programmable, general purpose
ENIAC consisted 18,000 vacuum tubes, 7,200 crystal diodes, 1,500 relays, 70,000 resistors, 10,000 capacitors, and approximately 5,000,000 hand-soldered joints.
500!
Photos, illustrations, graphics here.
Modern computers today
iPhone 14
100mm2
5W
~TFLOPs
NVIDIA A100
12x5x2 inches
250+Watts
~100 TFLOPs
Photos, illustrations, graphics here.
Modern computers today
iPhone 14
100mm2
5W
~TFLOPs
NVIDIA A100
12x5x2 inches
250+Watts
~100 TFLOPs
Photos, illustrations, graphics here.
Original prediction by Gordon Moore
Photos, illustrations, graphics here.
Original prediction by Gordon Moore
Photos, illustrations, graphics here.
The decades long impact of Moore’s Law
2x/1.5yrs
(52% per year)
Compute performance →
Image source: Hennessy and Patterson
Photos, illustrations, graphics here.
The decades long impact of Moore’s Law
2x/1.5yrs
(52% per year)
Slowing Moore’s Law
Compute performance →
Moore’s law has died at the age of 51 after an extended illness…
for now, lawbreaking is going to be the new normal - Ars Technica
Image source: Hennessy and Patterson
Photos, illustrations, graphics here.
The impact of Moore’s Law slowing down
Power eff. trends
CPU perf trends
Disk $/byte trends
DRAM $/byte
trends
Technology
Plateaus
Photos, illustrations, graphics here.
But computing demand continues to grow!
ELMo (93.6M)
BERT(340M)
GPT-2 (1.5B)
Megatron-LM (8.3B)
GPT-3 (175B)
LaMBDA (137B)
Gopher (280B)
PaLM (540B)
Megatron-Turing NLG (530B)
T5 (11B)
~10x/yr trajectory
Scaling of "dense" large language models
Photos, illustrations, graphics here.
Emerging applications introduce new requirements
Photos, illustrations, graphics here.
Computing faces new, exacerbating challenges
Photos, illustrations, graphics here.
Computing is drawing massive amounts of power!
Photos, illustrations, graphics here.
Water: Medium data center uses similar water to small town
Computing has a tremendous global impact too
20
1.2-2.2 Billion tons of CO2
Mobile
Communication
Data center
Computing’s emissions are rising given its growing demand!
Technology companies pledging to be carbon neutral
Apple produces 25 million metric tons of CO2 every year
Photos, illustrations, graphics here.
Technology companies pledging to be carbon neutral
Apple produces 25 million metric tons of CO2 every year
Photos, illustrations, graphics here.
Slowing
Supply
(Moore’s law)
Growing Demand
(New applications)
Problem
Exacerbating Challenges (Security/Privacy, Sustainability)
Photos, illustrations, graphics here.
Slowing
Supply
(Moore’s law)
Growing Demand
(New applications)
Problem
Exacerbating Challenges (Security/Privacy, Sustainability)
Opportunities
Photos, illustrations, graphics here.
“A new golden age of computer architecture”
Photos, illustrations, graphics here.
Changing dynamics with ICT supply chain
Photos, illustrations, graphics here.
NVIDIA GPUs (GH200 and GB200)
Photos, illustrations, graphics here.
Consumer Devices: Intel Lunar Lake
Photos, illustrations, graphics here.
Consumer Devices: Apple SoC
Photos, illustrations, graphics here.
Processing in Memory units
Photos, illustrations, graphics here.
Themes throughout the class
Parallelism
Trade-offs
Co-design
Photos, illustrations, graphics here.
5 minute break!
Photos, illustrations, graphics here.
Today’s Agenda
Photos, illustrations, graphics here.
Topics covered
Photos, illustrations, graphics here.
Topics covered
Photos, illustrations, graphics here.
Course staff
Professor
Udit Gupta
Head TA
Yahya Emara
Photos, illustrations, graphics here.
Instructor: Udit Gupta
Graduated from Cornell in 2016 (ECE Major and CS Minor)!
PhD from Harvard in 2022
Enabling High Performance, Efficient, and Sustainable Deep Learning At Scale
Visiting Research Scientist at Meta (2019-2022)
I love to play chess, try new restaurants and food (vegetarian), hike, and find new TV shows!
Photos, illustrations, graphics here.
TA: Yahya Emara
Photos, illustrations, graphics here.
Prerequisites
Photos, illustrations, graphics here.
Evaluation
Photos, illustrations, graphics here.
Lab Assignments (50%)
Over the semester you will build an ML Kernel library in C.
As you build this library you will optimize its performance gathering detailed performance counters along the way.
Photos, illustrations, graphics here.
Emerging LLM on CPU for deployment
Photos, illustrations, graphics here.
Lab Assignments (50%)
0. Getting to know your tools!, 5%
1. Implement the core ML Kernels (e.g., MatMul, Conv, ReLu), 10%
2. Optimize the ML operations using tiling, blocking, mixed precision 10%
3. Optimize the ML operations using multi-threading, 10%
4. Optimize the ML operations implemented using sparsity, 10%
5. Integrate the ML operations together for end-to-end NN inference benchmarks, 5%
Each assignment will come with theoretical questions to test your knowledge of course material
Photos, illustrations, graphics here.
Intel Top Down for Profiling
Photos, illustrations, graphics here.
Term Paper & Presentation (15%)
Photos, illustrations, graphics here.
Term Paper & Presentation (15%)
Photos, illustrations, graphics here.
Term Paper & Presentation (15%)
Photos, illustrations, graphics here.
In-class Quizzes (30%)
Photos, illustrations, graphics here.
In class participation (5%)
Photos, illustrations, graphics here.
Course Tech
Photos, illustrations, graphics here.
Office Hours
Photos, illustrations, graphics here.
Course Philosophy
Photos, illustrations, graphics here.
Honor Code
Photos, illustrations, graphics here.
Summary
Photos, illustrations, graphics here.