Computer Organization. This module surveys the physical resources of a computer system.  Basic components  CPU  Memory  Bus  I/O devices  CPU structure.

Slides:



Advertisements
Similar presentations
Chapter 6 I/O Systems.
Advertisements

Components of a computer system
The CPU The Central Presentation Unit What is the CPU?
Control path Recall that the control path is the physical entity in a processor which: fetches instructions, fetches operands, decodes instructions, schedules.
Chapter 2 Data Manipulation Dr. Farzana Rahman Assistant Professor Department of Computer Science James Madison University 1 Some sldes are adapted from.
COMPUTER ORGANIZATION CHAPTER SUBSYSTEM INTERCONNECTION.
Computer Architecture and Data Manipulation Chapter 3.
Computer Organization. This module surveys the physical resources of a computer system. –Basic components CPUMemoryBus I/O devices –CPU structure Registers.
Chapter 5 Computing Components Nell Dale John Lewis.
Computer Systems. Computer System Components Computer Networks.
1 Lecture 2: Review of Computer Organization Operating System Spring 2007.
Chapter 5: Computer Systems Organization Invitation to Computer Science, Java Version, Third Edition.
Chapter 5 Computing Components Nell Dale John Lewis.
11/18/2004Comp 120 Fall November 3 classes to go No class on Tuesday 23 November Last 2 classes will be survey and exam review Interconnect and.
Chapter 5: Computer Systems Organization Invitation to Computer Science, C++ Version, Third Edition Added to by S. Steinfadt - Spring 2005 Additional source.
I/O Subsystem Organization and Interfacing Cs 147 Peter Nguyen
Introduction to Database Systems 1 The Storage Hierarchy and Magnetic Disks Storage Technology: Topic 1.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition, Chapter 12: Mass-Storage Systems.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition, Chapter 12: Mass-Storage Systems.
Mass Storage System EMELIZA R. YABUT MSIT. Overview of Mass Storage Structure Traditional magnetic disks structure ◦Platter- composed of one or more.
Input/Output. Input/Output Problems Wide variety of peripherals —Delivering different amounts of data —At different speeds —In different formats All slower.
Computer Organization Computer Organization & Assembly Language: Module 2.
Computer Systems 1 Fundamentals of Computing The CPU & Von Neumann.
CS 1308 Computer Literacy and the Internet Computer Systems Organization.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition, Chapter 12: Mass-Storage Systems.
CPU Computer Hardware Organization (How does the computer look from inside?) Register file ALU PC System bus Memory bus Main memory Bus interface I/O bridge.
Chapter 5: Computer Systems Organization Invitation to Computer Science, Java Version, Third Edition.
I/O Example: Disk Drives To access data: — seek: position head over the proper track (8 to 20 ms. avg.) — rotational latency: wait for desired sector (.5.
Computer Architecture Lecture10: Input/output devices Piotr Bilski.
Chapter 12: Mass-Storage Systems Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th Edition, Jan 1, 2005 Chapter 12: Mass-Storage.
Ihr Logo Operating Systems Internals & Design Principles Fifth Edition William Stallings Chapter 1 Computer System Overview.
I/O Management and Disk Structure Introduction to Operating Systems: Module 14.
CPU Design. Introduction – The CPU must perform three main tasks: Communication with memory – Fetching Instructions – Fetching and storing data Interpretation.
Chapter 5 Computing Components Nell Dale John Lewis.
5-1 Computer Components Consider the following ad.
Chapter 5 Computing Components. 5-2 Chapter Goals List the components and their function in a von Neumann machine Describe the fetch-decode-execute cycle.
General Concepts of Computer Organization Overview of Microcomputer.
Computer Architecture Lecture 2 System Buses. Program Concept Hardwired systems are inflexible General purpose hardware can do different tasks, given.
Computer Architecture Memory, Math and Logic. Basic Building Blocks Seen: – Memory – Logic & Math.
Computer Hardware A computer is made of internal components Central Processor Unit Internal External and external components.
CS 1308 Computer Literacy and the Internet. Objectives In this chapter, you will learn about:  The components of a computer system  Putting all the.
Lecture 1: Review of Computer Organization
Operating Systems (CS 340 D) Princess Nora University Faculty of Computer & Information Systems Computer science Department.
Operating Systems (CS 340 D) Princess Nora University Faculty of Computer & Information Systems Computer science Department.
Question What technology differentiates the different stages a computer had gone through from generation 1 to present?
Input Output Techniques Programmed Interrupt driven Direct Memory Access (DMA)
Architectural Considerations A Review of Some Architectural Concepts.
1 Basic Processor Architecture. 2 Building Blocks of Processor Systems CPU.
Chapter 2 Data Manipulation © 2007 Pearson Addison-Wesley. All rights reserved.
1 Computer Architecture. 2 Basic Elements Processor Main Memory –volatile –referred to as real memory or primary memory I/O modules –secondary memory.
1 Device Controller I/O units typically consist of A mechanical component: the device itself An electronic component: the device controller or adapter.
1 3 Computing System Fundamentals 3.2 Computer Architecture.
Main Memory Main memory – –a collection of storage locations, –each with a unique identifier called the address. Word- –Data are transferred to and from.
BASIC COMPUTER ARCHITECTURE HOW COMPUTER SYSTEMS WORK.
CIT 140: Introduction to ITSlide #1 CSC 140: Introduction to IT Operating Systems.
Chapter 3 Getting Started. Copyright © 2005 Pearson Addison-Wesley. All rights reserved. Objectives To give an overview of the structure of a contemporary.
CHAPTER 10: Computer Peripherals
Computer Architecture
Computer Architecture
Computer Organization
Chapter 5: Computer Systems Organization
GCSE OCR 1 The CPU Computer Science J276 Unit 1
Chapter 5 Computer Organization
A Top-Level View Of Computer Function And Interconnection
Objectives Describe common CPU components and their function: ALU Arithmetic Logic Unit), CU (Control Unit), Cache Explain the function of the CPU as.
Presentation transcript:

