Dr Mohamed Menacer College of Computer Science and Engineering Taibah University CE-321: Computer.

Slides:



Advertisements
Similar presentations
Room: E-3-31 Phone: Dr Masri Ayob TK 2123 COMPUTER ORGANISATION & ARCHITECTURE Lecture 4: Computer Performance.
Advertisements

Dr Mohamed Menacer College of Computer Science and Engineering, Taibah University CS-334: Computer.
Computer Organization and Architecture William Stallings 8 th Edition Chapter 1 Introduction.
CH01: Architecture & Organization 1 Architecture is those attributes visible to the programmer  Instruction set, number of bits used for data representation,
Computer performance.
COMPUTER ORGANIZATION CSNB123. COMPUTER ORGANIZATION CSNB123 Expected Course Outcome #Course OutcomeCoverage 1Explain the concepts that underlie modern.
Computer Architecture (Hardware Engineering) Dr. BEN CHOI Ph.D. in EE (Computer Engineering), The Ohio State University System Performance Engineer, Lucent.
CHAPTER 2 COMPUTER EVOLUTION
Semiconductor Memory 1970 Fairchild Size of a single core –i.e. 1 bit of magnetic core storage Holds 256 bits Non-destructive read Much faster than core.
Computer Architecture – CSC 345 Dr. Robert Fisher —Office Hours: TTh – 11:00-11:45. Also after class. —Office: CSTI 607 —
Computer Organization and Architecture Lecture 1 Introduction.
01 Introduction – Computer Evolution & Performance Computer Organization.
Computer Architecture EKT 422 Chapter 2 Computer Evolution and Performance.
Computer Architecture and Organization Introduction.
EKT 422 Computer Architecture
Chapter 2 Computer Evolution and Performance ECEG-3202 Computer Architecture and Organization.
Computer Evolution. ENIAC - background Electronic Numerical Integrator And Computer Eckert and Mauchly University of Pennsylvania Trajectory tables for.
Computer Evolution and Performance. ENIAC - background Electronic Numerical Integrator And Computer Electronic Numerical Integrator And Computer Eckert.
Introduction Computer System “An electronic device, operating under the control of instructions stored in its own memory unit, that can accept data (input),
Computer Organization and Architecture 23 Feb 2009.
Chapter 1 Introduction.  Architecture is those attributes visible to the programmer ◦ Instruction set, number of bits used for data representation, I/O.
Chapter 5: Computer Systems Design and Organization Dr Mohamed Menacer Taibah University
Lecture 2 on Chapter 2 Computer Evolution and Performance
Main memory Processor Bus Cache memory Figure 1.5.The processor cache.
William Stallings Computer Organization and Architecture Chapter 1 Introduction.
Computer Architecture
Computer Evolution and Performance. ENIAC - background Electronic Numerical Integrator And Computer Electronic Numerical Integrator And Computer Eckert.
Chapter 2 Computer Evolution and Performance. ENIAC - background Electronic Numerical Integrator And Computer Eckert and Mauchly University of Pennsylvania.
Chapter 1 Introduction.   In this chapter we will learn about structure and function of computer and possibly nature and characteristics of computer.
Computer Evolution and Performance. ENIAC - background Electronic Numerical Integrator And Computer Electronic Numerical Integrator And Computer Eckert.
William Stallings Computer Organization and Architecture 8th Edition
William Stallings Computer Organization and Architecture 6th Edition
William Stallings Computer Organization and Architecture 6th Edition
William Stallings Computer Organization and Architecture 8th Edition
William Stallings Computer Organization and Architecture 7th Edition
William Stallings Computer Organization and Architecture 7th Edition
Architecture & Organization 1
ECEG-3202 Computer Architecture and Organization
Computer Architecture and Organization
Architecture & Organization 1
BIC 10503: COMPUTER ARCHITECTURE
Text Book Computer Organization and Architecture: Designing for Performance, 7th Ed., 2006, William Stallings, Prentice-Hall International, Inc.
William Stallings Computer Organization and Architecture 8th Edition
William Stallings Computer Organization and Architecture 7th Edition
Created by Vivi Sahfitri
William Stallings Computer Organization and Architecture 7th Edition
Computer Evolution and Performance
William Stallings Computer Organization and Architecture 7th Edition
William Stallings Computer Organization and Architecture 7th Edition
William Stallings Computer Organization and Architecture 8th Edition
William Stallings Computer Organization and Architecture 7th Edition
William Stallings Computer Organization and Architecture 6th Edition
William Stallings Computer Organization and Architecture 7th Edition
Presentation transcript:

