lecture 01: welcome computer architecture! kai bu [email protected]
TRANSCRIPT
![Page 1: Lecture 01: Welcome Computer Architecture! Kai Bu kaibu@zju.edu.cn](https://reader033.vdocuments.mx/reader033/viewer/2022061604/56649f005503460f94c16903/html5/thumbnails/1.jpg)
Lecture 01: WelcomeComputer Architecture!
http://list.zju.edu.cn/kaibu/comparch2015
![Page 2: Lecture 01: Welcome Computer Architecture! Kai Bu kaibu@zju.edu.cn](https://reader033.vdocuments.mx/reader033/viewer/2022061604/56649f005503460f94c16903/html5/thumbnails/2.jpg)
Instructor
Kai Bu Kai Bu 卜凯卜凯Assistant Professor, College of CS, ZJUPh.D. from Hong Kong PolyU, 2013
Research InterestsResearch Interests:: wireless networking,network security (e.g., RFID, software-defined networking)
http://list.zju.edu.cn/kaibu
![Page 3: Lecture 01: Welcome Computer Architecture! Kai Bu kaibu@zju.edu.cn](https://reader033.vdocuments.mx/reader033/viewer/2022061604/56649f005503460f94c16903/html5/thumbnails/3.jpg)
Textbook
Computer Architecture:A Quantitative Approach5th editionJohn L. HennessyDavid A. Patterson
![Page 4: Lecture 01: Welcome Computer Architecture! Kai Bu kaibu@zju.edu.cn](https://reader033.vdocuments.mx/reader033/viewer/2022061604/56649f005503460f94c16903/html5/thumbnails/4.jpg)
Textbook
Computer Architecture:A Quantitative Approach4th editionJohn L. HennessyDavid A. Patterson
Some instructors may stick to the 4th edWe’ll coordinate to keep the harmony of the course content.
![Page 5: Lecture 01: Welcome Computer Architecture! Kai Bu kaibu@zju.edu.cn](https://reader033.vdocuments.mx/reader033/viewer/2022061604/56649f005503460f94c16903/html5/thumbnails/5.jpg)
Why This Book?
• Quantitative approach: Performance driven
• Know not only how but also why• As in this book
Operating Systems: Three Easy Pieceshttp://pages.cs.wisc.edu/~remzi/OSTEP/
![Page 6: Lecture 01: Welcome Computer Architecture! Kai Bu kaibu@zju.edu.cn](https://reader033.vdocuments.mx/reader033/viewer/2022061604/56649f005503460f94c16903/html5/thumbnails/6.jpg)
Course Website
http://list.zju.edu.cn/kaibu/comparch2015/
![Page 7: Lecture 01: Welcome Computer Architecture! Kai Bu kaibu@zju.edu.cn](https://reader033.vdocuments.mx/reader033/viewer/2022061604/56649f005503460f94c16903/html5/thumbnails/7.jpg)
Syllabus
Reference syllabus by Prof. Jianghttp://list.zju.edu.cn/kaibu/comparch2015/Syllabus_2013spring.pdf
Reference schedulehttp://list.zju.edu.cn/kaibu/comparch/sc
hedule.html
![Page 8: Lecture 01: Welcome Computer Architecture! Kai Bu kaibu@zju.edu.cn](https://reader033.vdocuments.mx/reader033/viewer/2022061604/56649f005503460f94c16903/html5/thumbnails/8.jpg)
Components
• Lectures• Labs• Research Warm-up
![Page 9: Lecture 01: Welcome Computer Architecture! Kai Bu kaibu@zju.edu.cn](https://reader033.vdocuments.mx/reader033/viewer/2022061604/56649f005503460f94c16903/html5/thumbnails/9.jpg)
Components
• Lectures• Labs• Research Warm-up
![Page 10: Lecture 01: Welcome Computer Architecture! Kai Bu kaibu@zju.edu.cn](https://reader033.vdocuments.mx/reader033/viewer/2022061604/56649f005503460f94c16903/html5/thumbnails/10.jpg)
Lectures
• Chapter 1: Fundamentals of Computer Design
classes of computerstrends in technology, power, costdependabilitydependability and performance quantitative principles of comp design
![Page 11: Lecture 01: Welcome Computer Architecture! Kai Bu kaibu@zju.edu.cn](https://reader033.vdocuments.mx/reader033/viewer/2022061604/56649f005503460f94c16903/html5/thumbnails/11.jpg)
Lectures
• Appendix A: Instruction Set Principles
classifying instruction set architecturememory addressingoperationsinstruction encoding the role of compilersexample: MIPS architecture
![Page 12: Lecture 01: Welcome Computer Architecture! Kai Bu kaibu@zju.edu.cn](https://reader033.vdocuments.mx/reader033/viewer/2022061604/56649f005503460f94c16903/html5/thumbnails/12.jpg)
Lectures
• Appendix C: Pipelining
pipeline principlespipeline hazardsimplementation hurdles and solutionsexample: MIPS R4000 pipelineinstruction level parallelism (Chapter 3)
![Page 13: Lecture 01: Welcome Computer Architecture! Kai Bu kaibu@zju.edu.cn](https://reader033.vdocuments.mx/reader033/viewer/2022061604/56649f005503460f94c16903/html5/thumbnails/13.jpg)
Lectures
• Chapter 2: Memory Hierarchy Design
cache performance (App B.2)cache optimizations (App B.3)memory tech and optimizationsvirtual memory (App B.4)protection of virtual memory (App B.5)virtual memory and virtual machinesdesign of memory hierarchies
![Page 14: Lecture 01: Welcome Computer Architecture! Kai Bu kaibu@zju.edu.cn](https://reader033.vdocuments.mx/reader033/viewer/2022061604/56649f005503460f94c16903/html5/thumbnails/14.jpg)
Lectures
• Appendix D: Storage System Performance
I/O performancequeuing theory
![Page 15: Lecture 01: Welcome Computer Architecture! Kai Bu kaibu@zju.edu.cn](https://reader033.vdocuments.mx/reader033/viewer/2022061604/56649f005503460f94c16903/html5/thumbnails/15.jpg)
Lectures
• Chapter 5: Multiprocessors
symmetric shared-memory architecturedistributed shared-memorydirectory-based coherence
![Page 16: Lecture 01: Welcome Computer Architecture! Kai Bu kaibu@zju.edu.cn](https://reader033.vdocuments.mx/reader033/viewer/2022061604/56649f005503460f94c16903/html5/thumbnails/16.jpg)
Components
• Lectures• Labs• Research Warm-up
![Page 17: Lecture 01: Welcome Computer Architecture! Kai Bu kaibu@zju.edu.cn](https://reader033.vdocuments.mx/reader033/viewer/2022061604/56649f005503460f94c16903/html5/thumbnails/17.jpg)
Labs
• 5 lab sessions• Pipeline implementation
![Page 18: Lecture 01: Welcome Computer Architecture! Kai Bu kaibu@zju.edu.cn](https://reader033.vdocuments.mx/reader033/viewer/2022061604/56649f005503460f94c16903/html5/thumbnails/18.jpg)
Labs
• Lab 1warmup Spartan 3E and ISE environment;update verilog code of multi-cycle CPU to 3E board;add one new branch instruction;
reference code:Spartan 3E Display: http://list.zju.edu.cn/kaibu/comparch/lab1-Spartan3E-Display.rar
Spartan Simulation: http://list.zju.edu.cn/kaibu/comparch/spartansimulation.txt
![Page 19: Lecture 01: Welcome Computer Architecture! Kai Bu kaibu@zju.edu.cn](https://reader033.vdocuments.mx/reader033/viewer/2022061604/56649f005503460f94c16903/html5/thumbnails/19.jpg)
Labs
• Lab 2implement 5-stage pipelined CPU with 15 MIPS instructions;
• Lab 3implement stall technique against pipelining hazards;
• Lab 4implement forwarding paths toward faster CPU;
• Lab 5implement a pipelined CPU with 31 MIPS instructions;use predict-not-taken policy to solve control hazard;
![Page 20: Lecture 01: Welcome Computer Architecture! Kai Bu kaibu@zju.edu.cn](https://reader033.vdocuments.mx/reader033/viewer/2022061604/56649f005503460f94c16903/html5/thumbnails/20.jpg)
Labs
• Call for volunteer lab assistants
help tutor & check the demo during lab sessions;
get bonus credit via active class participation;
![Page 21: Lecture 01: Welcome Computer Architecture! Kai Bu kaibu@zju.edu.cn](https://reader033.vdocuments.mx/reader033/viewer/2022061604/56649f005503460f94c16903/html5/thumbnails/21.jpg)
Components
• Lectures• Labs• Research Warm-up
![Page 22: Lecture 01: Welcome Computer Architecture! Kai Bu kaibu@zju.edu.cn](https://reader033.vdocuments.mx/reader033/viewer/2022061604/56649f005503460f94c16903/html5/thumbnails/22.jpg)
Why do you care?
![Page 23: Lecture 01: Welcome Computer Architecture! Kai Bu kaibu@zju.edu.cn](https://reader033.vdocuments.mx/reader033/viewer/2022061604/56649f005503460f94c16903/html5/thumbnails/23.jpg)
Research Warm-up
• Grading: Bonus 5%
75% Literature Review25% Presentation
![Page 24: Lecture 01: Welcome Computer Architecture! Kai Bu kaibu@zju.edu.cn](https://reader033.vdocuments.mx/reader033/viewer/2022061604/56649f005503460f94c16903/html5/thumbnails/24.jpg)
More than that?
![Page 25: Lecture 01: Welcome Computer Architecture! Kai Bu kaibu@zju.edu.cn](https://reader033.vdocuments.mx/reader033/viewer/2022061604/56649f005503460f94c16903/html5/thumbnails/25.jpg)
Learn tolearn things differently
![Page 26: Lecture 01: Welcome Computer Architecture! Kai Bu kaibu@zju.edu.cn](https://reader033.vdocuments.mx/reader033/viewer/2022061604/56649f005503460f94c16903/html5/thumbnails/26.jpg)
Know not only howbut also why
![Page 27: Lecture 01: Welcome Computer Architecture! Kai Bu kaibu@zju.edu.cn](https://reader033.vdocuments.mx/reader033/viewer/2022061604/56649f005503460f94c16903/html5/thumbnails/27.jpg)
Read this book and you’ll seeOperating Systems: Three Easy Pieces
http://pages.cs.wisc.edu/~remzi/OSTEP/
![Page 28: Lecture 01: Welcome Computer Architecture! Kai Bu kaibu@zju.edu.cn](https://reader033.vdocuments.mx/reader033/viewer/2022061604/56649f005503460f94c16903/html5/thumbnails/28.jpg)
Research Warm-up
• Basic Requirements1. Find a research topic you are interested
in: e.g., computer architecture, computer network, network security;
2. Read 2-3 latest papers from recent CCF A conferences; http://www.ccf.org.cn/sites/ccf/paiming.jsp
3. Write a review and prepare a presentation.
![Page 29: Lecture 01: Welcome Computer Architecture! Kai Bu kaibu@zju.edu.cn](https://reader033.vdocuments.mx/reader033/viewer/2022061604/56649f005503460f94c16903/html5/thumbnails/29.jpg)
Research Warm-up
• Notes: The review should cover1. What is the research problem?2. Why is it important?3. What are the solutions?4. Any limitations?5. What would you do?
More on http://list.zju.edu.cn/kaibu/comparch2015/research.html
![Page 30: Lecture 01: Welcome Computer Architecture! Kai Bu kaibu@zju.edu.cn](https://reader033.vdocuments.mx/reader033/viewer/2022061604/56649f005503460f94c16903/html5/thumbnails/30.jpg)
Research Warm-up• Advanced Requirements
your research, your way
improve your review report into a research paper
prototype your idea
![Page 31: Lecture 01: Welcome Computer Architecture! Kai Bu kaibu@zju.edu.cn](https://reader033.vdocuments.mx/reader033/viewer/2022061604/56649f005503460f94c16903/html5/thumbnails/31.jpg)
Call for Research Interns
• and SRTP advisees
• Networking, Security, Architecture:RFID, SDN, Storage, etc.more on http://list.zju.edu.cn/kaibu/publication.html
• And, of course, what else you are interested in
![Page 32: Lecture 01: Welcome Computer Architecture! Kai Bu kaibu@zju.edu.cn](https://reader033.vdocuments.mx/reader033/viewer/2022061604/56649f005503460f94c16903/html5/thumbnails/32.jpg)
Grade?
![Page 33: Lecture 01: Welcome Computer Architecture! Kai Bu kaibu@zju.edu.cn](https://reader033.vdocuments.mx/reader033/viewer/2022061604/56649f005503460f94c16903/html5/thumbnails/33.jpg)
Grading
4% Class participation & performance
16% Homework
8% Pop quiz
32% Lab assignments
40% Final exam (closed-book)
Bonus 5%
Research Warm-up
Bonus 5%
Active class participation
![Page 34: Lecture 01: Welcome Computer Architecture! Kai Bu kaibu@zju.edu.cn](https://reader033.vdocuments.mx/reader033/viewer/2022061604/56649f005503460f94c16903/html5/thumbnails/34.jpg)
How will I teach?
![Page 35: Lecture 01: Welcome Computer Architecture! Kai Bu kaibu@zju.edu.cn](https://reader033.vdocuments.mx/reader033/viewer/2022061604/56649f005503460f94c16903/html5/thumbnails/35.jpg)
What Students Expect from Teachers
• Fun• Humor• Easy exam• High grades• …
![Page 36: Lecture 01: Welcome Computer Architecture! Kai Bu kaibu@zju.edu.cn](https://reader033.vdocuments.mx/reader033/viewer/2022061604/56649f005503460f94c16903/html5/thumbnails/36.jpg)
I wish I knew someonelike this, too…
![Page 37: Lecture 01: Welcome Computer Architecture! Kai Bu kaibu@zju.edu.cn](https://reader033.vdocuments.mx/reader033/viewer/2022061604/56649f005503460f94c16903/html5/thumbnails/37.jpg)
Teaching Plan
• Keep it Simple• Focus on the core concepts• Try to help you more easily understand
![Page 38: Lecture 01: Welcome Computer Architecture! Kai Bu kaibu@zju.edu.cn](https://reader033.vdocuments.mx/reader033/viewer/2022061604/56649f005503460f94c16903/html5/thumbnails/38.jpg)
How will you contribute?
![Page 39: Lecture 01: Welcome Computer Architecture! Kai Bu kaibu@zju.edu.cn](https://reader033.vdocuments.mx/reader033/viewer/2022061604/56649f005503460f94c16903/html5/thumbnails/39.jpg)
Thanks In Advance
• Study group• Lab assistants• Research interns• …
• Start a qq group for discussion?
![Page 40: Lecture 01: Welcome Computer Architecture! Kai Bu kaibu@zju.edu.cn](https://reader033.vdocuments.mx/reader033/viewer/2022061604/56649f005503460f94c16903/html5/thumbnails/40.jpg)
?
![Page 41: Lecture 01: Welcome Computer Architecture! Kai Bu kaibu@zju.edu.cn](https://reader033.vdocuments.mx/reader033/viewer/2022061604/56649f005503460f94c16903/html5/thumbnails/41.jpg)
Who’s Who
![Page 42: Lecture 01: Welcome Computer Architecture! Kai Bu kaibu@zju.edu.cn](https://reader033.vdocuments.mx/reader033/viewer/2022061604/56649f005503460f94c16903/html5/thumbnails/42.jpg)
Ready?