CSC 360- Instructor: K. Wu Review of Computer Organization.

Slides:



Advertisements
Similar presentations
1/1/ / faculty of Electrical Engineering eindhoven university of technology Architectures of Digital Information Systems Part 1: Interrupts and DMA dr.ir.
Advertisements

Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 2: Computer-System Structures Computer System Operation I/O Structure Storage.
Chapter 2: Computer-System Structures
OS2-1 Chapter 2 Computer System Structures. OS2-2 Outlines Computer System Operation I/O Structure Storage Structure Storage Hierarchy Hardware Protection.
1 Lecture 2: Review of Computer Organization Operating System Spring 2007.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 2: Computer-System Structures Computer System Operation I/O Structure Storage.
© 2004, D. J. Foreman 1 Computer Organization. © 2004, D. J. Foreman 2 Basic Architecture Review  Von Neumann ■ Distinct single-ALU & single-Control.
Computer Hardware Processing and Internal Memory.
1 Computer System Overview OS-1 Course AA
Abhinav Kamra Computer Science, Columbia University 2.1 Operating System Concepts Silberschatz, Galvin and Gagne  2002 Chapter 2: Computer-System Structures.
University College Cork IRELAND Hardware Concepts An understanding of computer hardware is a vital prerequisite for the study of operating systems.
Computer System Organization S H Srinivasan
Midterm Tuesday October 23 Covers Chapters 3 through 6 - Buses, Clocks, Timing, Edge Triggering, Level Triggering - Cache Memory Systems - Internal Memory.
Computer System Structures memory memory controller disk controller disk controller printer controller printer controller tape-drive controller tape-drive.
Computer-System Structures
5.1 Chaper 4 Central Processing Unit Foundations of Computer Science  Cengage Learning.
Lecture 12 Today’s topics –CPU basics Registers ALU Control Unit –The bus –Clocks –Input/output subsystem 1.
CS-334: Computer Architecture
General System Architecture and I/O.  I/O devices and the CPU can execute concurrently.  Each device controller is in charge of a particular device.
Basic Operational Concepts of a Computer
Computers Central Processor Unit. Basic Computer System MAIN MEMORY ALUCNTL..... BUS CONTROLLER Processor I/O moduleInterconnections BUS Memory.
CHAPTER 2: COMPUTER-SYSTEM STRUCTURES Computer system operation Computer system operation I/O structure I/O structure Storage structure Storage structure.
Silberschatz, Galvin, and Gagne  Applied Operating System Concepts Module 2: Computer-System Structures Computer System Operation I/O Structure.
Chapter 2: Computer-System Structures
Thanks to Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 2 Computer-System Structures n Computer System Operation n I/O Structure.
1 CSE Department MAITSandeep Tayal Computer-System Structures Computer System Operation I/O Structure Storage Structure Storage Hierarchy Hardware Protection.
2: Computer-System Structures
CHAPTER 3 TOP LEVEL VIEW OF COMPUTER FUNCTION AND INTERCONNECTION
Top Level View of Computer Function and Interconnection.
Ihr Logo Operating Systems Internals & Design Principles Fifth Edition William Stallings Chapter 1 Computer System Overview.
1 Chapter 2: Computer-System Structures  Computer System Operation  I/O Structure  Storage Structure  Storage Hierarchy  Hardware Protection  General.
General Concepts of Computer Organization Overview of Microcomputer.
EEE440 Computer Architecture
© 2004, D. J. Foreman 1 Computer Organization. © 2004, D. J. Foreman 2 Basic Architecture Review  Von Neumann ■ Distinct single-ALU & single-Control.
© 2004, D. J. Foreman 1 Computer Organization. © 2004, D. J. Foreman 2 Basic Architecture Review  Von Neumann ■ Distinct single-ALU & single-Control.
ECEG-3202 Computer Architecture and Organization Chapter 3 Top Level View of Computer Function and Interconnection.
1 CS.217 Operating System By Ajarn..Sutapart Sappajak,METC,MSIT Chapter 2 Computer-System Structures Slide 1 Chapter 2 Computer-System Structures.
Silberschatz, Galvin and Gagne  2002 Modified for CSCI 399, Royden, Operating System Concepts Operating Systems Lecture 4 Computer Systems Review.
Silberschatz, Galvin and Gagne  Applied Operating System Concepts Chapter 2: Computer-System Structures Computer System Architecture and Operation.
Lecture 1: Review of Computer Organization
1 Lecture 1: Computer System Structures We go over the aspects of computer architecture relevant to OS design  overview  input and output (I/O) organization.
Overview von Neumann Architecture Computer component Computer function
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.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 2: Computer-System Structures Computer System Operation I/O Structure Storage.
Chapter 2: Computer-System Structures(Hardware) or Architecture or Organization Computer System Operation I/O Structure Storage Structure Storage Hierarchy.
Chapter 3 System Buses.  Hardwired systems are inflexible  General purpose hardware can do different tasks, given correct control signals  Instead.
Chapter 2: Computer-System Structures(Hardware)
Chapter 2: Computer-System Structures
Chapter 3 Top Level View of Computer Function and Interconnection
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 2: Computer-System Structures Computer System Operation I/O Structure Storage.
Computer Architecture
عمارة الحاسب.
Computer-System Architecture
Module 2: Computer-System Structures
Computer Organization
ECEG-3202 Computer Architecture and Organization
Computer Organization
Module 2: Computer-System Structures
Computer System Overview
Chapter 5 Computer Organization
Chapter 2: Computer-System Structures
Chapter 2: Computer-System Structures
Module 2: Computer-System Structures
Module 2: Computer-System Structures
Presentation transcript:

CSC 360- Instructor: K. Wu Review of Computer Organization

CSC 360- Instructor: K. Wu Agenda 1.Computer Organization 2.CPU 3. Memory 4. I/O 5. Architecture

CSC 360- Instructor: K. Wu 1. Computer Organization CPU Memory I/O

CSC 360- Instructor: K. Wu CSc 360Overview 3 2. CPU (1) Access –pins: address, data, control, status Internals –program counter (PC) –registers: address, data, control, flags –arithmetic logic unit (ALU), FPU, etc Benchmarks –clock (GHz), instruction/cycle, MIPS

CSC 360- Instructor: K. Wu CSc 360Overview 4 2. CPU (2) operations Fetch –retrieve instructions from memory (cache) Decode –instruction: operator, operands; microcode Execute –arithmetic/logic operation –move data between register, memory, I/O –change execution flow

CSC 360- Instructor: K. Wu CSc 360Overview 5 3. Memory (1) Access –linear address –segmented address: segment, index –physical address: cylinder, header, sector (disk) Benchmarks –clock (MHz) –width (bits) –throughput (Mbps)

CSC 360- Instructor: K. Wu CSc 360Overview 6 3. Memory (2): hierarchies Speed vs. size (vs. cost) –registers: inside CPU –cache: transparent to programs –memory: main storage DRAM, SDRAM, SRAM, etc –disks: secondary storage electronic, magnetic, optical, etc –tapes: backup storage –networked storage Caching

CSC 360- Instructor: K. Wu CSc 360Overview 7 4. I/O (1) A large variety of input/output devices –keyboard/mouse, video, audio, network, etc Access –Address port numbers I/O vs. memory space –Interrupt –Direct memory access (DMA) Synchronous vs asynchronous

CSC 360- Instructor: K. Wu CSc 360Overview 8 4. I/O (2): Interrupts Asynchronous operation Nonmaskable interrupts –e.g., hardware fault Hardware interrupts –hardware events: e.g., I/O completion –interrupt controller: priority & arbitration Software interrupts –trap, system call

CSC 360- Instructor: K. Wu CSc 360Overview 9 4. I/O (3): Interrupt handling Save current state –CPU counters, registers, flags at system stack Update program counter –interrupt controller; interrupt vectors Execute interrupt routine Restore previous state Multiple interrupts –priority, masking, reentry

CSC 360- Instructor: K. Wu CSc 360Overview I/O (4): DMA High-speed I/O, bulk data transfer DMA controller –source/destination address –counter: the amount of data to be moved DMA handling –program DMA controller –execute DMA concurrently –issue an interrupt on DMA completion Q: compare interrupt vs DMA

CSC 360- Instructor: K. Wu CSc 360Overview Computer architectures Single-processor systems Multi-processor systems –symmetric multiprocessing (SMP) Cluster systems –interconnected systems Distributed systems –networked systems Grid systems