Dr Mohamed Menacer College of Computer Science and Engineering Taibah University CE-321: Computer Architecture Chapter 1: Computer Evolution and Performance William Stallings, Computer Organization and Architecture, 8th Edition

Architecture & Organization 1 Architecture is those attributes visible to the programmer —Instruction set, number of bits used for data representation, I/O mechanisms, addressing techniques. —e.g. Is there a multiply instruction? Organization is how features are implemented —Control signals, interfaces, memory technology. —e.g. Is there a hardware multiply unit or is it done by repeated addition?

Architecture & Organization 2 All Intel x86 family share the same basic architecture The IBM System/370 family share the same basic architecture This gives code compatibility —At least backwards Organization differs between different versions

Structure & Function Structure is the way in which components relate to each other Function is the operation of individual components as part of the structure

Function All computer functions are: —Data processing —Data storage —Data movement —Control

Functional View

Operations (a) Data movement

Operations (b) Storage

Operation (c) Processing from/to storage

Operation (d) Processing from storage to I/O

Structure - Top Level Computer Main Memory Input Output Systems Interconnection Peripherals Communication lines Central Processing Unit Computer

Structure - The CPU Computer Arithmetic and Login Unit Control Unit Internal CPU Interconnection Registers CPU I/O Memory System Bus CPU

Structure - The Control Unit CPU Control Memory Control Unit Registers and Decoders Sequencing Login Control Unit ALU Registers Internal Bus Control Unit

von Neumann/Turing Stored Program concept Main memory storing programs and data ALU operating on binary data Control unit interpreting instructions from memory and executing Input and output equipment operated by control unit

Structure of von Neumann machine

IAS - details 1000 x 40 bit words —Binary number —2 x 20 bit instructions Set of registers (storage in CPU) —Memory Buffer Register (MBR) —Memory Address Register (MAR) —Instruction Register (IR) —Instruction Buffer Register (IBR) —Program Counter (PC) —Accumulator (AC) —Multiplier Quotient (MQ)

Structure of IAS – detail

Transistor Based Computers Replaced vacuum tubes Smaller and Cheaper Solid State device, made from Silicon (Sand) Second generation machines IBM 7000 DEC —Produced PDP-1

Microelectronics Literally - “small electronics” A computer is made up of gates, memory cells and interconnections These can be manufactured on a semiconductor e.g. silicon wafer

Generations of Computer Vacuum tube Transistor Small scale integration on —Up to 100 devices on a chip Medium scale integration - to 1971 —100-3,000 devices on a chip Large scale integration —3, ,000 devices on a chip Very large scale integration —100, ,000,000 devices on a chip Ultra large scale integration – —Over 100,000,000 devices on a chip

Moore’s Law Gordon Moore – co-founder of Intel Increased density of components on chip Number of transistors on a chip will double every year Cost of a chip has remained almost unchanged Higher packing density means shorter electrical paths, giving higher performance Smaller size gives increased flexibility Reduced power and cooling requirements Fewer interconnections increases reliability

Growth in CPU Transistor Count

Intel —First microprocessor —All CPU components on a single chip —4 bit Followed in 1972 by 8008 —8 bit —Both designed for specific applications —Intel’s first general purpose microprocessor

Speeding it up Pipelining (In computing, a pipeline is a set of data processing elements connected in series, so that the output of one element is the input of the next one. The elements of a pipeline are often executed in parallel or in time-sliced fashion; in that case, some amount of buffer storage is often inserted between elements. ) On board cache (Short-term storage. A cache is used to speed up certain computer operations by temporarily placing data, or a copy of it, in a location where it can be accessed more rapidly than normal.) On board L1 & L2 cache ( internal caches are often called Level 1 (L1) caches. Most modern PCs also come with external cache memory, called Level 2 (L2) caches. These caches sit between the CPU and the DRAM. Like L1 caches, L2 caches are composed of SRAM but they are much larger. )

