Computer Organization Section 4.3, Chapter 5 Sections 6.1 – 6.2 (Optional)

Slides:



Advertisements
Similar presentations
Números.
Advertisements

CHAPTER 5 – Computing Components
Trend for Precision Soil Testing % Zone or Grid Samples Tested compared to Total Samples.
Trend for Precision Soil Testing % Zone or Grid Samples Tested compared to Total Samples.
AGVISE Laboratories %Zone or Grid Samples – Northwood laboratory
EuroCondens SGB E.
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education Copyright © 2006 by The McGraw-Hill Companies,
Sequential Logic Design
Copyright © 2013 Elsevier Inc. All rights reserved.
Addition and Subtraction Equations
Multiplication X 1 1 x 1 = 1 2 x 1 = 2 3 x 1 = 3 4 x 1 = 4 5 x 1 = 5 6 x 1 = 6 7 x 1 = 7 8 x 1 = 8 9 x 1 = 9 10 x 1 = x 1 = x 1 = 12 X 2 1.
Division ÷ 1 1 ÷ 1 = 1 2 ÷ 1 = 2 3 ÷ 1 = 3 4 ÷ 1 = 4 5 ÷ 1 = 5 6 ÷ 1 = 6 7 ÷ 1 = 7 8 ÷ 1 = 8 9 ÷ 1 = 9 10 ÷ 1 = ÷ 1 = ÷ 1 = 12 ÷ 2 2 ÷ 2 =
Chapter 4 The Central Processing Unit
Add Governors Discretionary (1G) Grants Chapter 6.
CALENDAR.
HISTORY OF MICROPROCESSORS Gursharan Singh Tatla 1.
The 5S numbers game..
Our Digital World Second Edition
Introduction to Microprocessors
The basics for simulations
Chapter 5 Computing Components. 2 Chapter Goals Read an ad for a computer and understand the jargon List the components and their function in a von Neumann.
Chapter 5 Computing Components.
Chapter 5 Computing Components.
Chapter 5 Computing Components. 2 Chapter Goals Read an ad for a computer and understand the jargon List the components and their function in a von Neumann.
Chapter 5 Computing Components. 5-2 Chapter Goals Read an ad for a computer and understand the jargon List the components and their function in a von.
Figure 3–1 Standard logic symbols for the inverter (ANSI/IEEE Std
ARCHITECTURE OF DUAL CORE
1 Prediction of electrical energy by photovoltaic devices in urban situations By. R.C. Ott July 2011.
Dynamic Access Control the file server, reimagined Presented by Mark on twitter 1 contents copyright 2013 Mark Minasi.
TCCI Barometer March “Establishing a reliable tool for monitoring the financial, business and social activity in the Prefecture of Thessaloniki”
Progressive Aerobic Cardiovascular Endurance Run
Chapter 5 Computing Components.
MaK_Full ahead loaded 1 Alarm Page Directory (F11)
2011 WINNISQUAM COMMUNITY SURVEY YOUTH RISK BEHAVIOR GRADES 9-12 STUDENTS=1021.
Before Between After.
2011 FRANKLIN COMMUNITY SURVEY YOUTH RISK BEHAVIOR GRADES 9-12 STUDENTS=332.
Subtraction: Adding UP
Figure 10–1 A 64-cell memory array organized in three different ways.
Static Equilibrium; Elasticity and Fracture
Chapter 5 The System Unit.
WARNING This CD is protected by Copyright Laws. FOR HOME USE ONLY. Unauthorised copying, adaptation, rental, lending, distribution, extraction, charging.
A Data Warehouse Mining Tool Stephen Turner Chris Frala
Schutzvermerk nach DIN 34 beachten 05/04/15 Seite 1 Training EPAM and CANopen Basic Solution: Password * * Level 1 Level 2 * Level 3 Password2 IP-Adr.
Chapter 4 The Components of the System Unit
The Central Processing Unit: What Goes on Inside the Computer.
 2002 Prentice Hall Hardware Basics: Inside The Box Chapter 2.
Chapter 4 The Components of the System Unit
What’s on the Motherboard? The two main parts of the CPU are the control unit and the arithmetic logic unit. The control unit retrieves instructions from.
Computers Are Your Future Eleventh Edition Chapter 2: Inside the System Unit Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall1.
Computers Central Processor Unit. Basic Computer System MAIN MEMORY ALUCNTL..... BUS CONTROLLER Processor I/O moduleInterconnections BUS Memory.
Chapter 4  Converts data into information  Control center  Set of electronic circuitry that executes stored program instructions  Two parts ◦ Control.
COMPONENTS OF THE SYSTEM UNIT
© Paradigm Publishing Inc. 2-1 Chapter 2 Input and Processing.
Writer:-Rashedul Hasan Editor:- Jasim Uddin
Computer Processing of Data
3 1 3 C H A P T E R Hardware: Input, Processing, and Output Devices.
 Design model for a computer  Named after John von Neuman  Instructions that tell the computer what to do are stored in memory  Stored program Memory.
Computers Are Your Future Eleventh Edition Chapter 2: Inside the System Unit Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall1.
The Central Processing Unit: What Goes on Inside the Computer
Lesson 3 — How a Computer Processes Data Unit 1 — Computer Basics.
CHAPTER 4 The Central Processing Unit. Chapter Overview Microprocessors Replacing and Upgrading a CPU.
Computer Hardware – System Unit
Succeeding with Technology Chapter 2 Hardware Designed to Meet the Need The Digital Revolution Integrated Circuits and Processing Storage Input, Output,
Computer Hardware & Processing Inside the Box CSC September 16, 2010.
Computers Are Your Future Tenth Edition Inside the System Unit 1.
Computer Operation. Binary Codes CPU operates in binary codes Representation of values in binary codes Instructions to CPU in binary codes Addresses in.
Information Technology INT1001 Lecture 2 1. Computers Are Your Future Tenth Edition Chapter 6: Inside the System Unit Copyright © 2009 Pearson Education,
Lecture # 10 Processors Microcomputer Processors.
Computer Hardware – System Unit
Components of Computer
Presentation transcript:

Computer Organization Section 4.3, Chapter 5 Sections 6.1 – 6.2 (Optional)

Preliminary Discussion of the Logical Design of an Electronic Computing Instrument Arthur W. Burks / Herman H. Goldstine / John von Neumann, 1946 Manchester Mark 1, 1948Mark 1 Cambridge EDSAC 1949EDSAC EDVACEDVAC, ,300 lbs

Then and Now Transistors Tiny Fast Reliable Vacuum tubes Huge Slow Unreliable

Then and Now “Where a calculator on the ENIAC is equipped with 18,000 vacuum tubes and weighs 30 tons, computers in the future may have only 1,000 vacuum tubes and weigh only 1 ½ tons.” Popular Mechanics, 1949

Then and Now “What we didn’t realize then was that the integrated circuit would reduce the cost of electronic functions by a factor of a million to one; nothing had ever done that for anything before.” Jack Kilby

Then and Now “If the automobile had followed the same development cycle as the computer, a Rolls Royce would today cost $100, get one million miles to the gallon, and explode once a year, killing everyone inside.” Robert X. Cringely, InfoWorld before 2005

Exactly What IS a Computer? Processor Memory I/O

Structure that Works Complex systems have hierarchical structure. We observe this in the physical world. Artificial systems need it in order to “work”.

Tempus and Hora 1000 parts in a watch

Tempus and Hora Hora Tempus 1 assemply; 1000 parts Prob(no interrupt) = (1 – p) 1000 Cost/interrupt = t * (1/p) p = probability of interruption t = time to add one part 111 assemblies; 10 parts each Prob(no interrupt) = (1 – p) 10 Cost/interrupt = t * 5

Tempus and Hora Hora Tempus 1 assemply; 1000 parts Prob(no interrupt) = (.99) 1000 = 44 * Cost/interrupt = t * 500 p =.01 t = time to add one part 111 assemblies; 10 parts each Prob(no interrupt) = (.99) 10 =.9 Cost/interrupt = t * 5 It will take Tempus 4,000 times as long to build one watch as it takes Hora.

The Main Components Data Bus Memory (RAM) Central Processing Unit (CPU) Secondary Storage Input/Output I/O

Motherboards: PC and Phone

The Main Components Data Bus Memory (RAM) Central Processing Unit (CPU) Secondary Storage Input/Output I/O

Main Memory 22 6F B2 1E 24 E6 07 5C FD 3C A B AA 5E AB C 70 DF 32 2D 40 1F 69 C0 8A 7C 0F E9 90 9D 39 2E 4D 1F 60 9A 09 7D 10 4C 93 6F 81 B5 6A 9F 0A 1C C Word addressing 96 1A 89 AC C F3 8B 81 B2 D A5 18 F8B 

Main Memory 22 6F B2 1E 24 E6 07 5C FD 3C A B AA 5E AB C 70 DF 32 2D 40 1F 69 C0 8A 7C 0F E9 90 9D 39 2E 4D 1F 60 9A 09 7D 10 4C 93 6F 81 B5 6A 9F 0A 1C Byte addressing 96 1A 89 AC C F3 8B 81 B2 D A5 18 3E2C 

Address Spaces Let’s say we have a 16GB memory. That’s 2 4 (16) * 2 30 (giga) = 2 34 bytes. To specify that many addresses, we need 34 bits. Oops, more than a whole word. Possible solutions: Use 64 bit words. Use hierarchical address definitions.

Hierarchical Addresses

The Main Components Data Bus Memory (RAM) Central Processing Unit (CPU) Secondary Storage Input/Output I/O

CPU Central Processing Unit Control Unit Arithmetic/Logic Unit Cache

Processor Chips

Transistors The Intel® Core 2 Duo processor has 291 million transistors, more than 10,000 times as many transistors as the Intel 8088 CPU in the first IBM PC which had only 29,000 transistors.

Moore’s Law

Transistors in Intel Processors

How It Has Happened

CPU Central Processing Unit Control Unit Arithmetic/Logic Unit Cache

ALU Registers Accumulator Program counter Instruction register Address register Calculator

Binary Addition

Implementing It in Silicon One Bit Binary Adder XOR AND OR

Central Processing Unit Control Unit Arithmetic/Logic Unit Cache Control – Or How to Program the Thing

The Old Way ENIAC 1945

The Stored Program Concept 22 6F B2 1E 24 E6 07 5C FD 3C A B AA 5E AB C 70 DF 32 2D 40 1F 69 C0 8A 7C 0F E9 90 9D 39 2E 4D 1F 60 9A 09 7D 10 4C 93 6F 81 B5 6A 9F 0A 1C

The Stored Program Concept 22 6F B2 1E 24 E6 07 5C FD 3C A B AA 5E AB C 70 DF 32 2D 40 1F 69 C0 8A 7C 0F E9 90 9D 39 2E 4D 1F 60 9A 09 7D 10 4C 93 6F 81 B5 6A 9F 0A 1C Operation code:40 Memory address:1F69C0

Fetch – Increment - Execute 22 6F B2 1E 24 E6 07 5C FD 3C A B AA 5E AB C 70 DF 32 2D 40 1F 69 C0 8A 7C 0F E9 90 9D 39 2E 4D 1F 60 9A 09 7D 10 4C 93 6F 81 B5 6A 9F 0A 1C Fetch next instruction 2.Increment program counter 3.Decode instruction 4.? Fetch additional data 5.Execute Program counter Instruction register Address register Accumulator7F

Fetch – Increment - Execute 22 6F B2 1E 24 E6 07 5C FD 3C A B AA 5E AB C 70 DF 32 2D 40 1F 69 C0 8A 7C 0F E9 90 9D 39 2E 4D 1F 60 9A 09 7D 10 4C 93 6F 81 B5 6A 9F 0A 1C Fetch next instruction 2.Increment program counter 3.Decode instruction 4.? Fetch additional data 5.Execute Program counter Instruction register401F69C0 Address register Accumulator7F

Fetch – Increment - Execute 22 6F B2 1E 24 E6 07 5C FD 3C A B AA 5E AB C 70 DF 32 2D 40 1F 69 C0 8A 7C 0F E9 90 9D 39 2E 4D 1F 60 9A 09 7D 10 4C 93 6F 81 B5 6A 9F 0A 1C Fetch next instruction 2.Increment program counter 3.Decode instruction 4.? Fetch additional data 5.Execute Program counter Instruction register401F69C0 Address register 1F69C0 Accumulator7F

Add 22 6F B2 1E 24 E6 07 5C FD 3C A B AA 5E AB C 70 DF 32 2D 40 1F 69 C0 8A 7C 0F E9 90 9D 39 2E 4D 1F 60 9A 09 7D 10 4C 93 6F 81 B5 6A 9F 0A 1C Fetch next instruction 2.Increment program counter 3.Decode instruction 4.? Fetch additional data 5.Execute Program counter Instruction register401F69C0 Address register 1F69C0 Accumulator3EF

Fetch – Increment - Execute 22 6F B2 1E 24 E6 07 5C FD 3C A B AA 5E AB C 70 DF 32 2D 35 1F 69 C0 8A 7C 0F E9 90 9D 39 2E 4D 1F 60 9A 09 7D 10 4C 93 6F 81 B5 6A 9F 0A 1C Fetch next instruction 2.Increment program counter 3.Decode instruction 4.? Fetch additional data 5.Execute Program counter Instruction register351F69C0 Address register 1F69C0 Accumulator7F

Jump 22 6F B2 1E 24 E6 07 5C FD 3C A B AA 5E AB C 70 DF 32 2D 40 1F 69 C0 8A 7C 0F E9 90 9D 39 2E 4D 1F 60 9A 09 7D 10 4C 93 6F 81 B5 6A 9F 0A 1C Fetch next instruction 2.Increment program counter 3.Decode instruction 4.? Fetch additional data 5.Execute Program counter001F69C0 Instruction register401F69C0 Address register 1F69C0 Accumulator7F

When Do Things Happen? 1.Fetch next instruction 2.Increment program counter 3.Decode instruction 4.? Fetch additional data 5.Execute

When Do Things Happen? 1.Fetch next instruction 2.Increment program counter 3.Decode instruction 4.? Fetch additional data 5.Execute

When Do Things Happen? 1.Fetch next instruction 2.Increment program counter 3.Decode instruction 4.? Fetch additional data 5.Execute

When Do Things Happen? 1.Fetch next instruction 2.Increment program counter 3.Decode instruction 4.? Fetch additional data 5.Execute

The Computer’s Clock from time import clock def clock_it(n): for i in range(n): rand = clock() print(rand) Let’s watch the clock on this machine:

Clock Speed

Clock Speeds Intel® Core™ i M processor (2.40GHz ) Apple Mac Book Pro Intel® Core™ i7 970 Processor (6x 3.20GHz/12MB L3 Cache) 2011 Pallidin F 2.53 GHz 4Q 2012: Intel® Core™ i7 3970X Processor (6x 3.250GHz/15MB L3 Cache)

What’s Going on Here? Parallelism

Pipelining Fill two cups of Diet Coke Build a housing development Can you think of more?

Pipelining Fill two cups of Diet Coke Build a housing development Laundry

Pipelining Bottlenecks We can solve this problem by adding a new kind of parallelism.

Adding Them Up

Single Instruction Stream Multiple Data Stream (SIMD) Add numbers Process insurance claims Rowing

SIMD to Funnel UT admissions

SIMD in Football A quilt of blocks

Increasing Parallelism in SIMD Problem: Bottlenecks

Eliminating Bottlenecks Solution: Add more processors. Benefit: Faster throughput at peak times. Cost:

The Essential SIMD Property

Back to CPUs Pipelining in a single CPU:

What About Multicore CPUs? Rendering in gaming Sorting your gmail Multiple browser tabs Weather modeling Watson ( )

The Main Components Data Bus Memory (RAM) Central Processing Unit (CPU) Secondary Storage Input/Output I/O

How Much Data Storage for Facebook? People share more than 2.5 billion pieces of content on Facebook each day (August, 2012). At least 60,000 in 6/2010

How Much Data Storage for Facebook? People share more than 30 billion pieces of content on Facebook each month.

Data Centers Slurp Up Power as-the-entire-county

Memory Hierarchy

The Beer Model 1)Glass

