Presentation is loading. Please wait.

Presentation is loading. Please wait.

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

Similar presentations


Presentation on theme: "Dr Mohamed Menacer College of Computer Science and Engineering Taibah University CE-321: Computer."— Presentation transcript:

1 Dr Mohamed Menacer College of Computer Science and Engineering Taibah University eazmm@hotmail.com www.mmenacer.info. eazmm@hotmail.com CE-321: Computer Architecture Chapter 1: Computer Evolution and Performance William Stallings, Computer Organization and Architecture, 8th Edition

2 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?

3 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

4 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

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

6 Functional View

7 Operations (a) Data movement

8 Operations (b) Storage

9 Operation (c) Processing from/to storage

10 Operation (d) Processing from storage to I/O

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

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

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

14 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

15 Structure of von Neumann machine

16 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)

17 Structure of IAS – detail

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

19 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

20 Generations of Computer Vacuum tube - 1946-1957 Transistor - 1958-1964 Small scale integration - 1965 on —Up to 100 devices on a chip Medium scale integration - to 1971 —100-3,000 devices on a chip Large scale integration - 1971-1977 —3,000 - 100,000 devices on a chip Very large scale integration - 1978 -1991 —100,000 - 100,000,000 devices on a chip Ultra large scale integration – 1991 - —Over 100,000,000 devices on a chip

21 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

22 Growth in CPU Transistor Count

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

24 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. )

25 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)

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

27 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

28 Typical I/O Device Data Rates

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

30 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

31 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

32 Intel Microprocessor Performance

33 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%

34 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

35 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

36 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

37 POWER4 Chip Organization

38 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 80286 —16 Mbyte memory addressable —up from 1Mb 80386 —32 bit —Support for multitasking

39 Pentium Evolution (2) 80486 —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

40 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

41 Internet Resources - Web site for book William Stallings —Chapter 1 —Chapter 2 http://WilliamStallings.com/COA/COA7e.html —links to sites of interest —links to sites for courses that use the book —information on other books by W. Stallings http://WilliamStallings.com/StudentSupport.html —Math —How-to —Research resources —Misc http: www.howstuffworks.com http: www.wikipedia.com

42 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.


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

Similar presentations


Ads by Google