Overview of Operating Systems
|
|
- Hector Harrison
- 5 years ago
- Views:
Transcription
1 Lecture Outline Overview of Operating Systems Instructor: Dr. Tongping Liu Operating System: what is it? Evolution of Computer Systems and OS Concepts Different types/variations of Systems/OS Ø Parallel/distributed/real-time/embedded OS etc. OS as a resource manager Ø How does OS provide service? interrupt/system calls OS Structures and basic components Ø Process/memory/IO device managers Basic design approaches Ø Monolithic/layered/microkernel/virtual machine etc. 1 2 Lecture Outline Operating System: what is it? Evolution of Computer Systems and OS Concepts Different types/variations of Systems/OS Ø Parallel/distributed/real-time/embedded OS etc. OS as a resource manager Ø How does OS provide service? interrupt/system calls OS Structures and basic components Ø Process/memory/IO device managers Basic design approaches Ø Monolithic/layered/microkernel/virtual machine etc. First Computer: ENIAC in 1940s Big: 27 tons, 680 ft^2, and use 150kW Slow: tens instructions/per second Limited functions: addition/multiplication Hard to use: button switch or punching card I/O 3 4 1
2 First Computer: ENIAC (cont.) Got a problem with a program? à You are in trouble J Another Problem of ENIAC Earlier computers, e.g. ENIAC, were hard-wired to do one task. If the computer had to perform a different task, it had to be rewired, which was a tedious process. Process one job at a time Ø A slow speed Ø CPU time is precious Batch systems Ø Read in more jobs Ø Process one by one Ø I/O devices are still slow? Debug the program! 5 6 Von Neumann Architecture (1945) Classic Computer Design Input Device Central Processing Unit Control Unit Arithmetic/Logic Unit Output Device Since then computers more or less based on the same basic design, the Von Neumann Architecture! With a stored-program computer, a general purpose computer could be built to run different programs. Store data and program Memory Unit Execute program Do arithmetic/logic operations requested by program IO: communicate with "outside world 7 8 CMPUT101 Introduction to Computing 2
3 Desktop Systems: 1980s Personal computers dedicated to a single user; Objective: User convenience and responsiveness. Ø Individuals have sole use of computers Ø A single user may not need advanced features of mainframe OS (maximize utilization, protection). I/O devices display, keyboard, mouse and printers Today, desktop computers may run several different types of operating systems (Windows, MacOS, Linux) Parallel High-Performance Systems Goals: Ø Increased performance/throughput Ø Increased reliability, e.g. fault tolerance Multiprocessor systems: more than one CPUs Ø Tightly coupled system processors share memory, bus, IO, and clock; communication usually takes place through the shared memory Symmetric multiprocessing (SMP) vs. asymmetric Ø SMP: each processor runs an identical copy of the operating system, and all processors are peers Ø Asymmetric: master-slave 9 10 Modern Computer Hardware Organization Big Picture of Computer Systems User 1! User 2! User 3!...! User n! Compiler! app.! Text editor! Database system! System and Application Programs! von Neumann Architecture: stored program I/O devices Operating System! Hardware (CPU, MEM)!
4 Why do you need an OS? Definition of Operating System + OS (Windows) $300 $200 Do I have to buy the OS? Yes: you should have an OS to employ a modern computer Ø Otherwise, a set of silicon circuits do nothing good for you! OS provides user-friendly interfaces for using computers 13 A program manages computer hardware and software resources and provides common services for user programs. Different names for OS: Ø Kernel the program running at all times (different from application programs) Ø Control program controls the execution of user programs and operations of I/O devices Ø Resource allocator manages and allocates resources Goals of Operating system Ø Convenience: Make the computer convenient to use. Ø Efficiency: Manage system resources in an efficient manner 14 Lecture Outline Operating System: what is it? Evolution of Computer Systems and OS Concepts Different types/variations of Systems/OS Ø Parallel/distributed/real-time/embedded OS etc. OS as a resource manager Ø How does OS provide service? interrupt/system calls OS Structures and basic components Ø Process/memory/IO device managers Basic design approaches Ø Monolithic/layered/microkernel/virtual machine etc. Multiprogrammed Systems Several jobs run concurrently Ø Job: computing à input à computing à à output Ø Take turns to use CPU and I/O devices But which job uses what and when? Ø Need a manager/supervisor à OS A single program cannot keep busy for CPU and IO, thus wasting resources How to use the hardware (e.g., I/O devices)? Ø Resource manager/interface à OS
5 Time Sharing Systems Extension of multi-programmed systems Multiple interactive users Ø Allow on-line interaction with users; Ø Response time for each user should be short CPU is multiplexed among several jobs of several users that are kept in memory Ø CPU is allocated to jobs in Round-Robin manner Ø All active users must have a fair share of the CPU time: e.g. with 10 ms time quantum Example systems: IBM 704 and 7090 Multiprogramming vs. Time-Sharing Multiprogramming is the effective utilization of CPU time, by allowing several programs to use the CPU at the same time but time sharing is the sharing of a computing facility by several users that want to use the same facility at the same time Distributed Systems Loosely coupled system each processor has its own local memory, communicating with another one through various communications lines Advantages of distributed systems. Ø Resource sharing Ø Computation speed up load sharing Ø Reliability Ø Communications Peer-to-Peer Computing Systems One type of distributed system" P2P does not distinguish clients and servers" Ø All nodes are considered as peers" Ø Each may act as the client, the server or both" Ø A node must join P2P network" ü Registers its service with the central lookup service on network, or" ü Broadcasts requests for service and responds to requests for service via discovery protocol! Ø Examples include Napster and Gnutella! 19 5
6 Special Purpose Systems A real-time system is used when strict time requirements have been placed on the operation of a processor or the flow of data Ø Hard real-time: critical tasks must be completed on time Ø Soft real-time: no absolute timing guarantees (e.g. besteffort scheduling ); multimedia applications; An embedded system is a component of a more complex system Ø Control of a nuclear plant or Missile guidance Ø Control of home and car appliances (microwave oven, DVD players, car engines, ) Example: VxWorks and ecos; Android and ios Lecture Outline Operating System: what is it? Evolution of Computer Systems and OS Concepts Different types/variations of Systems/OS Ø Parallel/distributed/real-time/embedded OS etc. OS as a resource manager Ø How does OS provide service? interrupt/system calls OS Structures and basic components Ø Process/memory/IO device managers Basic design approaches Ø Monolithic/layered/microkernel/virtual machine etc Example: System-Call Processing. Standard C Library Example C program invoking printf() library call, which calls write() system call" 23 6
7 . Types of System Calls Examples: Major System Calls in Unix Process control" File management" Device management" Information maintenance" Communications" Protection" " 26 Examples of Windows and Unix System Calls Operation Modes Hardware support (mode bit) to differentiate between at least two modes of operations Ø User mode execution done on behalf of a user Ø Kernel mode (also monitor mode or system mode or privileged mode) executing on behalf of operating system E.g., interrupts: à switches to monitor mode. Interrupt! Privileged instructions can be issued only in kernel mode.! kernel! set user mode! user! 28 7
8 System call control flow - Linux User applica+on calls a user-level library rou+ne (gettimeofday(), read(), exec(), etc.) Invokes system call through stub, which specifies the system call number. From unistd.h: #define NR_getpid 172 SYSCALL( NR_getpid, sys_getpid) This generally causes an interrupt, trapping to kernel Kernel looks up system call number in syscall table, calls appropriate func+on Func+on executes and returns to interrupt handler, which returns the result to the userspace process System call control flow - Linux The idea is s+ll the same, although code is different 29 4/5/ /5/2012 System Calls System calls provide the services of the operating system to user programs. System calls are the only entry points into the kernel system. Ø Generally available in routines written in C and C++ Ø Certain low-level tasks may be written using assembly language System Calls vs. APIs Application programming interface (API) Ø An application programming interface (API) is (as the name suggests) an interface for your application to use code that does not belong to your application (e.g. a library or a system call). Ø Some APIs might have system calls within them, e.g. read, write. They have side effects outside the scope of a program. Ø Some APIs might not invoke system calls, e.g. memcpy
9 Interrupt An interrupt automatically puts the CPU into some elevated privilege level, and then passes control to the kernel, which determines whether the calling program should be granted the requested service If the service is granted, the kernel executes a specific set of instructions over which the calling program has no direct control, returns the privilege level to that of the calling program, and then returns Definition of Interrupt During normal execution of a computer program, there could be events that can cause the CPU to temporarily halt. Events like this are called interrupts. Ø Hardware interrupts, called as interrupts Ø Software interrupts, called as exceptions or traps System calls vs. (Hardware) Interrupts System call is a call to a subroutine built in to the system, while interrupt is an event that causes the processor to temporarily hold the current execution. Ø system calls are synchronous, while interrupts are not Ø Unlike a system call, an interrupt usually does not have anything to do with the current program. Ø When ever a system call occurs the processor only has to remember where to return to, but in the event of an interrupt, the processor has to remember both the place to return to and the state of the system. Interrupt Mechanisms Save the current process state Interrupt transfers control to the interrupt service routine (ISR) generally through interrupt vector containing the addresses of all the service routines. ISR: Separate segments of code determine what action should be taken for each type of interrupt. Once the interrupt has been serviced by the ISR, the control is returned to the interrupted program
10 Basic Interrupt Processing 1. The interrupt is issued 2. Processor finishes the execution of current instruction 3. Processor signals the acknowledgement of interrupt 4. Processor pushes the program status and PC to control stack 5. Processor loads new PC value via the interrupt vector 6. ISR saves the remainder of the process state information 7. ISR executes 8. ISR restores process states 9. Old states and PC values are restored from the control stack What if another interrupt occurs during interrupt processing? 37 Nesting Interrupts Only some systems support nesting interrupts, some do not. If nesting interrupt is allowed, but with restrictions. The common notion is that a high priority device can interrupt a low priority device, but not vice versa. Ø Programmers may provide the ability to enable and disable these interruptions at different times during program execution. Ø If interruption is disabled, the CPU does not respond to an interrupt signal. Ø After completion of the high-priority devices interrupt service routine, the processor will meet the demand of low priority interrupt devices 38 Classes of Interrupts I/O Interrupts: Generated by an I/O controller, to signal normal completion of an operation or to signal a variety of error conditions Timer Interrupts: Generated by a timer within the processor. This allows the operating system to perform certain functions on a regular basis, like scheduling Hardware Failure Interrupts: Generated by a failure (e.g. power failure or memory parity error). Traps (Software Interrupts): Generated by some condition that occurs as a result of an instruction execution Ø User request for an operating system service (e.g., system calls) Ø Runtime errors Lecture Outline Operating System: what is it? Evolution of Computer Systems and OS Concepts Different types/variations of Systems/OS Ø Parallel/distributed/real-time/embedded OS etc. OS as a resource manager Ø How does OS provide service? interrupt/system calls OS Structures and basic components Ø Process/memory/IO device managers Basic design approaches Ø Monolithic/layered/microkernel/virtual machine etc
11 Components in Operating System Process/thread Management Ø CPU (processors): most precious resource Memory Management Ø Main memory File Management à data /program Secondary-Storage Management à disk I/O System Management à I/O devices Protection and Security à access management I/O Process Management A process is a program in execution (active), Ø Dynamic concept, represented by process control block A process needs resources: execution environment Ø including CPU time, registers, memory, files, and I/O devices to accomplish its task OS provides mechanism to Ø Create/delete processes Ø Run/Suspend/resume processes (scheduling/signal) Ø Process communication and synchronization Ø Deadlock handling I/O devices Main Memory Management File Management The main memory is Ø a large array of words/bytes, each with its own address Ø a volatile storage device that the content is lost when power is off The operating system will Ø Keep track of which parts of memory are currently being used and by whom Ø Decide which processes to load when memory becomes available Ø Allocate and de-allocate memory space as needed A file is a collection of related information (logic unit) Ø Format is defined by its creator. Represent programs (source/object forms) and data Operating system responsibilities Ø File creation and deletion Ø Directory creation and deletion Ø Support of primitives for manipulating files and directories Ø Mapping files onto secondary storage Ø File backup on stable (non-volatile) storage media
12 Secondary-Storage Management The secondary storage backs up main memory and provides additional storage. Most common secondary storage type: disks The operating system is responsible for Ø Free space management Ø Storage allocation Ø Disk scheduling I/O System Management The Operating System will hide the peculiarities of specific I/O hardware from the user. In Unix, the I/O subsystem consists of: Ø A buffering, caching and spooling system Ø A general device-driver interface Ø Drivers for specific hardware devices Interrupt handlers and device drivers are crucial in the design of efficient I/O subsystems Storage Hierarchy Storage systems organized in hierarchy" Ø Speed" Ø Cost" Ø Volatility" Caching copying information into faster storage system; main memory can be viewed as a last cache for secondary storage Caching Important principle, performed at many levels in a computer (in hardware, operating system, software)" Information in use copied from the slower to the faster storage temporarily" Faster storage (cache) will be checked first to determine if information is there" Ø If it is, information is used directly from the cache (fast)" Ø If not, data is copied to cache and used there" Cache smaller than storage being cached" Ø Cache management important design problem" Ø Cache size and replacement policy" " 12
13 Components in Operating System Process/thread Management Ø CPU (processors): most precious resource Memory Management Ø Main memory File Management à data /program Secondary-Storage Management à disk I/O System Management à I/O devices Protection and Security à access management OS Interface: Shell and GUI For both programmers and end-users Two main interfaces: Ø Command-line interpreter (or shell) Ø Graphical User Interface (GUI) The shell Ø allows users to directly enter commands that are to be performed by the operating system Ø Is usually a system program (not part of the kernel) GUI allows a mouse-based window-and-menu system: click-and-play Some systems allow both (e.g. X-Windows in Unix) I/O devices Bourne Shell Command Interpreter The Mac OS X GUI 13
14 Lecture Outline Operating System: what is it? Evolution of Computer Systems and OS Concepts Different types/variations of Systems/OS Ø Parallel/distributed/real-time/embedded OS etc. OS as a resource manager Ø How does OS provide service? interrupt/system calls OS Structures and basic components Ø Process/memory/IO device managers Basic design approaches Ø Monolithic/layered/microkernel/virtual machine etc. Operating System Design Approaches Simple Structure Ø MS-DOS and original Unix Layered Approach Microkernels Modular Approach Virtual Machines Simple System Structure MS-DOS Structure Some operating systems do not have well-defined structures. Often, they started as simple systems and grew beyond their original scope. MS-DOS written to provide the most functionality in the least space Ø not divided into modules Ø Although MS-DOS has some structures, its interfaces and levels of functionality are not well separated. 55 Problem: applications are able to access drivers 56 14
15 Original UNIX System Structure Original UNIX System Structure UNIX is limited by hardware functionality, with limited structure. The UNIX OS consists of two separable parts: Ø Application programs Ø The kernel (everything below the system-call interface and above the physical hardware) ü Provides file system, CPU scheduling, memory management, and other operating-system functions ü A large number of functions for one level Layered Approach Microkernel Approach OS functions is divided into a number of layers (levels) Ø The bottom layer (layer 0) is the hardware; Ø the highest (layer N) is the user interface. Ø Functions at one layer only uses functions and services of lower-level layers. Simplifies debugging and system verification? Layered debugging: up from layer 0 Problems? How to define layers? Less efficient 59 Keep the minimal services in kernel (process, memory, communication etc.); moves as much as possible from the kernel into user space Communication takes place between user modules using message passing; Advantage: flexibility and extensibility Ø services can be added, modified and debugged Ø small kernel à fewer bugs Ø protection of services and resources is still maintained 60 15
16 Microkernel Approach (cont.) Modular Approach Modular kernel Ø The kernel includes a set of core components Ø Dynamically links in additional services either during boottime or during run-time Ø Common in modern implementations of Unix such as Linux and Solaris Problems with microkernel approach? Performance decrease due to system function overhead Virtual Machines Virtual Machines (Cont.) Takes the layered approach to its logical conclusion. A virtual machine provides an interface identical to the underlying bare hardware Each user is given its own virtual machine The operating system creates the illusion of multiple processes, each executing on its own processor with its own (virtual) memory Become more popular with multicore systems Linux XP OS X
17 Virtual Machines (Evaluation) The virtual-machine concept provides complete protection (because of complete isolation). This isolation, however, permits no direct sharing of resources. A virtual-machine system is a perfect vehicle for operating-systems research and development. The virtual machine concept is difficult to implement due to the effort required to provide an exact duplicate of the underlying machine Next Lecture Process management Ø SGG Chapters 3 and
Overview of Operating Systems
Lecture Outline Overview of Operating Systems Instructor: Dr. Tongping Liu Thank Dr. Dakai Zhu and Dr. Palden Lama for providing their slides. 1 2 Lecture Outline Von Neumann Architecture 3 This describes
More informationTopics: Early systems and OS overview Skim Chapters 1-2 of SGG Read Chapter 1 of USP CS 3733 Operating Systems
Topics: Early systems and OS overview Skim Chapters 1-2 of SGG Read Chapter 1 of USP CS 3733 Operating Systems Instructor: Dr. Turgay Korkmaz Department Computer Science The University of Texas at San
More informationOPERATING SYSTEMS UNIT - 1
OPERATING SYSTEMS UNIT - 1 Syllabus UNIT I FUNDAMENTALS Introduction: Mainframe systems Desktop Systems Multiprocessor Systems Distributed Systems Clustered Systems Real Time Systems Handheld Systems -
More informationOperating-System Structures
Operating-System Structures System Components Operating System Services System Calls System Programs System Structure Virtual Machines System Design and Implementation System Generation 3.1 Sana a University,
More informationOS and Computer Architecture. Chapter 3: Operating-System Structures. Common System Components. Process Management
Last class: OS and Architecture OS and Computer Architecture OS Service Protection Interrupts System Calls IO Scheduling Synchronization Virtual Memory Hardware Support Kernel/User Mode Protected Instructions
More informationLast class: OS and Architecture. OS and Computer Architecture
Last class: OS and Architecture OS and Computer Architecture OS Service Protection Interrupts System Calls IO Scheduling Synchronization Virtual Memory Hardware Support Kernel/User Mode Protected Instructions
More informationLast class: OS and Architecture. Chapter 3: Operating-System Structures. OS and Computer Architecture. Common System Components
Last class: OS and Architecture Chapter 3: Operating-System Structures System Components Operating System Services System Calls System Programs System Structure Virtual Machines System Design and Implementation
More informationChapter 3: Operating-System Structures
Chapter 3: Operating-System Structures System Components Operating System Services System Calls System Programs System Structure Virtual Machines System Design and Implementation System Generation 3.1
More informationChapter 3: Operating-System Structures
1 Chapter 3: Operating-System Structures System Components Operating System Services System Calls System Programs System Structure Virtual Machines System Design and Implementation System Generation 3.1
More informationChapter 3: Operating-System Structures
Chapter 3: Operating-System Structures System Components Operating System Services System Calls POSIX System Programs System Structure Virtual Machines System Design and Implementation System Generation
More informationOperating System Review
COP 4225 Advanced Unix Programming Operating System Review Chi Zhang czhang@cs.fiu.edu 1 About the Course Prerequisite: COP 4610 Concepts and Principles Programming System Calls Advanced Topics Internals,
More informationModule 3: Operating-System Structures
Module 3: Operating-System Structures System Components Operating-System Services System Calls System Programs System Structure Virtual Machines System Design and Implementation System Generation Operating
More informationChapter 1: Introduction
Chapter 1: Introduction What is an operating system? Simple Batch Systems Multiprogramming Batched Systems Time-Sharing Systems Personal-Computer Systems Parallel Systems Distributed Systems Real -Time
More informationLecture 1 Introduction (Chapter 1 of Textbook)
Bilkent University Department of Computer Engineering CS342 Operating Systems Lecture 1 Introduction (Chapter 1 of Textbook) Dr. İbrahim Körpeoğlu http://www.cs.bilkent.edu.tr/~korpe 1 References The slides
More informationModule 3: Operating-System Structures. Common System Components
Module 3: Operating-System Structures System Components Operating System Services System Calls System Programs System Structure Virtual Machines System Design and Implementation System Generation 3.1 Common
More informationChapter 1: Introduction
Chapter 1: Introduction Silberschatz, Galvin and Gagne 2009 Chapter 1: Introduction What Operating Systems Do Computer-System Organization Computer-System Architecture Operating-System Structure Operating-System
More informationEuropean University of Lefke. Instructor: Dr. Arif SARI
European University of Lefke CIS 105 Operating Systems Instructor: Dr. Arif SARI Email: asari@eul.edu.tr Introduction 1.1 Silberschatz, Galvin and Gagne 2009 Chapter 1: Introduction, Silberschatz, Galvin
More informationOperating System Services
CSE325 Principles of Operating Systems Operating System Services David Duggan dduggan@sandia.gov January 22, 2013 Reading Assignment 3 Chapter 3, due 01/29 1/23/13 CSE325 - OS Services 2 What Categories
More informationIntroduction. What is an Operating System? A Modern Computer System. Computer System Components. What is an Operating System?
Introduction CSCI 315 Operating Systems Design Department of Computer Science What is an Operating System? A Modern Computer System Computer System Components Disks... Mouse Keyboard Printer 1. Hardware
More informationEECS 3221 Operating System Fundamentals
EECS 3221 Operating System Fundamentals Instructor: Prof. Hui Jiang Email: hj@cse.yorku.ca Web: http://www.eecs.yorku.ca/course/3221 General Info 3 lecture hours each week 2 assignments (2*5%=10%) 1 project
More informationEECS 3221 Operating System Fundamentals
General Info EECS 3221 Operating System Fundamentals Instructor: Prof. Hui Jiang Email: hj@cse.yorku.ca Web: http://www.eecs.yorku.ca/course/3221 3 lecture hours each week 2 assignments (2*5%=10%) 1 project
More informationOperating Systems Fundamentals. What is an Operating System? Focus. Computer System Components. Chapter 1: Introduction
Operating Systems Fundamentals Overview of Operating Systems Ahmed Tawfik Modern Operating Systems are increasingly complex Operating System Millions of Lines of Code DOS 0.015 Windows 95 11 Windows 98
More informationOperating Systems. studykorner.org
Operating Systems Outlines What are Operating Systems? All components Description, Types of Operating Systems Multi programming systems, Time sharing systems, Parallel systems, Real Time systems, Distributed
More informationChapter 1: Introduction
Chapter 1: Introduction What is an Operating System? Mainframe Systems Desktop Systems Multiprocessor Systems Distributed Systems Clustered System Real -Time Systems Handheld Systems Computing Environments
More informationChapter 1: Introduction. Operating System Concepts 8th Edition,
Chapter 1: Introduction, Administrivia Project 0 due Monday. Reading: 2.1 2.7. Next Time: Operating system structure. 1.2 Outline Process management. Storage management and characteristics. Miscellaneous
More informationCS370 Operating Systems
CS370 Operating Systems Colorado State University Yashwant K Malaiya Fall 2016 Lecture 2 Slides based on Text by Silberschatz, Galvin, Gagne Various sources 1 1 2 System I/O System I/O (Chap 13) Central
More informationDM510 Operating Systems. Jacob Aae Mikkelsen
DM510 Operating Systems Jacob Aae Mikkelsen DM510 2014 DM510 Course Introduction Teacher: Jacob Aae Mikkelsen ( jamik@imada.sdu.dk ) Teaching Assistant: Daniel Fentz Johansen ( dfjohansen@gmail.com ) Course
More information7/20/2008. What Operating Systems Do Computer-System Organization
Introduction to Operating Systems Introduction What Operating Systems Do Computer-System Organization Computer-System Architecture Operating-System Structure Operating-System Operations Process Management
More informationChapter 1: Introduction
Chapter 1: Introduction Chapter 1: Introduction What Operating Systems Do Computer-System Organization Computer-System Architecture Operating-System Structure Operating-System Operations Process Management
More informationTo provide a grand tour of the major operating systems components To provide coverage of basic computer system organization
Introduction What Operating Systems Do Computer-System Organization Computer-System Architecture Operating-System Structure Operating-System Operations Process Management Memory Management Storage Management
More informationChapter 2: Operating-System Structures
Chapter 2: Operating-System Structures Chapter 2: Operating-System Structures Operating System Services User Operating System Interface System Calls Types of System Calls System Programs Operating System
More informationChapter 1: Introduction
Chapter 1: Introduction Chapter 1: Introduction What Operating Systems Do Computer-System Organization Computer-System Architecture Operating-System Structure Operating-System Operations Process Management
More informationSome popular Operating Systems include Linux Operating System, Windows Operating System, VMS, OS/400, AIX, z/os, etc.
An Operating System (OS) is an interface between computer user and computer hardware. An operating system is software which performs all the basic tasks like file management, memory management, process
More informationModule 1: Introduction
Module 1: Introduction What is an operating system? Simple Batch Systems Multiprogramming Batched Systems Time-Sharing Systems Personal-Computer Systems Parallel Systems Distributed Systems Real -Time
More informationChapter 2: Operating-System Structures
Chapter 2: Operating-System Structures Chapter 2: Operating-System Structures Operating System Services User Operating System Interface System Calls (important!) Types of System Calls (important!) System
More informationCS420: Operating Systems
OS Overview James Moscola Department of Engineering & Computer Science York College of Pennsylvania Contents of Introduction slides are courtesy of Silberschatz, Galvin, Gagne Operating System Structure
More informationOperating Systems Overview. Chapter 2
Operating Systems Overview Chapter 2 Operating System A program that controls the execution of application programs An interface between the user and hardware Masks the details of the hardware Layers and
More informationChapter 1: Introduction. Chapter 1: Introduction
Chapter 1: Introduction Chapter 1: Introduction What Operating Systems Do Computer-System Organization Computer-System Architecture Operating-System Structure Operating-System Operations Process Management
More informationCS 471 Operating Systems. Yue Cheng. George Mason University Fall 2017
CS 471 Operating Systems Yue Cheng George Mason University Fall 2017 Introduction o Instructor of Section 002 Dr. Yue Cheng (web: cs.gmu.edu/~yuecheng) Email: yuecheng@gmu.edu Office: 5324 Engineering
More informationTDDI04, K. Arvidsson, IDA, Linköpings universitet Operating System Structures. Operating System Structures Overview. Operating System Services
TDDI04 Concurrent Programming, Operating Systems, and Real-time Operating Systems Operating System Structures [SGG7] Chapter 2 Copyright Notice: The lecture notes are mainly based on Silberschatz s, Galvin
More informationModule 1 Introduction/OS Overview
Module 1 Introduction/OS Overview Reading: Chapter 1 and 2 (Silberchatz) Objective: Quick overview of computer system organization the processor (CPU), memory, and input/output, architecture and general
More informationModule 1: Introduction
Module 1: Introduction What is an operating system? Simple Batch Systems Multiprogramming Batched Systems Time-Sharing Systems Personal-Computer Systems Parallel Systems Distributed Systems Real-Time Systems
More informationCS370 Operating Systems
CS370 Operating Systems Colorado State University Yashwant K Malaiya Spring 2018 Lecture 2 Slides based on Text by Silberschatz, Galvin, Gagne Various sources 1 1 2 What is an Operating System? What is
More informationPart I Overview Chapter 1: Introduction
Part I Overview Chapter 1: Introduction Fall 2010 1 What is an Operating System? A computer system can be roughly divided into the hardware, the operating system, the application i programs, and dthe users.
More informationChapter 2: Operating-System Structures. Operating System Concepts Essentials 8 th Edition
Chapter 2: Operating-System Structures Operating System Concepts Essentials 8 th Edition Silberschatz, Galvin and Gagne 2011 Chapter 2: Operating-System Structures Operating System Services User Operating
More informationChapter 2: Operating-System
Chapter 2: Operating-System Structures Chapter 2: Operating-System Structures Operating System Services! User Operating System Interface! System Calls! Types of System Calls! System Programs! Operating
More informationChapter 2: Operating-System Structures. Chapter 2: Operating-System Structures. Objectives. Operating System Services
Chapter 2: Operating-System Structures Chapter 2: Operating-System Structures Operating System Services User Operating System Interface System Calls Types of System Calls System Programs Operating System
More informationModule 1: Introduction. What is an Operating System?
Module 1: Introduction What is an operating system? Simple Batch Systems Multiprogramming Batched Systems Time-Sharing Systems Personal-Computer Systems Parallel Systems Distributed Systems Real-Time Systems
More informationIntroduction. CS3026 Operating Systems Lecture 01
Introduction CS3026 Operating Systems Lecture 01 One or more CPUs Device controllers (I/O modules) Memory Bus Operating system? Computer System What is an Operating System An Operating System is a program
More informationFour Components of a Computer System
Four Components of a Computer System Operating System Concepts Essentials 2nd Edition 1.1 Silberschatz, Galvin and Gagne 2013 Operating System Definition OS is a resource allocator Manages all resources
More informationCourse Content. 07-Feb-17 Faculty of Computer Science & Engineering 1 BK TP.HCM
Course Content Course Overview Process Concepts Processes Scheduling Processes Synchronization Deadlocks & Problems solving Real Memory Virtual Memory I/O Management Files system Some modern OS Examples
More informationCS420: Operating Systems
OS Overview James Moscola Department of Engineering & Computer Science York College of Pennsylvania Contents of Introduction slides are courtesy of Silberschatz, Galvin, Gagne Operating System Structure
More informationUnit 2 : Computer and Operating System Structure
Unit 2 : Computer and Operating System Structure Lesson 1 : Interrupts and I/O Structure 1.1. Learning Objectives On completion of this lesson you will know : what interrupt is the causes of occurring
More informationCourse Details. Operating Systems with C/C++ Course Details. What is an Operating System?
Lecture Course in Autumn Term 2013 University of Birmingham Lecture notes and resources: http://www.cs.bham.ac.uk/ exr/teaching/lectures/opsys/13_14 closed facebook group: UoBOperatingSystems anyone registered
More informationOperating System Overview. Chapter 2
Operating System Overview Chapter 2 1 Operating System A program that controls the execution of application programs An interface between applications and hardware 2 Operating System Objectives Convenience
More informationOperating-System Structures
Operating-System Structures Chapter 2 Operating System Services One set provides functions that are helpful to the user: User interface Program execution I/O operations File-system manipulation Communications
More informationOperating System: an Overview. Lucia Dwi Krisnawati, MA
Operating System: an Overview Lucia Dwi Krisnawati, MA What is an Operating System? A program that acts as an intermediary between a user of a computer and the computer hardware. Operating system goals:
More informationChapter 2: Operating-System Structures
Chapter 2: Operating-System Structures Silberschatz, Galvin and Gagne 2009 Chapter 2: Operating-System Structures Operating System Services User Operating System Interface System Calls Types of System
More informationOperating Systems: Internals and Design Principles. Chapter 2 Operating System Overview Seventh Edition By William Stallings
Operating Systems: Internals and Design Principles Chapter 2 Operating System Overview Seventh Edition By William Stallings Operating Systems: Internals and Design Principles Operating systems are those
More informationLast Class: OS and Computer Architecture. Last Class: OS and Computer Architecture
Last Class: OS and Computer Architecture System bus Network card CPU, memory, I/O devices, network card, system bus Lecture 4, page 1 Last Class: OS and Computer Architecture OS Service Protection Interrupts
More informationUNIT 2. OPERATING SYSTEM STRUCTURES
This document can be downloaded from www.chetanahegde.in with most recent updates. 1 UNIT 2. OPERATING SYSTEM STRUCTURES 2.1 INTRODUCTION An OS provides the environment within which the programs are executed.
More informationChapter 2: Operating-System Structures
Chapter 2: Operating-System Structures 2.1 Silberschatz, Galvin and Gagne 2009 Chapter 2: Operating-System Structures Operating System Services User Operating System Interface System Calls Types of System
More informationObjectives. Chapter 2: Operating-System Structures. 2.1 Operating System Services
Objectives Chapter 2: Operating-System Structures To describe the services an operating system provides to users, processes, and other systems To discuss the various ways of structuring an operating system
More informationCS 5523: Operating Systems
CS 5523: Operating Systems Instructor: Dr. Tongping Liu Midterm Exam: Oct 6, 2015, Tuesday 7:15pm 8:30pm CS5523: Operating Systems @ UTSA 1 Lecture1: OS Overview Operating System: what is it?! Evolution
More informationECE397A Operating Systems. Chapter 1: Introduction
ECE397A Operating Systems Welcome! Instructor: Professor Csaba Andras Moritz Class webpage: http://www.ecs.umass.edu/ece/andras/courses/ece397 Instructors webpage: http://www.ecs.umass.edu/ece/andras 3
More informationOperating System. Operating System Overview. Layers of Computer System. Operating System Objectives. Services Provided by the Operating System
Operating System Operating System Overview Chapter 2 A program that controls the execution of application programs An interface between applications and hardware 1 2 Operating System Objectives Layers
More informationOperating System Overview. Operating System
Operating System Overview Chapter 2 1 Operating System A program that controls the execution of application programs An interface between applications and hardware 2 1 Operating System Objectives Convenience
More informationCS 3733 Operating Systems
What will be covered in MidtermI? CS 3733 Operating Systems Instructor: Dr. Tongping Liu Department Computer Science The University of Texas at San Antonio Basics of C programming language Processes, program
More informationOperating Systems. Lecture Course in Autumn Term 2015 University of Birmingham. Eike Ritter. September 22, 2015
Lecture Course in Autumn Term 2015 University of Birmingham September 22, 2015 Course Details Overview Course Details What is an Operating System? OS Definition and Structure Lecture notes and resources:
More informationCS30002: Operating Systems. Arobinda Gupta Spring 2017
CS30002: Operating Systems Arobinda Gupta Spring 2017 General Information Textbook: Operating System Concepts, 8 th or 9 th Ed, by Silberschatz, Galvin, and Gagne I will use materials from other books
More informationOPERATING SYSTEMS: Lesson 1: Introduction to Operating Systems
OPERATING SYSTEMS: Lesson 1: Introduction to Jesús Carretero Pérez David Expósito Singh José Daniel García Sánchez Francisco Javier García Blas Florin Isaila 1 Why study? a) OS, and its internals, largely
More informationMisc. Third Generation Batch Multiprogramming. Fourth Generation Time Sharing. Last Time Evolution of OSs
Third Generation Batch Multiprogramming Misc. Problem: but I/O still expensive; can happen in middle of job Idea: have a pool of ready jobs in memory, switch to one when another needs I/O When one job
More informationIntroduction to Operating Systems (Part II)
Introduction to Operating Systems (Part II) Amir H. Payberah amir@sics.se Amirkabir University of Technology (Tehran Polytechnic) Amir H. Payberah (Tehran Polytechnic) Introduction 1393/6/24 1 / 45 Computer
More informationOperating Systems : Overview
Operating Systems : Overview Bina Ramamurthy CSE421 8/29/2006 B.Ramamurthy 1 Topics for discussion What will you learn in this course? (goals) What is an Operating System (OS)? Evolution of OS Important
More informationOperating-System Structures
Operating-System Structures System Components Operating System Services System Calls System Programs System Structure System Design and Implementation System Generation 1 Common System Components Process
More informationIntroduction to Computer Systems and Operating Systems
Introduction to Computer Systems and Operating Systems Minsoo Ryu Real-Time Computing and Communications Lab. Hanyang University msryu@hanyang.ac.kr Topics Covered 1. Computer History 2. Computer System
More informationCS6401- Operating System QUESTION BANK UNIT-I
Part-A 1. What is an Operating system? QUESTION BANK UNIT-I An operating system is a program that manages the computer hardware. It also provides a basis for application programs and act as an intermediary
More informationWhat are some common categories of system calls? What are common ways of structuring an OS? What are the principles behind OS design and
What are the services provided by an OS? What are system calls? What are some common categories of system calls? What are the principles behind OS design and implementation? What are common ways of structuring
More informationOperating Systems Overview
Operating Systems Overview 1 operating system no clear traditional definition each definition cover a distinct aspect an interface between applications and hardware true, this was the first reason for
More informationCSC 453 Operating Systems
CSC 453 Operating Systems Lecture 3: Operating-System Structures Operating System Components Operating systems are large and complex - the only way to manage such a project is to divide it into smaller
More informationComputer System Architecture. CMPT 300 Operating Systems I. Summer Segment 3: Computer System Architecture. Melissa O Neill
CMPT 300 Operating Systems I Computer System Architecture Summer 1999 disk disk printer tape drives on-line Segment 3: Computer System Architecture CPU disk controller printer controller tape-drive controller
More informationIntroduction. TDDI04, K. Arvidsson, IDA, Linköpings universitet Contents. What is an Operating System (OS)?
TDDI04 Concurrent Programming, Operating Systems, and Real-time Operating Systems Introduction Copyright Notice: The lecture notes are mainly based on Silberschatz s, Galvin s and Gagne s book ( Operating
More informationOperating System For Computer Science & Information Technology By www.thegateacademy.com Syllabus Syllabus for Operating System Processes, Threads, Inter Process Communication, Concurrency and Synchronization,
More informationOperating Systems. Introduction & Overview. Outline for today s lecture. Administrivia. ITS 225: Operating Systems. Lecture 1
ITS 225: Operating Systems Operating Systems Lecture 1 Introduction & Overview Jan 15, 2004 Dr. Matthew Dailey Information Technology Program Sirindhorn International Institute of Technology Thammasat
More informationIntroduction CHAPTER. Review Questions
1 CHAPTER Introduction Review Questions Section 1.1 1.1 What are the four components of a computer system? 1.2 Provide at least three resources the operating system allocates. 1.3 What is the common name
More informationOperating Systems. Overview. Dr Alun Moon. Computing, Engineering and Information Sciences. 27th September 2011
Operating Systems Overview Dr Alun Moon Computing, Engineering and Information Sciences 27th September 2011 Dr Alun Moon (ceis:nu) Operating Systems 27th September 2011 1 / 16 Chapters 1 & 2 Galvin Silberschatz.
More informationChapter 2. Operating-System Structures
Chapter 2 Operating-System Structures 2.1 Chapter 2: Operating-System Structures Operating System Services User Operating System Interface System Calls Types of System Calls System Programs Operating System
More informationUNIT I OPERATING SYSTEMS OVERVIEW
UNIT I OPERATING SYSTEMS OVERVIEW Computer System Overview-Basic Elements, Instruction Execution, Interrupts, Memory Hierarchy, Cache Memory, Direct Memory Access, Multiprocessor and Multicore Organization.
More informationLecture 2 - Fundamental Concepts
Lecture 2 - Fundamental Concepts Instructor : Bibhas Ghoshal (bibhas.ghoshal@iiita.ac.in) Autumn Semester, 2015 Bibhas Ghoshal IOSY 332C & IOPS 332C: OS Autumn Semester, 2015 1 / 43 Lecture Outline Operating
More informationCSC 2405: Computer Systems II
CSC 2405: Computer Systems II Dr. Mirela Damian http://www.csc.villanova.edu/~mdamian/csc2405/ Spring 2016 Course Goals: Look under the hood Help you learn what happens under the hood of computer systems
More informationLecture 2 Operating System Structures (chapter 2)
Bilkent University Department of Computer Engineering CS342 Operating Systems Lecture 2 Operating System Structures (chapter 2) Dr. İbrahim Körpeoğlu http://www.cs.bilkent.edu.tr/~korpe 1 References The
More informationOperating- System Structures
Operating- System Structures 2 CHAPTER Practice Exercises 2.1 What is the purpose of system calls? Answer: System calls allow user-level processes to request services of the operating system. 2.2 What
More informationChapter 1: Introduction. Operating System Concepts 9 th Edit9on
Chapter 1: Introduction Operating System Concepts 9 th Edit9on Silberschatz, Galvin and Gagne 2013 Chapter 1: Introduction 1. What Operating Systems Do 2. Computer-System Organization 3. Computer-System
More informationOperating Systems CS3502 Spring 2018
Operating Systems CS3502 Spring 2018 Presented by Dr. Guoliang Liu Department of Computer Science College of Computing and Software Engineering Kennesaw State University Computer Systems See Appendix G
More informationOperating-System Structures
Recap Chapter 2: Operating-System Structures Presented By: Dr. El-Sayed M. El-Alfy Note: Most of the slides are compiled from the textbook and its complementary resources From: OS by Tanenbaum, 2008 March
More informationComputer System Overview
Computer System Overview Introduction A computer system consists of hardware system programs application programs 2 Operating System Provides a set of services to system users (collection of service programs)
More informationAnnouncement. Exercise #2 will be out today. Due date is next Monday
Announcement Exercise #2 will be out today Due date is next Monday Major OS Developments 2 Evolution of Operating Systems Generations include: Serial Processing Simple Batch Systems Multiprogrammed Batch
More informationReserves time on a paper sign-up sheet. Programmer runs his own program. Relays or vacuum tube hardware. Plug board or punch card input.
Introduction & Ch1 Two Roles of an Operating System Extended Machine or virtual machine Device drivers, Processes, File systems, Networking protocols. Resource Manager Allocates and enforces Memory, Disk
More informationChapter 1: Introduction. Operating System Concepts 8th Edition,
Chapter 1: Introduction, Administrivia Reading: Chapter 1. Next time: Continued Grand Tour. 1.2 Outline Common computer system devices. Parallelism within an operating system. Interrupts. Storage operation,
More informationChapter 2 Operating-System Structures
This chapter will discuss the following concepts: 2.1 Operating System Services 2.2 User Operating System Interface 2.3 System Calls 2.4 System Programs 2.5 Operating System Design and Implementation 2.6
More information