Speeding it up Branch prediction (The processor looks ahead in the instruction code and predicts branches or groups of instructions are likely to be processed next) Data flow analysis (The processor analyses which instructions are dependents on each others results or data to create an optimized scheduled to be executed when ready, independent of the original program order. This prevents unnecessary delay) Speculative execution (processors speculatively execute instructions ahead of their actual appearance in the program execution keeping the processor busy executing instructions that are likely to be needed)

Performance Balance Processor speed increased Memory capacity increased Memory speed lags behind processor speed

I/O Devices Peripherals with intensive I/O demands Large data throughput demands (throughput is the average rate of successful message delivery over a communication channel. This data may be delivered over a physical or logical link, over a wireless channel, or that is passing through a certain network node, such as data passed between two specific computers. The throughput is usually measured in bits per second (bit/s or bps), and sometimes in data packets per second or data packets per time slot. ) Processors can handle this Problem moving data Solutions: —Caching —Buffering —Higher-speed interconnection buses —More elaborate bus structures —Multiple-processor configurations

Typical I/O Device Data Rates

Key is Balance Designers strive to balance the throughput and processing demands of Processor components Main memory I/O devices Interconnection structures

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 –Propagation time for signals reduced Increase size and speed of caches —Dedicating part of processor chip –Cache access times drop significantly Change processor organization and architecture —Increase effective speed of execution —Parallelism

Problems with Clock Speed and Logic Density Power —Power density increases with density of logic and clock speed —Dissipating heat RC delay —Speed at which electrons flow limited by resistance and capacitance of metal wires connecting them —Delay increases as RC product increases —Wire interconnects thinner, increasing resistance —Wires closer together, increasing capacitance Memory latency —Memory speeds lag processor speeds Solution: —More emphasis on organizational and architectural approaches

Intel Microprocessor Performance

Increased Cache Capacity Typically two or three levels of cache between processor and main memory Chip density increased —More cache memory on chip –Faster cache access Pentium chip devoted about 10% of chip area to cache Pentium 4 devotes about 50%

More Complex Execution Logic Enable parallel execution of instructions Pipeline works like assembly line —Different stages of execution of different instructions at same time along pipeline Superscalar allows multiple pipelines within single processor —Instructions that do not depend on one another can be executed in parallel

Diminishing Returns Internal organization of processors complex —Can get a great deal of parallelism —Further significant increases likely to be relatively modest Benefits from cache are reaching limit Increasing clock rate runs into power dissipation problem —Some fundamental physical limits are being reached

New Approach – Multiple Cores Multiple processors on single chip —Large shared cache Within a processor, increase in performance proportional to square root of increase in complexity If software can use multiple processors, doubling number of processors almost doubles performance So, use two simpler processors on the chip rather than one more complex processor With two processors, larger caches are justified —Power consumption of memory logic less than processing logic Example: IBM POWER4 —Two cores based on PowerPC

POWER4 Chip Organization

Pentium Evolution (1) 8080 —first general purpose microprocessor —8 bit data path —Used in first personal computer – Altair 8086 —much more powerful —16 bit —instruction cache, prefetch few instructions —8088 (8 bit external bus) used in first IBM PC —16 Mbyte memory addressable —up from 1Mb —32 bit —Support for multitasking

Pentium Evolution (2) —sophisticated powerful cache and instruction pipelining —built in maths co-processor Pentium —Superscalar —Multiple instructions executed in parallel Pentium Pro —Increased superscalar organization —Aggressive register renaming —branch prediction —data flow analysis —speculative execution

Pentium Evolution (3) Pentium II —MMX technology (Multimedia Extensions) —graphics, video & audio processing Pentium III —Additional floating point instructions for 3D graphics Pentium 4 —Note Arabic rather than Roman numerals —Further floating point and multimedia enhancements Itanium —64 bit Itanium 2 —Hardware enhancements to increase speed See Intel web pages for detailed information on processors

Internet Resources - Web site for book William Stallings —Chapter 1 —Chapter 2 —links to sites of interest —links to sites for courses that use the book —information on other books by W. Stallings —Math —How-to —Research resources —Misc http: http:

Internet Resources - Web sites to look for WWW Computer Architecture Home Page CPU Info Center Processor Emporium ACM Special Interest Group on Computer Architecture IEEE Technical Committee on Computer Architecture Intel Technology Journal Manufacturer’s sites —Intel, IBM, etc.