• Tidak ada hasil yang ditemukan

Edward Chang Electrical Computer Engineering

N/A
N/A
Protected

Academic year: 2018

Membagikan "Edward Chang Electrical Computer Engineering"

Copied!
20
0
0

Teks penuh

(1)

1/6/2003 ECE154 Winter 2003

1

ECE154

ECE154

Computer Architecture

Computer Architecture

Lecture #1

Lecture #1

Edward Chang

Electrical & Computer Engineering

ECE154 Team

ECE154 Team

l Instructor: Edward Chang

l TAs

– Chao, Chia-Tso – Gadepalli, S.

l Office Hours and Contact Information

– Check class Web site frequently

– http://www.mmdb.ece.ucsb.edu/~ece154/

l

Class Email Address

(2)

1/6/2003 ECE154 Winter 2003

3

Textbook and Prerequisite

Textbook and Prerequisite

l “Computer Architectures: A Quantitative

Approach’’, 3rd edition, J. Hennessy and D.

Patterson

l Prerequisite

– Basic digital logic

– Assembly programming – Simple OS concepts

Assignments and Exams

Assignments and Exams

l 6 Homework Assignments l Midterm on 2/10

l Final on 3/12 l Grading

– HW: 20%; Midterms: 30%; Final: 50%

l Policies

(3)

1/6/2003 ECE154 Winter 2003

5

Discussion Session Signup

Discussion Session Signup

l Four Sessions (Friday)

– 8 – 9am 387 104 – 12 – 1pm SNDCR 1637 – 1 – 2pm 387 103 – 2 – 3pm PHELP 1445

Course Outline

(4)

1/6/2003 ECE154 Winter 2003

7

Today

Today

s Outline

s Outline

l Class Goals

l What is Computer Architecture

– Design process, constraints, tools

l Performance

– Execution Time vs. Throughput – CPU time equation

– Amdhal’s law

l Basic Design Principles l Chip Cost

Class Goals

Class Goals

l Understand how computer systems are organized and

why they are organized that way

l Be conversant with techniques for analyzing performance

and comparing systems

l Introduction to computer implementation techniques l Will discuss advanced topics

– Instruction-set architecture

– Hardware and software techniques for instruction-level parallelism

(5)

1/6/2003 ECE154 Winter 2003

9

Components of a General

Components of a General

-

-

Purpose

Purpose

Computer System

Computer System

l Programmable Processor

– CPU, DSP, microprocessor

l Memory

– For program and data – Cache, DRAM, MEMS

l Storage

l Buses and Controllers

– Connecting CPU, memory, storage

– Connecting networks

Computer Architecture?

(6)

1/6/2003 ECE154 Winter 2003

11

History of Computer Systems

History of Computer Systems

l 1960s – 1970s

– Mainframes and minicomputers

l Late 1970

– Emergence of microprocessor

l Late 1980

– C and compilers – Unix

– RISC

Relative Performance

(7)

1/6/2003 ECE154 Winter 2003

13

The Contribution of Architectural

The Contribution of Architectural

Innovation

Innovation

l 2001 Statistics

– Base circuit design performance: X – Architectural innovation: 15 X

l ECE154 is about

– Innovative architecture ideas

– Measured by a quantitative approach

Computer Categories

Computer Categories

l Desktops

– Examples: PCs, workstations – Metrics: latency (graphics & IO)

l Servers

– Examples: Web, database servers

– Metrics: throughput, reliability, scalability

l Embedded Systems

(8)

1/6/2003 ECE154 Winter 2003

15

Technology Trends

Technology Trends

(Yearly Improvement)

(Yearly Improvement)

l Integrated Circuit: logic

– 35% increase in density, 55% a chip – 15% speedup

l Integrated Circuit: memory

– 60% increase in density – 7% reduction in latency – 14% increase in throughput

l Magnetic Disks

– 100% increase in density

– Access time improvement 33% in ten years

l Networking

– Little improvement in latency – Large improvement in bandwidth

Technology Trends

Technology Trends

(Yearly Improvement)

(Yearly Improvement)

l Feature Size (f)

– Shrinks from 10 microns (1971) to 0.18 (2001)

l Device Size

– Shrinks quadratically with decrease in feature size

l Transistor Count

– Improves quadratically w.r.t. 1/f

l Transistor Performance

(9)

1/6/2003 ECE154 Winter 2003

17

Performance Bottlenecks

Performance Bottlenecks

l Wires

– No improvement

– Pentium IV allocates 2 out of 20-stage pipeline for wire delay

l Power

