CS224-Topic 01 Introduction
CS224-Topic 01 Introduction
TOPIC 01
Introduction
Chapter 1
Computer Abstractions
and Technology
§1.1 Introduction
The Computer Revolution
◼ Progress in computer technology
◼ Underpinned by domain-specific
accelerators
◼ Makes novel applications feasible
◼ Computers in automobiles
◼ Cell phones
◼ Human genome project
◼ World Wide Web
◼ Search Engines
◼ Computers are pervasive
Classes of Computers
◼ Personal computers
◼ General purpose, variety of software
◼ Subject to cost/performance tradeoff
◼ Server computers
◼ Network based
◼ High capacity, performance, reliability
◼ Range from small servers to building sized
Classes of Computers
◼ Supercomputers
◼ Type of server
◼ High-end scientific and
engineering calculations
◼ Highest capability but represent
a small fraction of the overall https://www.kaust.edu.sa/en/news/
kaust-s-shaheen-iii-confirmed-as-
the-middle-east-s-most-powerful-
computer market supercomputer
https://www.ictinnovations.c
om/difference-between-
saas-iaas-and-paas
Understanding Performance
◼ Algorithm
◼ Determines number of operations executed
◼ Programming language, compiler, architecture
◼ Determine number of machine instructions executed
per operation
◼ Processor and memory system
◼ Determine how fast instructions are executed
◼ I/O system (including OS)
◼ Determines how fast I/O operations are executed
◼ Hierarchy of memories
◼ Dependability via redundancy
10
11
12
13
14
15
16
17
Touchscreen
◼ PostPC device
◼ Supersedes keyboard
and mouse
◼ Resistive and
Capacitive types
◼ Most tablets, smart
phones use capacitive
◼ Capacitive allows
multiple touches
simultaneously
18
19
20
21
Abstractions
The BIG Picture
22
23
Networks
◼ Communication, resource sharing,
nonlocal access
◼ Local area network (LAN): Ethernet
◼ Wide area network (WAN): the Internet
◼ Wireless network: WiFi, Bluetooth
24
25
Semiconductor Technology
◼ Silicon: semiconductor
◼ With a special chemical process, it is
possible to add materials to silicon that
allow tiny areas to transform into one of
three devices:
◼ Conductors
◼ Insulators
◼ Switch
26
Manufacturing ICs
27
28
§1.6 Performance
Defining Performance
◼ Which airplane has the best performance?
Performance ~ speed,
fastest is highest cruising
speed, taking a single
passenger from one point
to another in the least time.
Performance ~ transporting
500 passengers from one
point to another. Airbus A380-
800 is the fastest
29
CPU Clocking
◼ Operation of digital hardware governed by a constant-
rate clock
Clock period
Clock (cycles)
Data transfer
and computation
Update state
30
CPU Time
CPU Time = CPU Clock Cycles Clock Cycle Time
CPU Clock Cycles
=
Clock Rate
◼ Performance improved by
◼ Reducing number of clock cycles
◼ Increasing clock rate
◼ Hardware designer must often trade off clock
rate against cycle count
31
32
Performance Summary
The BIG Picture
◼ Performance depends on
◼ Algorithm: affects IC, possibly CPI
◼ Programming language: affects IC, CPI
◼ Compiler: affects IC, CPI
◼ Instruction set architecture: affects IC, CPI, Tc (Clock
Cycle Time)
33
Uniprocessor Performance
34
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
35
36
37