1 ece3055 computer architecture and operating systems lecture 1 introduction prof. hsien-hsin sean...

17
1 ECE3055 ECE3055 Computer Architecture Computer Architecture and Operating Systems and Operating Systems Lecture 1 Introduction Lecture 1 Introduction Prof. Hsien-Hsin Sean Lee Prof. Hsien-Hsin Sean Lee School of Electrical and Computer School of Electrical and Computer Engineering Engineering Georgia Institute of Technology Georgia Institute of Technology

Upload: charla-holly-hodges

Post on 05-Jan-2016

220 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 1 ECE3055 Computer Architecture and Operating Systems Lecture 1 Introduction Prof. Hsien-Hsin Sean Lee School of Electrical and Computer Engineering Georgia

1

ECE3055 ECE3055 Computer Architecture and Computer Architecture and Operating SystemsOperating Systems

Lecture 1 IntroductionLecture 1 Introduction

Prof. Hsien-Hsin Sean LeeProf. Hsien-Hsin Sean Lee

School of Electrical and Computer EngineeringSchool of Electrical and Computer Engineering

Georgia Institute of TechnologyGeorgia Institute of Technology

Page 2: 1 ECE3055 Computer Architecture and Operating Systems Lecture 1 Introduction Prof. Hsien-Hsin Sean Lee School of Electrical and Computer Engineering Georgia

2

Objectives To Learn

Core concepts of microprocessor architecture ISA (review of 2030) Pipelining Hazards Cache/Memory hierarchy Memory management

Core concepts of operating systems Processes/threads Protection Resource Management Scheduling File System

Page 3: 1 ECE3055 Computer Architecture and Operating Systems Lecture 1 Introduction Prof. Hsien-Hsin Sean Lee School of Electrical and Computer Engineering Georgia

3

Course Information

Web page: http://www.ece.gatech.edu/~leehs/ECE3055 Will be constantly updated, so check it out regularly

Prerequisite: ECE2031 Digital Design Lab Textbooks

Patterson and HennesseyPatterson and Hennessey, Computer Organization & Design: The Hardware/Software Interface (3rd edition), Morgan Kaufmann, 2004. ISBN 1-55860-604-1.

Silberschatz, Galvin, and GagneSilberschatz, Galvin, and Gagne, Operating System Concepts with Java (6th edition), John Wiley, 2004. ISBN 0471489050.

Page 4: 1 ECE3055 Computer Architecture and Operating Systems Lecture 1 Introduction Prof. Hsien-Hsin Sean Lee School of Electrical and Computer Engineering Georgia

4

Grading Policy

5 Programming Assignments: 35% (5, 10, 10, 5, 5%) Individual work, no collaboration Due in the first 5 min before class starts No late turn-in will ever be accepted

Exams 3 in-class exams: 45% (15% each, dates TBD) Final: 20% (date on Oscar)

Final Grade is relative to your peer in class

Page 5: 1 ECE3055 Computer Architecture and Operating Systems Lecture 1 Introduction Prof. Hsien-Hsin Sean Lee School of Electrical and Computer Engineering Georgia

5

Part I: Patterson & Hennessy book

Page 6: 1 ECE3055 Computer Architecture and Operating Systems Lecture 1 Introduction Prof. Hsien-Hsin Sean Lee School of Electrical and Computer Engineering Georgia

6

Introduction

Rapidly changing field: vacuum tube -> transistor -> IC -> VLSI (see section 1.4) doubling every 1.5 years:

memory capacity processor speed (Due to advances in technology and

organization)

Things you’ll be learning: how computers work, a basic foundation how to analyze their performance (or how not to!) issues affecting modern processors (caches, pipelines)

Why learn this stuff? you want to call yourself a “computer scientist” you want to build software people use (need performance) you need to make a purchasing decision or offer “expert” advice

Page 7: 1 ECE3055 Computer Architecture and Operating Systems Lecture 1 Introduction Prof. Hsien-Hsin Sean Lee School of Electrical and Computer Engineering Georgia

7

Moore’s Law

Exponential growthExponential growth

42 millions

2,250

IBM latest POWER5 has IBM latest POWER5 has 276 million transistors276 million transistors