– Switching frequency * load capacitance * voltage2 – The 1stmicroprocessor consumes 1/10 watt – 2GHz Pentium-4 consumes 100 watts

Changing Technology Changes

Changing Technology Changes

Architecture

(10)

1/6/2003 ECE154 Winter 2003

19

Cost, Price, and Trends

Cost, Price, and Trends

l Factors Affect Cost

– Yield – Competition

l Price

– Memory: Price = cost – CPU: Price = (1+k%) cost

l Computer Price

– Dominated by processor, – Monitor

Relative Performance

(11)

1/6/2003 ECE154 Winter 2003

21

Measuring Performance

Measuring Performance

l X performs N time better than Y

– X runs N-times faster than Y

– X takes 1/N time, compared to Y, to complete the task – X takes 1/N+1 time, compared to Y, to complete the task – X responds N-times faster than Y

l Improve a system performance by N folds

– Decrease its running time by N folds – Increase its throughput by N folds

l CAQA’s position

– Use Execution Timeto measure performance

Execution Time

Execution Time

l Elapsed Time l Response Time l CPU Time

– User CPU time and system CPU time – The choice of CAQA to measure processor

performance (throughout Chapter 4)

l Many Benchmarks

(12)

1/6/2003 ECE154 Winter 2003

23

Benchmark Examples

Benchmark Examples

Performance Summary

Performance Summary

(13)

1/6/2003 ECE154 Winter 2003

25

Execution Time

Execution Time

40 110

1001 Total Time

20

Computer C

Computer B

Computer A

Arithmetic Means

Arithmetic Means

l B is 9.1 faster than A for P1 + P2 l C is 25 times faster than A for P1 + P2 l C is 2.75 times faster than B for P1 + P2

l Arithmetic mean is fine

(14)

1/6/2003 ECE154 Winter 2003

27

Weighted Execution Time

Weighted Execution Time

l Weighted Arithmetic Mean

(15)

1/6/2003 ECE154 Winter 2003

29

Weighted Arithmetic Means

Weighted Arithmetic Means

20

Geometric Means

Geometric Means

l The Weighted Arithmetic Mean differs

depending on which machine is the reference one.

(16)

1/6/2003 ECE154 Winter 2003

31

Geometric Mean

Geometric Mean

1.0

Normalized to C Normalized to B

Normalized to A

Summary of Means

(17)

1/6/2003 ECE154 Winter 2003

33

Design Principles

Design Principles

l

Make the Common Case Fast

l

Principle of Locality

l

Parallelism

Make the Common Case Fast

Make the Common Case Fast

l

Amdahl’s Law

– The performance gain is limited by the fraction of time the faster mode can be used

l

Example

– Meal time = Order time + Eating time – 40 mins = 20 mins + 20 mins

(18)

1/6/2003 ECE154 Winter 2003

35

Make the Common Case Fast

Make the Common Case Fast

Examples

Examples

l

IO time is 60% of the execution time, and

CPU time 40%

l

Speeding up CPU 10 times achieves

overall speedup of

(19)

1/6/2003 ECE154 Winter 2003

37

CPU Performance Equation

CPU Performance Equation

Computer Architecture?

(20)

1/6/2003 ECE154 Winter 2003

39

Summary

Summary

l

Computer Architecture

– Design to last through trends

l

Performance Metrics

– Amdahl's law – CUP time formula

l

Design Principles

– Make the common case fast – Locality

– Parallelism

References

References

l

Textbook figures, publisher

Referensi

Dokumen terkait

Asosiasi Pendidikan Bethel (APB) dibentuk pada Konferensi Teologia dan Pendidikan Bethel di Bandung, akhir Mei 2009, dengan visi untuk menjadi wadah bagi lembaga-lembaga pendidikan

Penelitian yang telah dilakukan ini menunjukkan bahwa tonsilektomi pada pasien OSA dapat menurunkan ekspresi IL-6 pada tonsil lingualis, sehingga ukuran tonsil lingualis

Jadi yang dimaksud dengan judul manajemen hubungan. masyarakat dalam mengembangkan sarana dan prasarana

[r]

[r]

Penutup  Guru mengakhiri kegiatan belajar dengan memberikan pesan untuk tetap belajar..

Berdasarkan hasil pengujian asumsi klasik, uji analisis regresi, dan pembahasan, maka dapat diketahui hasil pengujian terhadap hipotesis penelitian, yaitu kinerja keuangan

Fasilitator diminta untuk memaklumkan kepada kumpulan bahawa setiap kumpulan akan diberi 500 juta (jangan disebut matawang atau sebagainya – biar mahasiswa kreatif untuk