Tải bản đầy đủ (.pdf) (53 trang)

kiến trúc máy tính phạm minh cường chương ter1 computer abstractions and technology [sinhvienzone.com]

Bạn đang xem bản rút gọn của tài liệu. Xem và tải ngay bản đầy đủ của tài liệu tại đây (2.85 MB, 53 trang )

e.
co

m

Computer Architecture

Si
nh

Vi

en
Z

on

Chapter 1: Computer Abstractions and Technology

Dr. Phạm Quốc Cường

Adapted from Computer Organization the Hardware/Software Interface – 5th

Computer Engineering – CSE – HCMUT
SinhVienZone.com

/>

m

The Computer Revolution



e.
co

• The third revolution along with agriculture and
industry
• Progress in computer technology

on

– Underpinned by Moore’s Law

Vi

Computers in automobiles
Cell phones
Human genome project
World Wide Web
Search Engines

Si
nh







en

Z

• Makes novel applications feasible

• Computers are pervasive
Chapter 1: Computer Technology
SinhVienZone.com

2
/>

Si
nh

Vi

en
Z

on

e.
co

m

The Moore’s Law

Co-founder of Intel Corp.


The number of transistors integrated in a
chip has doubled every 18-24 months
(1975)

Chapter 1: Computer Technology
SinhVienZone.com

3
/>

m

Intel Processors & Chips

e.
co

• World record, in terms of the number of transistors
integrated into a chip:
– Altera FPGA device: 30+ Billions

on

• Intel processor

Si
nh

Vi


en
Z

– Core i 7th generation (Kaby Lake) ==> Coffee Lake
– 14 nm technology
– >1.4B transistors (6th generation – SkyLake)

Chapter 1: Computer Technology
SinhVienZone.com

4
/>

Si
nh

Vi

en
Z

on

e.
co

m

The First “Computer”


Source: Internet
Chapter 1: Computer Technology
SinhVienZone.com

5
/>

Si
nh

Vi

en
Z

on

e.
co

m

The First “Computer” (cont.)

The ENIAC Computer, source: US Army photo
Chapter 1: Computer Technology
SinhVienZone.com

6
/>


Vi

en
Z

on

e.
co

30+ tons
1,500+ square feet (140 square meter)
18,000+ vacuum tubes
140+ KW power
5,000+ additions per second

Si
nh







m

The ENIAC Computer


Chapter 1: Computer Technology
SinhVienZone.com

7
/>



m

A Brief History of Computers
The first generation
The second generation

on



Vi

The third generation
– 1965 – 1980
– Integrated circuits

The current generation

Si
nh




en
Z

– Transistors
– 1955 – 1965



e.
co

– Vacuum tubes
– 1946 – 1955

– 1980 - …
– Personal computers



What’s the next?

– Quantum computers?
– Memristor?

Chapter 1: Computer Technology
SinhVienZone.com

8
/>


m

Classes of Computers

e.
co

• Personal computers

en
Z

on

– General purpose, variety of software
– Subject to cost/performance tradeoff

Vi

• Server computers

Si
nh

– Network based
– High capacity, performance, reliability
– Range from small servers to building sized

Chapter 1: Computer Technology

SinhVienZone.com

9
/>

m

Classes of Computers

e.
co

• Supercomputers

en
Z

on

– High-end scientific and engineering calculations
– Highest capability but represent a small fraction of
the overall computer market

Si
nh

Vi

• Embedded computers


– Hidden as components of systems
– Stringent power/performance/cost constraints

Chapter 1: Computer Technology
SinhVienZone.com

10
/>

Si
nh

Vi

en
Z

on

e.
co

m

The PostPC Era

source: BusinessInsider
Chapter 1: Computer Technology
SinhVienZone.com


11
/>

on

Battery operated
Connects to the Internet
Hundreds of dollars
Smart phones, tablets, electronic glasses,…

en
Z






e.
co

• Personal Mobile Device (PMD)

m

The PostPC Era

Vi

• Clouding computing


Si
nh

– Warehouse Scale Computers (WSC)
– Software as a Service (SaaS)
– Portion of software run on a PMD and a portion run in
the Cloud
– Amazon and Google
Chapter 1: Computer Technology
SinhVienZone.com

12
/>

m

Understanding Performance

