We think you have liked this presentation. If you wish to download it, please recommend it to your friends in any social system. Share buttons are a little bit lower. Thank you!
Presentation is loading. Please wait.
Published byNickolas Baller
Modified over 2 years ago
Cis303a_chapt06.ppt Copyright© 2002 Morris Fulcher Chapter 6 System Integration and Performance System Bus Bus Parallel communications lines that connect two or more devices System Bus Connects the CPU with the other components Peripheral Devices Devices other than CPU and Primary Storage (main memory) Data Bus Moves data among the computer system components Sometimes simultaneously with Address Bus usage Address Bus Memory address location Used only when memory is the target, destination Control Bus Commands, command responses, status codes 203 Fig 6-2
Cis303a_chapt06.ppt Copyright© 2002 Morris Fulcher CPU Primary Storage (memory) Secondary Storage I/O Units Data Bus Address Bus Control Bus Control Unit ALU Registers Main Memory Hard Disk Printers Scanners Floppy disk CDs DVDs Mouse Monitor System Bus
Cis303a_chapt06.ppt Copyright© 2002 Morris Fulcher Milliseconds: thousandths of a second 1/1,000 second =.001 Microseconds: millionths of a second 1/1,000,000 second = Nanoseconds: billionths of a second 1/1,000,000,000 second = Measurements
Cis303a_chapt06.ppt Copyright© 2002 Morris Fulcher System Bus Bus Clock Carried on one or more of the Control Bus lines Megahertz (MHz): the frequency of the clock pulses Coordinates all I/O activity Each pulse marks the beginning of a new opportunity (period) for an I/O activity Bus Cycle The time interval from one clock pulse to the next The amount of time of one (1) cycle Ex. Clock Rate = 133 MHz 133,000,000 pulses (cycles) per second = seconds 133,000, seconds = nanoseconds 203
Cis303a_chapt06.ppt Copyright© 2002 Morris Fulcher System Bus Considerations Bus clock rate is below maximum due to: Noise Interference Time required for peripheral device interface circuits to set up Slower bus clock rates Increase peripheral device reliability Acceptable cost levels Data Transfer Rate (bus capacity) Amount of data that can be transferred in one second Data Transfer Unit Amount of data a computer transfers at one time Data Transfer Unit X Clock Rate 64 bits X 100 MHz 8 bytes X 100,000,000 Hz 800,000,000 bytes per second 204
Cis303a_chapt06.ppt Copyright© 2002 Morris Fulcher Protocol manners, etiquette, code of behavior, practice set of rules, modus operandi, method Governs Transmitting/receiving format Content of information Timing (along with the system clock) Data Memory addresses Control messages Data Transfer Rate impacts Control signals consume clock pulses Less pulses for transferring data Handshaking: page 205 Efficient bus protocols are complex thus costly Bus and peripherals Bus Master CPU Coordinates all communication between devices System performance reduced Bus Slave I/O devices use the bus via control by the CPU Bus Protocol
Cis303a_chapt06.ppt Copyright© 2002 Morris Fulcher Performance Improvement Storage (memory) and I/O devices can communicate directly Two methods 1. Direct memory Access (DMA) DMA Controller Attaches bus to main memory Assumes role of Bus Master for memory and I/O device communications Handles transfers between memory and I/O devices Frees up CPU to continue processing by relieving the CPU responsibility for also controlling the bus (computers only do 1 thing at a time) 2. Multiple Master Bus Any I/O device acts as bus master for transfers to any other I/O device, not just memory. An arbitration unit determines which I/O device becomes master Complex and costly Bus Protocol
Cis303a_chapt06.ppt Copyright© 2002 Morris Fulcher I/O Port A communications pathway from the computer to a peripheral A physical connection board and slot A logical connection Memory address Read and written to by a peripheral Controlled by a program (driver) I/O Port Driver CPU instruction set is simpler CPU does not have to understand each peripheral language Special bus circuitry is not required for each peripheral New peripherals may be added more easily Relieves CPU responsibility for knowing Storage capacity Data transfer rate Internal data coding methods Device is a storage or I/O Logical and Physical Access 206
Cis303a_chapt06.ppt Copyright© 2002 Morris Fulcher Device Controller Connects the device to the system bus Monitor the bus control lines Translate commands Data formats translated to/from CPU Command and status commands translated Perform conversions between logical and physical access commands Allow more than one physical device to be connected to the bus Implement the bus interface Implement access protocols Translate logical accesses into physical accesses Permit several devices to share access to the bus Device Controllers 208
Cis303a_chapt06.ppt Copyright© 2002 Morris Fulcher I/O Channel or Channel A dedicated special-purpose computer Allows CPU to continue processing Controlled by the Channel Command Word (CCW) Channel Status Word (CSW) Mainframe Channels
Cis303a_chapt06.ppt Copyright© 2002 Morris Fulcher SCSI Small Computer System Interface Standard busses designed for secondary storage devices Connect up to 16 I/O devices Addressed 0 – 15 Control Bus control (commands) device status Data bus Data transmission Device identification Allows multiple devices to be bus master SCSI Controller Translation between system bus and SCSI bus 211 Fig 6-6
Cis303a_chapt06.ppt Copyright© 2002 Morris Fulcher Interrupts I/O Wait State CPU waiting for a device to complete a request No CPU cycles are being used to execute instructions Interrupt A signal from a device to gain the CPUs attention The CPU stores the interrupt in the Interrupt Register Interrupt Register Contains the Interrupt Code Interrupt Code Bus Port and peripheral device address CPU monitors the Interrupt Register Interrogates the IR at end of execution cycle If non-zero – current process is suspended and the CPU processes the interrupt Interrupt Handler service routines In main memory One for each possible interrupt 213
Cis303a_chapt06.ppt Copyright© 2002 Morris Fulcher Stack Processing A mechanism that allows a program to resume execution in exactly the same state (swapping registers) Stack An area of main memory that is accessed in a last- in, first-out (LIFO) method Is in main memory The last set of registers in the stack are the first out Push Placing the current registers into (onto) the stack Pop Retrieving the top (last) registers from the stack and placing them into the current registers Stack Overflow error Stack is full – all space allocated for stack memory is in use – no more Pushing is allowed Stack Pointer register Points to next empty address in the stack 215
Cis303a_chapt06.ppt Copyright© 2002 Morris Fulcher Buffers and Caches Improve computer system performance Main memory Buffers Small storage area in main memory Holds data in transit from one device to another Due to differences in Data transfer size Data transfer rate Data is temporary Data is automatically removed following use (transfer) Single direction data flow Cache Main memory Improve system performance Content is not automatically removed Data can be stored for future use Bi-directional data flow Requires intelligent management (software) Primary Storage Cache SRAM (fast but expensive) used as cache between main memory DRAM (slower and more inexpensive)
Cis303a_chapt06.ppt Copyright© 2002 Morris Fulcher Compression A technique to reduce the number of bits used to encode a data item (i.e. file) Removal of waster or not used space Compression algorithm A mathematical compression technique implemented as a program Decompression algorithm Restores compressed data Lossless compression Decompressing results in exactly the same file that was compressed Accounting Programs Lossy compression The decompressed data is not exactly the same as the data that was compressed Audio Video Humans fill in the blanks of what is missing Compression ratio The ratio of the size of the data before and after the compression
System Integration and Performance. System Bus Connects the CPU with main memory and other system components. Connects the CPU with main memory and other.
Cis303a_chapt06_exam.ppt CIS303A: System Architecture Exam - Chapter 6 Name: __________________ Date: _______________ 1. What connects the CPU with other.
Chapter 6 System Integration and Performance. Chapter goals Describe the implementation of the system bus and bus protocol. Describe how the CPU and bus.
2 Systems Architecture, Fifth Edition Chapter Goals Describe the system bus and bus protocol Describe how the CPU and bus interact with peripheral devices.
SCSC 311 Information Systems: hardware and software.
1 Computer System Overview Chapter 1. 2 n An Operating System makes the computing power available to users by controlling the hardware n Let us review.
Top Level View of Computer Function and Interconnection.
COMPUTER ORGANIZATIONS CSNB123 Ver.1Systems and Networking1.
Cis303a_chapt04.ppt Chapter 4 Processor Technology and Architecture Internal Components CPU Operation (internal components) Control Unit Move data and.
ROHAIL EEE440 Computer Architecture. Program Concept Hardwired systems are inflexible General purpose hardware can do different tasks, given correct control.
ECEG-3202 Computer Architecture and Organization Chapter 3 Top Level View of Computer Function and Interconnection.
William Stallings Computer Organization and Architecture 8 th Edition Chapter 3 Top Level View of Computer Function and Interconnection.
William Stallings Computer Organization and Architecture 7 th Edition Chapter 3 System Buses.
William Stallings Computer Organization and Architecture 8 th Edition Chapter 3 Top Level View of Computer Function and Interconnection Lecture 3 and 4.
Chapter 3 System Buses. Hardwired systems are inflexible General purpose hardware can do different tasks, given correct control signals Instead.
1 Chapter 1 Basic Structures Of Computers. Computer : Introduction A computer is an electronic machine,devised for performing calculations and controlling.
1 Operating Systems Input/Output Management. 2 What is the I/O System A collection of devices that different sub- systems of a computer use to communicate.
Programmed I/O Interrupt-Driven I/O Direct Memory Access (DMA) I/O Processors 10/09/20141Input/Output Systems and Peripheral Devices (02-2)
Computer Architecture Lecture 2 System Buses. Program Concept Hardwired systems are inflexible General purpose hardware can do different tasks, given.
COMPUTER ORGANIZATION AND ASSEMBLY LANGUAGE Lecture 1 & 2 Introduction and Basics Course Instructor: Aisha Danish.
1 Computer System Overview Chapter 1 Review of basic hardware concepts.
University College Cork IRELAND Hardware Concepts An understanding of computer hardware is a vital prerequisite for the study of operating systems.
William Stallings Computer Organization and Architecture 6 th Edition Chapter 3 System Buses (revised 9/7/02)
Ihr Logo Operating Systems Internals & Design Principles Fifth Edition William Stallings Chapter 1 Computer System Overview.
1 Lecture 1: Review of Computer Organization Operating System Fall 2014.
Computer System Overview Chapter 1. Basic computer structure CPU Memory memory bus I/O bus diskNet interface.
Computer Processing of Data. This lesson includes the following sections: How Computers Process Data Factors Affecting Processing Speed Extending the.
Computer Organization and Architecture William Stallings 8th Edition Chapter 3 Top Level View of Computer Function and Interconnection.
1 Computer System Overview Chapter 1. 2 Operating System (OS) An operating system normally: Exploits the hardware resources of one or more processors.
Computer Hardware A computer is made of internal components Central Processor Unit Internal External and external components.
Computing and the Web Computer Hardware Components.
Chapter 8 Input/Output. Busses l Group of electrical conductors suitable for carrying computer signals from one location to another l Each conductor in.
William Stallings Computer Organization and Architecture 6 th Edition Chapter 3 System Buses.
Computer Buses Ref: Burd, Chp – 220 Englander, Chp 7 p Chp 8, p ,
1 Computer System Overview OS-1 Course AA
CH03 System Buses Computer Components Computer Function Interconnection Structures Bus Interconnection PCI CH03 TECH Computer Science.
Computer System Overview Chapter 1. Operating System Exploits the hardware resources of one or more processors Provides a set of services to system users.
8085 INTERNAL ARCHITECTURE. Upon completing this topic, you should be able to: State all the register available in the 8085 microprocessor and explain.
1 Lecture 2: Review of Computer Organization Operating System Spring 2007.
Computer Architecture Lecture 31 Fasih ur Rehman.
Computer Architecture and Organization Computer Components and System Buses.
Lecture 12 Today’s topics –CPU basics Registers ALU Control Unit –The bus –Clocks –Input/output subsystem 1.
Operating Systems and Networks AE4B33OSS Introduction.
MEMORY. Programs and the data are stored in the memory of the computer Ideally, the memory would be fast, large, and inexpensive. Unfortunately, it is.
Chapter 6 System Integration and Performance. 2 Chapter Goals Implementation of the system bus and bus protocol. Interaction of the CPU with peripheral.
© 2017 SlidePlayer.com Inc. All rights reserved.