The Beer Model 1)Glass 2)Cooler

The Beer Model 1)Glass 2)Cooler 3)Refrigerator

The Beer Model 1)Glass 2)Cooler 3)Refrigerator 4)Grocery Store

Memory Hierarchy

What Happens When The Power Goes Off? These loose data: Boot from these?

Booting Up IBM Thomas Watson, Sr. (seated)

Booting Up CDC The first “supercomputer” Price: $6 – 10 million

Booting Up Today These loose data: Add another kind of memory: fast, nonvolatile

The Main Components Data Bus Memory (RAM) Central Processing Unit (CPU) Secondary Storage Input/Output I/O

The Data Bus Four bytes being transmitted in parallel on a 32 bit bus. Suppose we had a 64 bit bus? Or only an 8 bit one?

The Data Bus

An Example of an (Evolving) Standard - USB USB January Data transfer rate: 1.5 Mbit/s. USB 1.1 -September Data transfer rate: 12 Mbit/s for higher-speed devices or 1.5 Mbit/s for low bandwidth devices such as joysticks. USB April Data transfer rate of 480 Mbit/s. USB November Data transfer rate of 3200 Mbit/s (5 Gbit/s).

System Configuration ASUS K60I-RBBBR05 Notebook PC Refurbished Smart Choice 16” high definition LED-backlit widescreen and equipped with reddot design award winning ergonomic chocolate keyboard ASUS Infusion gives you eye-catching style and scratch resistant protection Experience Windows® 7 Home Premium (64-bit) for fast performance, intuitive control, and increased battery life

