1 Computer System Organization I/O systemProcessor Compiler Operating System (Windows 98) Application (Netscape) Digital Design Circuit Design Instruction Set Architecture °Coordination between levels of abstraction Datapath & Control transistors Memory Hardware Software Assembler 10230
2 Abstraction Levels of a Computer System °Application S/W MS Word computer as electronic type-writer MS Excel computer as electronic calculator °System S/W Compilers computer as translator (source to executable program) Operating Systems computer as machine that executes programs, stores files, prints content of files to printers, communicate with other computers °Instruction Set What basic operations can be carried out What, where, and how data can be stored & retrieved in/from memory How can data be exchanged to the outside “world” °Computer H/W The 5 components: Datapath, Control, Memory, Input, Output
3 Levels of Programming Languages High Level Language Program (e.g., C) Assembly Language Program Machine Language Program (80x86) Control Signal Specification Compiler Assembler Machine Interpretation A = 25; B = 8; C = A * B; Adw 25 Bdw 8 Cresw 1 moveax, [A] movebx, [B] addeax, ebx mov[C], eax °°°° 10230
4 Java: Interpreted Programming Language Java Language Program Byte Code Machine Language Program (80x86) Control Signal Specification Java Compiler Machine Interpretation °°°° Interpreter (Java Virtual Machine) + Just In Time (JIT) Compiler
5 Components of a Computer KEYBOARD: to input command/data MONITOR: to output data SPEAKER: to output data “CPU”: to process command & data MOUSE: to input command/data DISK: to input/output data
6 Five main components of a computer Processor (active) Computer Control (“brain”) Datapath (“brawn”) Memory (passive) (where programs, data live when running) Devices Input Output Keyboard, Mouse Display, Printer Disk (where programs, data live when not running) “CPU”
7 Processor °Responsible of executing program stored in memory read instructions & input data execute store results (output data) °Datapath (“muscle”): ALU: Aritmetic & Logical Unit Exposed register -Size of register determines processor smallest data unit (i.e., 8-bit, 16-bit, 32-bit, 64-bit computers) Hidden register °Control Unit (“brain”): interprete instruction control data transfer between registers define processsor’s ‘language’ complexity (e.g., RISC vs. CISC)
8 Memory °Responsible of storing instructions/data °Each unit of instruction/data is stored in a memory cell, whose address is known to the processor °Any memory cell can be accessed by a processor randomly (RAM: random access memory) °The amount of instruction/data accessed by a processor may vary (1, 2,..., n memory cells at a time) °To achieve trade-off between speed and cost, memory is structured hierarchically memory hierarchy
9 Input/Output (Device) °Responsible of communicating with the outside (of computer) world °A device may serve as Input-only, Output-only, or both (Input-Output) device Input-only: keyboard Output-only: monitor display Input-Output: floppy disk, hard disk °Data translation may be needed when processor exchanges data with an I/O device so humans can understand them
10 Interconnection between components Gbr. 5. (a) back view (b) side view *Taken from
11 Interconnections between components Proc Caches Processor-Memory Bus Memory I/O Devices: Controllers adapters Disks Displays Keyboards Networks Interconnected by a BUS I/O Bus
12 Technology Trend
13 Technology Trend: Microprocessor Capacity 2X transistors/Chip Every 1.5 years Called “Moore’s Law” Alpha 21264: 15 million Pentium Pro: 5.5 million PowerPC 620: 6.9 million Alpha 21164: 9.3 million Sparc Ultra: 5.2 million Moore’s Law Pentium 4: 42 million Pentium III: 9.5 million
14 Technology Trend: Processor Performance 1.54X/yr
15 Technology Trend: Memory Capacity (1 Chip DRAM) year size(MB) Now 1.4X/yr, or doubling every 2 years 4000X since 1980
16 Technology Trend: Disk Capacity Areal Density = BPI x TPI -BPI: Bit Per Inch -TPI: Tracks Per Inch Change slope 30%/yr to 60%/yr about 1991
17 High Performance Computers
18 Intel Pentium Pro Quad All coherence and multiprocessing glue in processor module Highly integrated, targeted at high volume Low latency and bandwidth
19 SUN Enterprise °Proc + mem card - I/O card 16 cards of either type All memory accessed over bus, so symmetric Higher bandwidth, higher latency bus
20 Cray T3E Scale up to 1024 processors, 480MB/s links Memory controller generates request message for non-local references No hardware mechanism for coherence -SGI Origin etc. provide this
21 Intel Paragon
22 IBM SP-2 °Made out of essentially complete RS6000 workstations °Network interface integrated in I/O bus (bw limited by I/O bus)
23 Berkeley NOW °100 Sun Ultra2 workstations °Inteligent network interface proc + mem °Myrinet Network 160 MB/s per link 300 ns per hop
24 Intel 80x86 Architecture
25 Intel History: ISA evolved since 1978 °8086: 16-bit, all internal registers 16 bits wide; no general purpose registers; ‘78 °8087: + 60 Fl. Pt. instructions, (Prof. Kahan) adds 80-bit-wide stack, but no registers; ‘80 °80286: adds elaborate protection model; ‘82 °80386: 32-bit; converts 8 16-bit registers into 8 32-bit general purpose registers; new addressing modes; adds paging; ‘85 °80486, Pentium, Pentium II: + 4 instructions °MMX: + 57 instructions for multimedia; ‘97 °Pentium III: +70 instructions for multimedia; ‘99 °Pentium 4: +144 instructions for multimedia; '00
26 Architecture of Intel P6 (Pentium Pro) Control Unit Data Path
27 Example: Pentium-based Computer Processor/Memory Bus PCI Bus I/O Busses Memory Processor I/O