Slot02 03 CH02 ComputerEvolutionAndPerformace 65 Slides
Slot02 03 CH02 ComputerEvolutionAndPerformace 65 Slides
Chapter 2
Computer Evolution and Performance
William Stallings : Computer Organization and Architecture, 9 th Edition
+ 2
Objectives
CLO2 Present an overview of the evolution of computer
technology from early digital computers to the latest
microprocessors.
CLO3 Understand the key performance issues that relate to
computer design
Objectives
After studying this chapter, you should be able
to:
Present an overview of the evolution of
computer technology from early digital
computers to the latest microprocessors.
Understand the key performance issues that
relate to computer design.
Explain the reasons for the move to multicore
organization, and understand the trade-off
between cache and processor resources on a
single chip.
+ 4
15 Questions must be
No. answered:
Question
1 Check correctness: 263.75(d) = 1010110111.1001 (b)
10011100100111(b) = FAB (h) 1ABED(h) = 0011100011011011101(b)
2 Convert: 909(d) = ? (b) 1011011(b) = ? (d) 1023(d) = ? (b) 579(d) = ? (h)
3 Compute:
Not 100111001110(b) = ? Not (100111001110(b) AND 001100110011(b)) = ?
Not (100111001110(b) OR 001100110011(b)) = ? Not (100111001110(b) XOR 001100110011(b)) = ?
4 From the 3rd computer generation, what is the basic technology?
5 What is a stored program computer?
6 Explain the general-purpose computer structure introduced by John Von Neumann?
7 At the integrated circuit level, what are the three principal constituents of a computer system?
8 Explain Moore’s law.
9 List and explain the key characteristics of a computer family (refer to the Intel microprocessors).
10 Refer to the table 2.1 (The first code line of the following program will be explained in this slide).
Given the memory contents of the IAS computer shown below,
Address Contents
08A 010FA210FB
08B 010FA0F08D
08C 020FA210FB
Show the assembly language code for the program, starting at address 08A. Explain what this program does.
+ 5
15 Questions must be
No.answered:
Question
11 List and briefly define some of the techniques used in contemporary processors
to increase speed.
12
Explain the concept of performance balance.
13
Distinguish among multicore, MIC, and GPU organizations.
14
Explain about System Clock.
15
Summarize some of the issues in computer performance assessment.
+ 6
Contents
CLO2 Present an overview of the evolution of computer
technology from early digital computers to the latest
microprocessors.
CLO3 Understand the key performance issues that relate to
computer design
Number Systems:
Máy tính là một thiết bị điện tử nên tất cả dữ liệu được lưu trữ dưới dạng các
điện tích của điện 1 chiều: CÓ ĐIỆN (1)/ KHÔNG CÓ ĐIỆN (0). Như vậy, dữ
liệu được lưu trữ dạng chuỗi các ký số 0/1. Mỗi ký hiệu này được gọi là một
BIT Các thao tác lên dữ liệu sẽ thao tác lên các bit Chúng ta cần có kiến
thức về hệ thống số.
Hệ thống số có được là do quy ước Một cộng đồng chấp nhận nó. Như vậy,
người ta hoàn toàn có thể chấp nhận sự thay thế 0 1 2 3 4 5 6 7 8 9 bằng 0 1 2
8934567
Cơ chế vận hành:
- Cách đếm (ấn định thứ tự theo giá trị)
- Cách biểu diễn một đại lượng số.
- Cách thực hiện các phép toán.
+ 8
Base value 10 2 8 16
Set of { 0, 1, 2, …, { 0. 1 } { 0, 1, 2, …, { 0, 1, 2, …, 9, A,
digits 9} 7} B, C, D, E, F }
Basic +, -, *, / +, -, *, / +, -, *, / +, -, *, /
operations
A number system includes a base value (đại lượng chục), a set of digits
(tập ký số) and a set of basic operations (tập phép toán cơ bản)
- People can define an arbitrary number systems (Base- 5/ 16/ 25…
systems)
- Four above systems are common in computer.
+ 9
Number Systems:
Representing a quantity
A number is
represented as
a chain of
digits of a
specific system
number. Each
digit has it’s
own position
( positional
expansion –
Khai triển dựa
vào vị trí của
các ký số)
+ 10
Digit 1 1 1 1 0 1 1 . 1 0 1 0 0
Position 6 5 4 3 2 1 0 -1 -2 -3 -4 -5
(p) 6 32 1 8 4 2 1 0.5 0.2 0.12 0.062 0.0312
2p 4 6 5 5 5 5
CỘNG HÀNG NÀY NHƯNG
BỎ QUA CÁC TRỊ CÓ DIGIT=0
123 . 625
Kết quả:123.625
Nếu phần lẻ nhị phân dài hớn sẽ cho kết quả chính xác hơn
Number Systems:
Conversions
(Decimal Binary/Hexa expansion)
37d = ?b = ?h
69d = ?b =?h
42d = ?b= ?h
+ 14
Number Systems:
Conversions
(Decimal Binary/Hexa expansion)
…
+ 15
Number Systems:
Conversions
(Binary Hexa expansion)
1001100b = ?h 11001110b = ? h
2AFh = ?b 49Ch= ?b
BF7h = ?b 7EAh = ?b
+ 16
Number Systems:
Basic Binary Operators
+ 17
Công nghệ
làm nhỏ vật
chất (mili
micro
nano)
IC: Integrated
Circuit
First
+ Generation: Vacuum Tubes 18
Computer
Electronic
(Read byNumerical
yourself)Integrator And Computer
Designed and constructed at the University of Pennsylvania
Started in 1943 – completed in 1946, by John Mauchly and John
Eckert
ENIAC: Characteristics
+ 21
IAS computer
Princeton Institute for Advanced Studies
Prototype of all subsequent general-purpose
computers
Completed in 1952
22
IAS Memory
The memory of the IAS
consists of 1000 storage
locations (called words –
đơn vị lưu trữ) of 40 bits
each.
Both data and instructions
are stored there
Numbers are represented in
binary form and each
instruction is a binary code
Instruction
Table 2.1
The IAS
Instruction
Set
+Run an IAS Instruction word: 29
A part of the
exercise 2.7
Commercial Computers:
UNIVAC
(Read
by yourself)
1947 – Eckert and Mauchly formed the Eckert-Mauchly
Computer Corporation to manufacture computers commercially
UNIVAC I (Universal Automatic Computer)
First successful commercial computer
Was intended for both scientific and commercial applications
Commissioned by the US Bureau of Census for 1950 calculations
Backward compatible
+
31
Series of 700/7000
computers established IBM as
the overwhelmingly dominant
computer manufacturer
+ 32
IBM
7094
Configuration
(Read by yourself)
Microelectronics
Ba thành phần cơ bản của máy tính vi điện tử:
(1) Gate: Cổng cho việc xứ lý
(2) Memory cell: Tế bào nhớ cho việc lưu trữ dữ liệu
(3) Connections: Dây kết nối.
+ A computer consists of
38
Year m: million
bn: billion
Moore’s Law 41
Consequences of Moore’s
The pace slowed
to a doubling
law:
every 18 months
in the 1970’s but The cost of Computer
The
computer becomes
has sustained logic and
electrical Reduction in
path length smaller and is power and Fewer
that rate ever memory more
since is shortened, cooling interchip
circuitry has convenient to
increasing use in a requirement connections
fallen at a
operating variety of s
dramatic
speed environments
rate
+ 42
System/360 Family
Generation
VLSI
s Very Large
Scale
Integration
ULSI
Semiconductor Memory Ultra Large
Microprocessors Scale
Integration
+ Semiconductor Memory 46
+ 47
Microprocessors
The density of elements on processor chips continued to
rise
More and more elements were placed on each chip so that
fewer and fewer chips were needed to construct a single
computer processor
Performance
Balance
Increase the
number of bits
Adjust the organization and that are retrieved
architecture to compensate at one time by
making DRAMs
for the mismatch among the “wider” rather
than “deeper”
capabilities of the various and by using wide
components bus data paths
Reduce the
frequency of
Architectural examples memory access by
include: incorporating
increasingly
complex and
efficient cache
structures between
Tăng khả năng truyền data: the processor and
main memory
- Bộ nhớ nhanh hơn
- Bus rộng hơn Change the Increase the
DRAM interface interconnect
to make it more bandwidth between
efficient by processors and
memory by using
including a
higher speed buses
cache or other and a hierarchy of
buffering scheme buses to buffer and
on the DRAM chip structure data flow
Typical I/O Device Data Rates 54
+ 55
Improvements in Chip
Organization and Architecture
Increase hardware speed of processor
Fundamentally due to shrinking logic gate size
More gates, packed more tightly, increasing clock rate
Memory latency
+ Processor Trends
57
+ 58
MIC GPU
Leap (fast growth) in
Core designed to perform parallel
performance as well as the operations on graphics data
challenges in developing
software to exploit such a
Traditionally found on a plug-in
large number of cores graphics card, it is used to
encode and render 2D and 3D
The multicore and MIC graphics as well as process video
strategy involves a
homogeneous (same kind)
Used as vector processors for a
collection of general purpose variety of applications that
processors on a single chip require repetitive computations
GPU gánh vác hộ CPU việc trình bày data ra màn hình Tăng hiệu năng
phần cứng
Read by Yourself 61
Some definitions:
CISC: Complex Instruction Set Computer, CPU is equipped a
large set of instructions
RISC: Reduced Instruction Set Computer, CPU is equipped basic
instructions only based on the thinking: A high instruction is
created using some basic instructions.
ARM: Advanced RISC Machine
+ 62
2.6- Performance
Assessment
Factors affect on computer
performance:
Factors
- Clock Speed and Instructions per Second
- Instruction execution rate
Methods: Benchmarks
Some laws: Read by yourself
Amdahl’s Law
Little’s Law
+ 63
Benchmark
Phần mềm đo tốc độ hiệu năng của hệ
thống
- A test used to measure hardware or software
performance.
- Benchmarks for hardware use programs that test the
capabilities of the equipment
- Benchmarks for software determine the efficiency,
accuracy, or speed of a program in performing a
particular task, such as recalculating data in a
spreadsheet.
- The same data is used with each program tested, so the
resulting scores can be compared to see which programs
perform well and in what areas.
Benchmarks …
66
Benchmark
- The design of fair benchmarks is something of an art,
because various combinations of hardware and software
can exhibit widely variable performance under different
conditions. Often, after a benchmark has become a
standard, developers try to optimize a product to run that
benchmark faster than similar products run it in order to
enhance sales (MS Computer Dictionary)
Beginning in the late 1980s and early 1990s, industry
and academic interest shifted to measuring the
performance of systems using a set of benchmark
programs
+ 68
yourself)
f:
CPU frequency
+ 73
λ: Average throughput, năng suất trung bình, (số tác vụ hoàn tất trên
1 đơn vị thời gian)
Evolution and
Performance
Chapter 2
Multi-core
First generation computers MICs
Vacuum tubes
Second generation
GPGPUs
computers Performance assessment
Transistors Clock speed and
Third generation computers instructions per second
Integrated circuits Benchmarks
Performance designs
Amdahl’s Law
Microprocessor speed
Little’s Law
Performance balance
Chip organization and
architecture