Professional Documents
Culture Documents
Module 1
Fundamentals of Quantitative
Design and Analysis
1core =
1 bit
system bus
Copyright © 2013, Daniel A. Menasce. All rights reserved. 6
Introduction
Von Neumann Architecture
ALU Data
Stored-program
Registers Program computer
Sequence of
General instructions:
registers, FP (1) Load/Store from
registers, memory to/from
Program registers, (2)
counter, etc. Arithmetic/Logical
Ops., (3) Conditional
and unconditional
branches.
Copyright © 2013, Daniel A. Menasce. All rights reserved. 7
Introduction
Example of Instruction Formats
opcode RX RY RZ RZ RX op RY
RX Mem(address)
opcode RX Address
Mem(address) RX
Unconditional or
opcode Address Conditional Jump to
Address
RISC
The number of
transistors on
integrated
circuits doubles
approximately
every two years.
(Gordon Moore,
Source: Wikimedia Commons 1965)
e f 8. STO R6,F
* g=e*f
* 9. MULT R3,R6,R7
10. STO R7,G
Tas Task
k s
Copyright © 2013, Daniel A. Menasce. All rights reserved. 16
Classes of Computers
Classes of Computers
Personal Mobile Device (PMD)
e.g. smart phones, tablet computers
Emphasis on energy efficiency and real-time
Desktop Computing
Emphasis on price-performance
Servers
Emphasis on availability, scalability, throughput
Clusters / Warehouse Scale Computers
Used for “Software as a Service (SaaS)”
Emphasis on availability and price-performance
Sub-class: Supercomputers, emphasis:
floating-point performance and fast internal networks
Embedded Computers
Emphasis: price
Dynamic power
½ x Capacitive load x Voltage2 x Frequency switched
Bose-Einstein formula:
empirical formula
Module reliability
Mean time to failure (MTTF) – reliability measure
Mean time to repair (MTTR) – service interruption
Mean time between failures (MTBF) = MTTF + MTTR
Availability = MTTF / MTBF
time
MTTR MTTF
Speedup of X relative to Y
Execution timeY / Execution timeX
Execution time
Wall clock time: includes all system
overheads
CPU time: only computation time
Benchmarks
Kernels (e.g., matrix multiply)
Toy programs (e.g., sorting)
Synthetic benchmarks (e.g., Dhrystone)
Benchmark suites (e.g., SPEC, TPC)
Copyright © 2012, Elsevier Inc. All rights reserved. 40
Measuring Performance
SPECRate and SPECRatio
SPECrate: a throughput metrics. Measures the number jobs of a given
type that can be processed in a given time interval.
Geometric mean = n x i
i=1
Program SPECRatio
A 10.2
B 21.5
C 15.2
Geometric mean 14.94
Principle of Locality
Reuse of data and instructions