Computer Organization

This module surveys the physical resources of a computer system.  Basic components  CPU  Memory  Bus  I/O devices  CPU structure  Instruction cycle  Disk geometry

Basic Architecture u Processor (CPU) u Main Memory  volatile u I/O devices  secondary memory  communications  terminals u System interconnection  a bus is used to exchange data and control information CPUMemory System Bus Disk Controller Network Controller Serial Device Controller

Interconnection: the bus u Conceptually, a collection of parallel wires, each of which is dedicated to carrying one of  data  address  control (of access to the bus) u Only one component can “write” to a particular wire of the bus at a time data address control

CPU and the Memory u The Central Processing Unit (CPU)  responsible for instruction execution  determines how the memory is to be modified  contains a few data container called registers u The Main Memory  large collection of data containers  each is labeled with a positive integer called its address u For each instruction, the CPU fetches input data from registers or memory, then writes output to a register or memory location

Central Processing Unit u Arithmetic logic unit (ALU)  performs arithmetic and logic operations u Control unit  reads and decodes instructions  initiates execution of instruction by proper component u Registers  some have special purpose CPU ALUControl PC IR PSW AR CP DP SP CL DL v0 a0s0s1s2s3

Fetch-Decode-Execute Cycle u The CPU is endlessly looping through these steps  Actual steps will vary from processor to processor u Simple model 1. fetch the next instruction 2. decode the instruction & load its data from registers 3. execute the instruction 4. read from memory, or write to memory 5. write to registers

Device Controllers u Devices are not connected directly to the system bus u Each device has a device controller between it and the system bus u One controller may have multiple devices u For example: SCSI devices, IDE devices, USB devices CPUMemory System Bus Disk Controller Network Controller Serial Device Controller

I/O Devices u Each device has a buffer which mediates data transfer. u Transfer between memory and devices is limited by the size and speed of the data bus. u For example, though a disk reads data to its buffer one block at a time, transfer to memory is one word at a time. CPUMemory System Bus Device Controller buffer

Disk Structure u Disk drives are addressed as large 1-dimensional arrays of logical blocks, where the logical block is the smallest unit of transfer  Like a big random-access file where each record is a logical block u The 1-dimensional array of logical blocks is mapped into the sectors of the disk sequentially.  Sector 0 is the first sector of the first track on the outermost cylinder.  Mapping proceeds in order through that track, then the rest of the tracks in that cylinder, and then through the rest of the cylinders from outermost to innermost.

Disk Device u Accessing data on disk requires waiting  For the disk to spin to the proper location  Rotational latency  For the read/write heads to move to the proper location  Seek time u Disk access is around times slower than memory access

Uniform sector mapping Track 2, Sector 7 Track 0, Sector 0 u Sectors stored in the outer tracks use more space to store the same number of bits as the inner tracks  This is somewhat wasteful u The disk spins at a constant angular velocity  rpm’s

Zoned Bit Density u The tracks are divided into zones  There are more sectors in outer zones than in inner zones u This leads to a more efficient use of disk space u The disk still spins at a constant angular velocity  But outer tracks have more bits per rotation, and so are read faster