Professional Documents
Culture Documents
Computers
Computers
Computers
Goals
By the end of this class, you will
Have a basic understanding of computers and networks Know how to think about space, time, and speed Understand of how computers store data and move data around Be able to evaluate tradeoffs between different technologies
2
Binary
0s and 1s
Like turning a switch on or off
Called base-2 because you can represent two values with a single digit
Compare to our normal system - decimal - or base 10, where you can represent 10 values with a single digit
1 =1 10 = 2 11 = 3 100 = 4 1000 = 8
Commercial Developments
Mainframes (1960s) Minicomputers (1970s) Personal computers (1980s) Networked computers (1990s) Ubiquitous and embedded computers (2000s)
Todays Focus
Storing and moving around data
Within a computer Between computers
Inside a single computer: connecting the processor with the memory Between multiple computers: computer networks
7
Units of Size
Unit bit byte kilobyte megabyte gigabyte terabyte petabyte Abbreviation b B KB MB GB TB PB Size (bytes) 1/8 1 210 = 1024 220 = 1,048,576 230 = 1,073,741,824 240 = 1,099,511,627,776 250 = 1,125,899,906,842,624
Units of Time
Unit second millisecond microsecond nanosecond picosecond femtosecond Abbreviation sec/s ms Qs ns ps fs Duration (seconds) 1 10-3 = 1/1,000 10-6 = 1/1,000,000 10-9 = 1/1,000,000,000 10-12 = 1/1,000,000,000,000 10-15 = 1/1,000,000,000,000,000
10
Units of Frequency
Unit hertz kilohertz megahertz gigahertz Abbreviation Hz KHz MHz GHz Cycles per second 1 103 = 1,000 106 = 1,000,000 109 = 1,000,000,000
11
Latency: the amount of time it takes data to travel from source to destination Bandwidth: the amount of data that can be transmitted in a fixed amount of time
12
Moores Law
What is it?
Gordon E. Moore, co-founder of Intel: number of components on an integrated circuit will double every 18 months (1965)
Why is it important?
14
15
18
Locality
Spatial locality: If the system fetched x, it is likely to fetch data located near x (Why?) Temporal locality: If the system fetched x, it is likely to fetch x again (Why?) Insight behind the storage hierarchy: move important data from slow, large memory to fast, small memory Cache: a place for concealment and safekeeping, as of valuables. (American Heritage
Dict.)
Caching strategies: whats the most effective 19 strategy for moving data around?
Speed < 1 ns 10 ns 50 ns 10 ms
20
22
Related Issues
Forensic Document Recovery Defragmentation
23
Summary So Far
For computation to occur, data must be moved to and from memory Different type of memories represent different tradeoffs Caching strategies and the storage hierarchy give us the best of both worlds
24