Fundamental of Computer Architecture By Panyayot Chaikan 240-208 September 13, 2004.

Slides:



Advertisements
Similar presentations
Virtualization Dr. Michael L. Collard
Advertisements

CSC 360- Instructor: K. Wu Overview of Operating Systems.
Secure Operating Systems Lesson 2: OS Fundamentals.
More on Processes Chapter 3. Process image _the physical representation of a process in the OS _an address space consisting of code, data and stack segments.
Slide 3-1 Copyright © 2004 Pearson Education, Inc. Operating Systems: A Modern Perspective, Chapter 3 3 Operating System Organization.
Chapter 6 สถาปัตยกรรมไมโครโพรเซสเซอร์แบบต่างๆ Processor Architectures
Thursday, June 08, 2006 The number of UNIX installations has grown to 10, with more expected. The UNIX Programmer's Manual, 2nd Edition, June, 1972.
OS2-1 Chapter 2 Computer System Structures. OS2-2 Outlines Computer System Operation I/O Structure Storage Structure Storage Hierarchy Hardware Protection.
Architectural Support for OS March 29, 2000 Instructor: Gary Kimura Slides courtesy of Hank Levy.
Dr Mohamed Menacer College of Computer Science and Engineering Taibah University CS-334: Computer.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 2: Computer-System Structures Computer System Operation I/O Structure Storage.
CSS430 Introduction1 Textbook Ch1 These slides were compiled from the OSC textbook slides (Silberschatz, Galvin, and Gagne) and the instructor’s class.
Operating System Structure. Announcements Make sure you are registered for CS 415 First CS 415 project is up –Initial design documents due next Friday,
Chapter 8 Operating System Support
Computer System Structures memory memory controller disk controller disk controller printer controller printer controller tape-drive controller tape-drive.
Process Concept An operating system executes a variety of programs
Operating system Structure and Operation
Virtual Machine Monitors CSE451 Andrew Whitaker. Hardware Virtualization Running multiple operating systems on a single physical machine Examples:  VMWare,
CS364 CH08 Operating System Support TECH Computer Science Operating System Overview Scheduling Memory Management Pentium II and PowerPC Memory Management.
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.
Operating System Overview Dr. Sunny Jeong & Mr. M.H. Park Operating Systems: Internals and Design Principles, 6/E William Stallings.
Chapter 1. Introduction What is an Operating System? Mainframe Systems
Introduction to Operating Systems Chapter 1. cs431 -cotter2 Lecture Objectives Understand the relationship between computing hardware, operating system,
Chapter 2: Computer-System Structures
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 5 Operating System Support. Outline Operating system - Objective and function - types of OS Scheduling - Long term scheduling - Medium term scheduling.
INTRODUCTION SOFTWARE HARDWARE DIFFERENCE BETWEEN THE S/W AND H/W.
Chapter 2: Computer-System Structures 2.1 Computer System Operation 2.5 Hardware Protection 2.6 Network Structure.
Chapter 2: Computer-System Structures Computer System Operation I/O Structure Storage Structure Storage Hierarchy Hardware Protection Network Structure.
Operating Systems Lecture November 2015© Copyright Virtual University of Pakistan 2 Agenda for Today Review of previous lecture Hardware (I/O, memory,
Operating System Structure A key concept of operating systems is multiprogramming. –Goal of multiprogramming is to efficiently utilize all of the computing.
Lecture Topics: 10/29 Architectural support for operating systems –timers –kernel mode –system calls –protected instructions.
Security Architecture and Design Chapter 4 Part 1 Pages 297 to 319.
We will focus on operating system concepts What does it do? How is it implemented? Apply to Windows, Linux, Unix, Solaris, Mac OS X. Will discuss differences.
4P13 Week 2 & 3 Talking Points 1. Kernel Processes 2.
Operating Systems 1 K. Salah Module 1.2: Fundamental Concepts Interrupts System Calls.
1 CS.217 Operating System By Ajarn..Sutapart Sappajak,METC,MSIT Chapter 2 Computer-System Structures Slide 1 Chapter 2 Computer-System Structures.
A. Frank - P. Weisberg Operating Systems Structure of Operating Systems.
Host and Application Security Lesson 5: The Role of an OS.
Silberschatz, Galvin and Gagne  Applied Operating System Concepts Chapter 2: Computer-System Structures Computer System Architecture and Operation.
Lecture 26 Virtual Machine Monitors. Virtual Machines Goal: run an guest OS over an host OS Who has done this? Why might it be useful? Examples: Vmware,
Faculty of Sciences and Social Sciences HOPE Chapter 2 Operating System Overview Stewart Blakeway FML
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 2: Computer-System Structures Computer System Operation I/O Structure Storage.
CSE 451: Operating Systems Winter 2015 Module 25 Virtual Machine Monitors Mark Zbikowski Allen Center 476 © 2013 Gribble, Lazowska,
Chapter 2 Operating System Overview Dave Bremer Otago Polytechnic, N.Z. ©2008, Prentice Hall Operating Systems: Internals and Design Principles, 6/E William.
1.1 Silberschatz, Galvin and Gagne ©2013 Operating System Concepts – 9 th Edition Chapter 1: Introduction What Operating Systems Do √ Computer-System Organization.
CSCE451/851 Introduction to Operating Systems
Computer System Structures
Computer Organization & Design 计算机组成与设计
Virtual Machine Monitors
Operating Systems Lecture 2.
An Introduction to Operating Systems
Virtualization Dr. Michael L. Collard
Chapter 4 – Introduction to Operating System Concepts
Day 08 Processes.
Day 09 Processes.
Lecture 24 Virtual Machine Monitors
Chapter 1: Introduction
Chapter 33: Virtual Machines
Operating Systems Lecture 2.
Architectural Support for OS
Operating Systems Lecture 3.
Computer Security: Art and Science, 2nd Edition
CSE 451: Operating Systems Autumn Module 24 Virtual Machine Monitors
Lecture 3: Main Memory.
Architectural Support for OS
Chapter 2 Operating System Overview
CSE 451: Operating Systems Autumn Module 24 Virtual Machine Monitors
Chapter 33: Virtual Machines
Presentation transcript:

Fundamental of Computer Architecture By Panyayot Chaikan September 13, 2004

Chapter 9- Operating System support Fundamental of Computer Architecture Chapter 9 การสนับสนุน ระบบปฏิบัติการ Operating System support

Chapter 9- Operating System support Fundamental of Computer Architecture เนื้อหา การสนับสนุนการทำ multitasking ของซีพียูและ ระบบฮาร์ดแวร์ - Program Relocation - Memory protection - Timer interrupt - Dual-mode operation of CPU ระบบหน่วยความจำเสมือน (Virtual Memory)

Chapter 9- Operating System support Fundamental of Computer Architecture Multitasking-Operating System  Supported by most OSs  Windows(98, NT, 2000, XP), Linux, OS/2, AIX, System7, Solaris, UNIX, etc.  Easy to use  Increment CPU utilization  Need HW support

Chapter 9- Operating System support Fundamental of Computer Architecture Multitasking :hardware support  Dual-Mode Operation  Program relocation  Memory protection  Timer interrupts

Chapter 9- Operating System support Fundamental of Computer Architecture Dual-mode Operation  Needed to protect the OS from improper behavior of application programs  CPU must provide at least 2 modes of operation  Monitor mode  User mode  OS runs in monitor mode only  Application runs in user mode only

Chapter 9- Operating System support Fundamental of Computer Architecture Monitor mode  Sometimes called Privileged mode or System mode  Used by OS only  Allow Privileged instructions to be executed  When interrupt or trap occurs, the CPU automatically switched to monitor mode

Chapter 9- Operating System support Fundamental of Computer Architecture User mode  Used by application program  Do not allow Privileged instructions to be executed  OS switch the CPU to user- mode before running application  Trap to OS when privileged instruction are tried to be executed by application program

Chapter 9- Operating System support Fundamental of Computer Architecture Program relocation

Chapter 9- Operating System support Fundamental of Computer Architecture Memory protection

Chapter 9- Operating System support Fundamental of Computer Architecture Memory protection hardware

Chapter 9- Operating System support Fundamental of Computer Architecture Case stydy: memory protection/relocation in CDC6600

Chapter 9- Operating System support Fundamental of Computer Architecture Timer interrupt  OS need to ensure that each application get CPU time equally  OS set value in Timer before switch to run application  While the application is running, value in timer is decreased every clock cycle  when value in Timer reach 0, the CPU is interrupted by Timer

Chapter 9- Operating System support Fundamental of Computer Architecture Timer of PC

Chapter 9- Operating System support Fundamental of Computer Architecture Timer of PC

Chapter 9- Operating System support Fundamental of Computer Architecture Virtual memory  Provide programmer’s point of view that the system has unlimited memory  Makes programming easier, overlay is no longer needed  The program can be run in the system that has limited physical memory

Chapter 9- Operating System support Fundamental of Computer Architecture What is Overlay?

Chapter 9- Operating System support Fundamental of Computer Architecture Virtual memory : Demand Paging

Chapter 9- Operating System support Fundamental of Computer Architecture TLB and Virtual memory

Chapter 9- Operating System support Fundamental of Computer Architecture TLB of Athlon processor

Chapter 9- Operating System support Fundamental of Computer Architecture จบ บทที่ 9