e.
co

• Algorithm

– Determines number of operations executed

on

• Programming language, compiler, architecture


en
Z

– Determine number of machine instructions executed per
operation

Vi

• Processor and memory system

Si
nh

– Determine how fast instructions are executed

• I/O system (including OS)
– Determines how fast I/O operations are executed
Chapter 1: Computer Technology
SinhVienZone.com

13
/>

m

Below Your Program

e.
co


• Application software
– Written in high-level language

on

• System software

Si
nh

Vi

en
Z

– 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

Chapter 1: Computer Technology
SinhVienZone.com

14
/>


m

Levels of Program Code

• Assembly language

on

en
Z

– Level of abstraction closer
to problem domain
– Provides for productivity
and portability

e.
co

• High-level language

Si
nh

Vi

– Textual representation of
instructions


• Hardware representation
– Binary digits (bits)
– Encoded instructions and
data
Chapter 1: Computer Technology
SinhVienZone.com

15
/>

m

Components of a Computer
• Same components for
all kinds of computer

e.
co

The BIG Picture

Si
nh

Vi

en
Z

on


– Desktop, server,
embedded

• Input/output includes
– User-interface devices
• Display, keyboard, mouse

– Storage devices
• Hard disk, CD/DVD, flash

– Network adapters
• For communicating with
other computers

Chapter 1: Computer Technology
SinhVienZone.com

16
/>

e.
co

Vi

en
Z

on


• PostPC device
• Supersedes keyboard
and mouse
• Resistive and Capacitive
types

m

Touchscreen

Si
nh

– Most tablets, smart
phones use capacitive
– Capacitive allows
multiple touches
simultaneously
Chapter 1: Computer Technology
SinhVienZone.com

17
/>

m

Through the Looking Glass

e.

co

• LCD screen: picture elements (pixels)

Si
nh

Vi

en
Z

on

– Mirrors content of frame buffer memory

Chapter 1: Computer Technology
SinhVienZone.com

18
/>

Opening the Box

m

Capacitive multitouch LCD screen

Computer board


Si
nh

Vi

en
Z

on

e.
co

3.8 V, 25 Watt-hour battery

Chapter 1: Computer Technology
SinhVienZone.com

19
/>

m

Inside the Processor (CPU)

en
Z

on


e.
co

• Datapath: performs operations on data
• Control: sequences datapath, memory, ...
• Cache memory

Si
nh

Vi

– Small fast SRAM memory for immediate access to
data

Chapter 1: Computer Technology
SinhVienZone.com

20
/>

m

Inside the Processor

Si
nh

Vi


en
Z

on

e.
co

• Apple A5

Chapter 1: Computer Technology
SinhVienZone.com

21
/>

Abstractions

m

The BIG Picture

on

– Hide lower-level detail

e.
co

• Abstraction helps us deal with complexity


en
Z

• Instruction set architecture (ISA)
– The hardware/software interface

Vi

• Application binary interface

Si
nh

– The ISA plus system software interface

• Implementation
– The details underlying and interface
Chapter 1: Computer Technology
SinhVienZone.com

22
/>

m

A Safe Place for Data

e.
co


• Volatile main memory

– Loses instructions and data when power off

Si
nh

Vi

en
Z

– Magnetic disk
– Flash memory
– Optical disk (CDROM, DVD)

on

• Non-volatile secondary memory

Chapter 1: Computer Technology
SinhVienZone.com

23
/>

m

Networks


Si
nh

Vi

en
Z

on

e.
co

• Communication, resource sharing, nonlocal
access
• Local area network (LAN): Ethernet
• Wide area network (WAN): the Internet
• Wireless network: WiFi, Bluetooth

Chapter 1: Computer Technology
SinhVienZone.com

24
/>

m

Technology Trends


on

en
Z

– Increased capacity and
performance
– Reduced cost

e.
co

• Electronics technology
continues to evolve

Technology

1951

Vacuum tube

1965

Transistor

1975

Integrated circuit (IC)

1995


Very large scale IC (VLSI)

2013

Ultra large scale IC

Relative performance/cost
1

Si
nh

Vi

Year

DRAM capacity

35
900
2,400,000
250,000,000,000

Chapter 1: Computer Technology
SinhVienZone.com

25
/>


×