Docsity

Computer Organization and Design: Understanding the Hardware-Software Interface, Lecture notes of Advanced Computer Architecture

Partial preview of the text

Download Computer Organization and Design: Understanding the Hardware-Software Interface and more Lecture notes Advanced Computer Architecture in PDF only on Docsity!

COMPUTER ORGANIZATION AND D

The Hardware/Software Interface

5

th

Editio

n

Chapter 1

Computer Abstractions

and Technology

The Computer Revolution

Progress in computer technology

Underpinned by Moore’s Law

Makes novel applications feasible

Computers in automobiles

Cell phones

Human genome project

World Wide Web

Search Engines

Computers are pervasive

§1.1 Introduction

Classes of Computers

Supercomputers

High-end scientific and engineering

calculations

Highest capability but represent a small

fraction of the overall computer market

Embedded computers

Hidden as components of systems

Stringent power/performance/cost constraints

The PostPC Era

Eight Great Ideas

Design for Moore’s Law

Use abstraction to simplify design

Make the common case fast

Performance via parallelism

Performance via pipelining

Performance via prediction

Hierarchy of memories

Dependability via redundancy

§1.2 Eight Great Ideas in Computer Architecture

Below Your Program

Application software

Written in high-level language

System software

Compiler: translates HLL code to

machine code

Operating System: service code

 Handling input/output

 Managing memory and storage

 Scheduling tasks & sharing resources

Hardware

Processor, memory, I/O controllers

§1.3 Below Your Program

Opening the Box

Capacitive multitouch LCD screen

3.8 V, 25 Watt-hour battery

Computer board

Inside the Processor (CPU)

Datapath: performs operations on data

Control: sequences datapath, memory, ...

Cache memory

Small fast SRAM memory for immediate

access to data

Abstractions

Abstraction helps us deal with complexity

Hide lower-level detail

Instruction set architecture (ISA)

The hardware/software interface

Application binary interface

The ISA plus system software interface

Implementation

The details underlying and interface

The BIG Picture

Chapter 1 — Computer Abstractions and Technology — 21

Technology Trends

Electronics

technology

continues to evolve

 Increased capacity

and performance

 Reduced cost

Year Technology Relative performance/cost

1951 Vacuum tube 1

1965 Transistor 35

1975 Integrated circuit (IC) 900

1995 Very large scale IC (VLSI) 2,400,

2013 Ultra large scale IC 250,000,000,

DRAM capacity

§1.5 Technologies for Building Processors and Memory

Power Trends

In CMOS IC technology

§1.7 The Power Wall

Power Capacitiveload Voltage Frequency

2

×30 5V → 1V ×

Reducing Power

Suppose a new CPU has

85% of capacitive load of old CPU

15% voltage and 15% frequency reduction

C V F

C 0.85 (V 0.85) F 0.

P

P

4

old

2

old old

old

2

old old

old

new

The power wall

We can’t reduce voltage further

We can’t remove more heat

How else can we improve performance?

Multiprocessors

Multicore microprocessors

More than one processor per chip

Requires explicitly parallel programming

Compare with instruction level parallelism

Hardware executes multiple instructions at once

Hidden from the programmer

Hard to do

Programming for performance

Load balancing

Optimizing communication and synchronization

Concluding Remarks

Cost/performance is improving

Due to underlying technology development

Hierarchical layers of abstraction

In both hardware and software

Instruction set architecture

The hardware/software interface

Execution time: the best performance

measure

Power is a limiting factor

Use parallelism to improve performance

§1.9 Concluding Remarks