Chapter 2 - Computer Organization CPU organization –Basic Elements and Principles –Parallelism Memory –Storage Hierarchy I/O –Fast survey of devices Character.

Slides:



Advertisements
Similar presentations
Introduction to Computers Section 4A. home Decimal Number System Called base 10 because 10 symbols are available.
Advertisements

Faculty of Information Technology Department of Computer Science Computer Organization Chapter 7 External Memory Mohammad Sharaf.
Princess Sumaya Univ. Computer Engineering Dept. Chapter 6:
RAID Redundant Array of Independent Disks
Computer Architecture and Data Manipulation Chapter 3.
Chapter 2: Computer-System Structures
1 Storage (cont’d) Disk scheduling Reducing seek time (cont’d) Reducing rotational latency RAIDs.
Other Disk Details. 2 Disk Formatting After manufacturing disk has no information –Is stack of platters coated with magnetizable metal oxide Before use,
Computer Systems Organization
©Brooks/Cole, 2003 Chapter 5 Computer Organization.
Data Manipulation Computer System consists of the following parts:
Associative Cache Mapping A main memory block can load into any line of cache Memory address is interpreted as tag and word (or sub-address in line) Tag.
Computer Systems Organization Chapter 2 Some slides © 2006 Pearson Education Inc, all rights reserved.
Informationsteknologi Friday, October 19, 2007Computer Architecture I - Class 61 Today’s class Floating point numbers Computer systems organization.
Organization of a Simple Computer. Computer Systems Organization  The CPU (Central Processing Unit) is the “brain” of the computer. Fetches instructions.
Computer Systems CS208. Major Components of a Computer System Processor (CPU) Runs program instructions Main Memory Storage for running programs and current.
Secondary Storage Management Hank Levy. 8/7/20152 Secondary Storage • Secondary Storage is usually: –anything outside of “primary memory” –storage that.
5.1 Chaper 4 Central Processing Unit Foundations of Computer Science  Cengage Learning.
Storage & Peripherals Disks, Networks, and Other Devices.
Redundant Array of Independent Disks
L/O/G/O External Memory Chapter 3 (C) CS.216 Computer Architecture and Organization.
N-Tier Client/Server Architectures Chapter 4 Server - RAID Copyright 2002, Dr. Ken Hoganson All rights reserved. OS Kernel Concept RAID – Redundant Array.
Disk Access. DISK STRUCTURE Sector: Smallest unit of data transfer from/to disk; 512B 2/4/8 adjacent sectors transferred together: Blocks Read/write heads.
1 More on Computer Components Computer switches Binary number system Inside the CPU Cache memory Types of RAM Computer buses Creating faster CPUs NEXT.
E0001 Computers in Engineering1 The System Unit & Memory.
The Computer Systems By : Prabir Nandi Computer Instructor KV Lumding.
Physics 413 Chapter 1 Computer Architecture What is a Digital Computer ? A computer is essentially a fast electronic calculating machine. What is a program.
CS 1308 Computer Literacy and the Internet Computer Systems Organization.
1 (Based on text: David A. Patterson & John L. Hennessy, Computer Organization and Design: The Hardware/Software Interface, 3 rd Ed., Morgan Kaufmann,
Instruction Set Architecture
1 CS503: Operating Systems Spring 2014 Dongyan Xu Department of Computer Science Purdue University.
Copyright Prentice-Hall, Inc Chapter 2.
Chapter 2 The CPU and the Main Board  2.1 Components of the CPU 2.1 Components of the CPU 2.1 Components of the CPU  2.2Performance and Instruction Sets.
Computers organization & Assembly Language Chapter 0 INTRODUCTION TO COMPUTING Basic Concepts.
Lecture 1 1 Computer Systems Architecture Lecture 1: What is Computer Architecture?
Organization of a Simple Computer The organization of a simple computer with one CPU and two I/O devices.
2.1 Operating System Concepts Chapter 2: Computer-System Structures Computer System Operation Storage Structure Storage Hierarchy Hardware Protection General.
L/O/G/O Cache Memory Chapter 3 (b) CS.216 Computer Architecture and Organization.
Chapter 8 CPU and Memory: Design, Implementation, and Enhancement The Architecture of Computer Hardware and Systems Software: An Information Technology.
CS Computer Architecture Section 600 Dr. Angela Guercio Fall 2010.
Ch. 2 Data Manipulation 4 The central processing unit. 4 The stored-program concept. 4 Program execution. 4 Other architectures. 4 Arithmetic/logic instructions.
Chapter 5 Computer Organization. Distinguish between the three components of a computer hardware. List the functionality of each component. Understand.
Chapter 2 Data Manipulation. © 2005 Pearson Addison-Wesley. All rights reserved 2-2 Chapter 2: Data Manipulation 2.1 Computer Architecture 2.2 Machine.
Computer Organization. This module surveys the physical resources of a computer system.  Basic components  CPU  Memory  Bus  I/O devices  CPU structure.
Memory Hierarchy. Hierarchy List Registers L1 Cache L2 Cache Main memory Disk cache Disk Optical Tape.
CS 1308 Computer Literacy and the Internet. Objectives In this chapter, you will learn about:  The components of a computer system  Putting all the.
Review of Computer System Organization. Computer Startup For a computer to start running when it is first powered up, it needs to execute an initial program.
Main Memory Main memory – –a collection of storage locations, –each with a unique identifier called the address. Word- –Data are transferred to and from.
Chapter 5 Computer Organization ( 計算機組織 ). Distinguish between the three components of a computer hardware. List the functionality of each component.
Lecture # 36 Computer Architecture and Organization.
Cache Memory.
Chapter 2: Computer-System Structures
Multiple Platters.
I/O System Chapter 5 Designed by .VAS.
Architecture Background
Basic Computer Organization
Computer Organization
Morgan Kaufmann Publishers Computer Organization and Assembly Language
Today’s agenda Hardware architecture and runtime system
Mark Zbikowski and Gary Kimura
Computers: Tools for an Information Age
What is Computer Architecture?
What is Computer Architecture?
What is Computer Architecture?
Chapter 5 Computer Organization
Computers: Tools for an Information Age
CSE378 Introduction to Machine Organization
Presentation transcript:

Chapter 2 - Computer Organization CPU organization –Basic Elements and Principles –Parallelism Memory –Storage Hierarchy I/O –Fast survey of devices Character Codes –Ascii, Unicode Homework: –Chapter 1 # 2, 3, 6; Chapter 2# 1, 2 4 (Due 4/8) –Chapter 2 #5, 9, 10, 12, 14, 21, 26, 36 (opt) (Due 4/15)

Overall Architecture CPU –Control –ALU –Registers –Data Paths Bus (es) Memory I/O

Basic Instruction Execute Cycle Control Unit Program Memory INSTR PC

Control Design I Microprogramming Control and Registers are fast but expensive. Microprogramming! –Allows a range of price-performance –Flexibility. –But - slower than direct execution.

Microprogrammed Control Unit

RISC vs CISC Microprogramming –Inexpensive complex instructions –But slow? RISC! –Simple instructions –Direct execution –Large on-chip register arrays –Sparc, PowerPC Modern CPUs? RISC SOAR

Design Guides Direct execution of instructions Maximize instruction issue rate Design instructions for easy decode Only load and store ref memory –E.g., no add to or from a memory addr directly. Lots of registers –Accessing memory is time-consuming.

Pipelining 5 step instruction cycle Largely separate hardware for each step Assembly line!

SuperScalar Architectures Why not two pipelines? –486 - one pipeline –Pentium - two pipelines, second limited –PII - one pipeline

More and More Most time in S4!

Multiprocessors Several CPUs in a box –Shared memory and I/O –Intel, Apple, Sun all support this Several boxes networked together –Swarm –Inter-box bus can be very high speed Modern supercomputers

Ahead Main Memory Secondary Memory –Disks, CDs, etc I/O –Buses -Monitors -Character Codes

Memory Bits, bytes, words ECC Cache

Memory Bit: 0/1 Which bit? –Addressing Word organization –Big vs little endian ADDRESS

Error Correcting Codes Logic level is an abstraction –Errors happen Strategy: redundancy. –Prevent, Detect, Correct Parity - a 1 bit error detect scheme – _0 - valid - total number of 1 bits is even. – _1 - invalid - total number of 1 bits is odd! Hamming distance –Number of bit positions that differ – vs ?

Error Correction , , , –Hamming distance: ? > ? > ?

Single bit error correction 4 bit data, 3 bits of error correction (2d+1) AB0C123

Cache Locality + invisibility = Cache –(cacher - to hide, fr.) –Size? –Line size? –Organization? –Unified? –Levels?

Secondary Storage Memory Hierachies Magnetic storage –Disk –IDE/SCSI/RAID Optical –CD/CD-R/CD-RW/DVD

Memory Hierarchy Registers - Cache - Main Memory

Magnetic Disk Platters coated with magnetic medium rotate –Magnetism electricity “head” positioned radially Data recorded in “tracks” –Separated into “sectors”

Density Growth Bottom line: no slowdown in near future.

RAID Redundant Array of Inexpensive Disks –High performance –Low cost Levels –0 - sector striping –1 - 0+duplicates –2 - ECC+bit-level stripping –3 - bit-stripping+parity

CD/CD-R/CD-RW/DVD/…

Buses ISA, EISA, PCI, AGP, SCSI, Firewire, USB, …. –Physical spec –Electrical spec –Protocol

USB Goals

USB Electrical –12MB/sec –480MB/sec –1.5 MB sec

Character Codes ASCII –7 bit code characters

Summary You should know –Basic instruction execution cycle –Basic computer architecture –Storage hierarchy Speed at each level Design tradeoffs and challenges at each level –Map from text ASCII

What about  “Escape” characters to shift font – F B UNICODE –16 bit code. –Each char or diacritical mark has own “code point” Latin (336 code points) Greek (144) Telugu (128) Katakana (1024) Han (20,992) Hangul (11,156) But a decent Japanese dictionary has 50k kanji, only 20,992 Han ideographs allocated. Which ones? –Probably not a final answer