System Configuration ASUS K60I-RBBBR05 Notebook PC Refurbished Specifications: Operating System: Windows® 7 Home Premium 64-bit Processor: Intel® Pentium Dual Core T4400 Mobile Processor (2.2GHz, 1MB L2 Cache, 800MHz FSB) Graphics: Intel® Graphics Media Accelerator 4500M Integrated Graphics Memory: 4GB RAM (4GB Maximum) Display: 16.0” HD LED-backlit (1366x768) Widescreen Hard Drive: 500GB HDD Hard Drive Optical Drive: SuperMulti DVDRW Drive Audio: Built-in Azalia compliant audio chip Camera: Integrated webcam & microphone Card Slots: SD, MS, MMC w/ push/push type Ports: 4 USB 2.0 Ports, 1 VGA Port, 1 Headphone-out (Stereo) jack, 1 Microphone-in jack, 1 Lan RJ45 Communications: b/g/n Wi-Fi, 10/100/1000 Mbps Fast Ethernet Battery: 6-cell 2.2 AH K-Series, up to 3 hour and 31 minute battery life

System Configuration ASUS K60I-RBBBR05 Notebook PC Refurbished Card Slots: SD MS MMC w/ push/push type

System Configuration ASUS K60I-RBBBR05 Notebook PC Refurbished Ports: 4 USB 2.0 Ports, 1 VGA Port, 1 Headphone-out (Stereo) jack, 1 Microphone-in jack, 1 Lan RJ45