Intel Dual-Core Xeon (P4-Intel Dual-Core Xeon (P4-based Tulsa) w/ 16MB unified based Tulsa) w/ 16MB unified L3: 1.328 billion, 2006L3: 1.328 billion, 2006

Transistor count will be doubled every 18 monthsTransistor count will be doubled every 18 months Gordon Moore, Intel co-founder

P4 Extreme Ed. 178 millions w/ 2MB

L3

Core 2 Duo (Conroe) 291 millions, July

2006

Page 8: 1 ECE3055 Computer Architecture and Operating Systems Lecture 1 Introduction Prof. Hsien-Hsin Sean Lee School of Electrical and Computer Engineering Georgia

8

Integrated Circuits Capacity

Page 9: 1 ECE3055 Computer Architecture and Operating Systems Lecture 1 Introduction Prof. Hsien-Hsin Sean Lee School of Electrical and Computer Engineering Georgia

9

Feature Size

We are currently at 0.09µm and moving towards 0.065µm

Page 10: 1 ECE3055 Computer Architecture and Operating Systems Lecture 1 Introduction Prof. Hsien-Hsin Sean Lee School of Electrical and Computer Engineering Georgia

10

Average Transistor Cost Per Year

Page 11: 1 ECE3055 Computer Architecture and Operating Systems Lecture 1 Introduction Prof. Hsien-Hsin Sean Lee School of Electrical and Computer Engineering Georgia

11

What is a computer?

Components: Processor(s) Co-processors (graphics, security) Memory (disk drives, DRAM, SRAM, CD/DVD) input (mouse, keyboard, mic) output (display, printer) network

Our primary focus: the processor (datapath and control) implemented using millions of transistors Impossible to understand by looking at each transistor We need...

Page 12: 1 ECE3055 Computer Architecture and Operating Systems Lecture 1 Introduction Prof. Hsien-Hsin Sean Lee School of Electrical and Computer Engineering Georgia

12

Abstraction

Delving into the depths reveals more information

An abstraction omits unneeded detail, helps us cope with complexity

What are some of the details that appear in these familiar abstractions?

CompilerCompiler

… lw r2, mem[r7] add r3, r4, r2 st r3, mem[r8]

High Level Language

main() { int i,b,c,a[10]; for (i=0; i<10; i++)… a[2] = b + c*i;}

AssemblerAssembler

ISA

Page 13: 1 ECE3055 Computer Architecture and Operating Systems Lecture 1 Introduction Prof. Hsien-Hsin Sean Lee School of Electrical and Computer Engineering Georgia

13

A Typical PC System Architecture

Page 14: 1 ECE3055 Computer Architecture and Operating Systems Lecture 1 Introduction Prof. Hsien-Hsin Sean Lee School of Electrical and Computer Engineering Georgia

14

A Typical PC Motherboard (D975XBX)

Page 15: 1 ECE3055 Computer Architecture and Operating Systems Lecture 1 Introduction Prof. Hsien-Hsin Sean Lee School of Electrical and Computer Engineering Georgia

15

A Typical PC Motherboard (D975XBX)

Page 16: 1 ECE3055 Computer Architecture and Operating Systems Lecture 1 Introduction Prof. Hsien-Hsin Sean Lee School of Electrical and Computer Engineering Georgia

16

Instruction Set Architecture

A very important abstraction interface between hardware and low-level software

standardizes instructions, machine language bit patterns, etc.

advantage: different implementations of the same architecture

disadvantage: sometimes prevents using new innovations

True or False: Binary compatibility is extraordinarily important?

Modern instruction set architectures: 80x86 (aka iA32), PowerPC (e.g. G4, G5) Xscale, ARM, MIPS Intel/HP EPIC (iA64), AMD64, Intel’s EM64T, SPARC, HP PA-RI

SC, DEC/Compaq/HP Alpha

Page 17: 1 ECE3055 Computer Architecture and Operating Systems Lecture 1 Introduction Prof. Hsien-Hsin Sean Lee School of Electrical and Computer Engineering Georgia

17

Where we are headed

Performance issues A specific instruction set architecture Arithmetic and how to build an ALU Constructing a processor to execute our

instructions Pipelining to improve performance Memory: caches and virtual memory I/O I will try to cover as much as possible, but do not

forget we have another half of the semester for OS