Computers Operating System Essentials. Operating Systems PROGRAM HARDWARE OPERATING SYSTEM.

Slides:



Advertisements
Similar presentations
Chapter 2 Operating System Overview
Advertisements

Chapter 2 Operating System Overview Operating Systems: Internals and Design Principles, 6/E William Stallings.
Dr Mohamed Menacer College of Computer Science and Engineering Taibah University CS-334: Computer.
Operating System Overview
Operating System Support Focus on Architecture
Operating System Overview
Memory Management 2010.
Chapter 8 Operating System Support
Chapter 1 and 2 Computer System and Operating System Overview
Computer Organization and Architecture
CS364 CH08 Operating System Support TECH Computer Science Operating System Overview Scheduling Memory Management Pentium II and PowerPC Memory Management.
Layers and Views of a Computer System Operating System Services Program creation Program execution Access to I/O devices Controlled access to files System.
Computer Organization and Architecture Operating System Support Chapter 8.
Chapter 2 Operating System Overview Patricia Roy Manatee Community College, Venice, FL ©2008, Prentice Hall Operating Systems: Internals and Design Principles,
Chapter 2 Operating System Overview Patricia Roy Manatee Community College, Venice, FL ©2008, Prentice Hall Operating Systems: Internals and Design Principles,
Operating System A program that controls the execution of application programs An interface between applications and hardware 1.
Operating System Overview Dr. Sunny Jeong & Mr. M.H. Park Operating Systems: Internals and Design Principles, 6/E William Stallings.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition, Chapter 2: System Structures.
9/14/2015B.Ramamurthy1 Operating Systems : Overview Bina Ramamurthy CSE421/521.
Chapter 2 Operating System Overview Patricia Roy Manatee Community College, Venice, FL ©2008, Prentice Hall Operating Systems: Internals and Design Principles,
1 Operating System Overview Chapter 2 Advanced Operating System.
Chapter 2 Operating System Overview Operating Systems: Internals and Design Principles, 6/E William Stallings.
Fall 2000M.B. Ibáñez Lecture 01 Introduction What is an Operating System? The Evolution of Operating Systems Course Outline.
Chapter 5 Operating System Support. Outline Operating system - Objective and function - types of OS Scheduling - Long term scheduling - Medium term scheduling.
Recall: Three I/O Methods Synchronous: Wait for I/O operation to complete. Asynchronous: Post I/O request and switch to other work. DMA (Direct Memory.
Ihr Logo Operating Systems Internals & Design Principles Fifth Edition William Stallings Chapter 2 (Part II) Operating System Overview.
Operating System 2 Overview. OPERATING SYSTEM OBJECTIVES AND FUNCTIONS.
Processes and Process Control 1. Processes and Process Control 2. Definitions of a Process 3. Systems state vs. Process State 4. A 2 State Process Model.
By Teacher Asma Aleisa Year 1433 H.   Goals of memory management  To provide a convenient abstraction for programming.  To allocate scarce memory.
1 Operating System Overview Chapter 2. 2 Operating System A program that controls the execution of application programs An interface between applications.
1 Operating System Overview Chapter 2. 2 Operating System A program that controls the execution of application programs An interface between applications.
Chapter 2 Operating System Overview Patricia Roy Manatee Community College, Venice, FL ©2008, Prentice Hall Operating Systems: Internals and Design Principles,
Chapter 11: Operating System Support Dr Mohamed Menacer Taibah University
1 Operating System Overview Chapter 2. 2 Operating System A program that controls the execution of application programs An interface between applications.
Assoc. Prof. Dr. Ahmet Turan ÖZCERİT.  What Operating Systems Do  Computer-System Organization  Computer-System Architecture  Operating-System Structure.
Chapter 2 Operating System Overview Patricia Roy Manatee Community College, Venice, FL ©2008, Prentice Hall Operating Systems: Internals and Design Principles,
1 From: Operating Systems Internals and Design Principles by William Stallings Chapter 2 Operating System Overview.
Faculty of Sciences and Social Sciences HOPE Chapter 2 Operating System Overview Stewart Blakeway FML
Concepts and Structures. Main difficulties with OS design synchronization ensure a program waiting for an I/O device receives the signal mutual exclusion.
1 Operating System Overview Chapter 2. 2 Operating System A program that controls the execution of application programs An interface between applications.
Copyright Prentice Hall, Inc. 1 Operating System Overview.
Computer Architecture Chapter (8): Operating System Support
Chapter 2 Operating System Overview Dave Bremer Otago Polytechnic, N.Z. ©2008, Prentice Hall Operating Systems: Internals and Design Principles, 6/E William.
Operating System Overview
Applied Operating System Concepts
Chapter 8: Main Memory.
Operating System 2 Overview
William Stallings Computer Organization and Architecture
Operating System Overview
Chapter 1: Intro (excerpt)
Operating Systems : Overview
Operating System Overview
Introduction to Operating Systems
Operating Systems : Overview
Operating Systems : Overview
Operating Systems : Overview
Operating Systems : Overview
Operating System 2 Overview
Operating Systems : Overview
Operating Systems : Overview
Operating Systems : Overview
Operating Systems : Overview
Operating Systems : Overview
Operating Systems : Overview
Operating Systems : Overview
Operating Systems : Overview
Chapter 2 Operating System Overview
Operating System 2 Overview
Presentation transcript:

Computers Operating System Essentials

Operating Systems PROGRAM HARDWARE OPERATING SYSTEM

Operating Components APPLICATION PROGRAMS SYSTEM PROGRAMS (COMPILERS, etc.) OPERATING SYSTEM MACHINE LANGUAGE MICROPROGRAMMING PHYSICAL EXECUTION CPU MEMORY KERNEL ROM

System Structure Layers Processor Hardware functions: circuits, instruction set, procedures, interrupts Process management: multiprogramming, management of secondary storage, logical addressing External resource management: communication among process, file management, device access and addressing, user support

OS Functions User Interface Resource Management Evolution

User Interface Functions Create programs Execute programs Access I/O devices Manage file access Provide shared access Manage error detection Provide accounting

Resource Management Shares resources among applications Increases efficiency

Evolution Support hardware upgrades Enables operating system upgrades and additional features Fixes

Essential OS Functions Process management Memory management Information protection and security Scheduling and resource management System architecture

Process Consists of Executable program Data and data resources Execution context: register contents, priorities and module status

Process Management Multiprogramming Running several programs at a time to increase cpu utilization Time sharing Allowing multiple interactive users to log in at the same time Real time transaction processing Allow multiple users/programs to use the same copy of a program at once

Batch Multiprogramming (Short term dispatching) NEW READY RUNNING WAITING HALTED I/O ERROR/ COMPLETE NEW READY RUNNING I/O WAITING

Process Control Block (Short term scheduling)

Dispatching: lower level process scheduling automatic interrupts per second Returns control to the OS for rescheduling preemptive scheduling run to completion

Process Management Problems Synchronization: correct management of interrupted processes Mutual exclusion: keeping shared resource use separate Determinate program operation: programs get the same result every time independent of what else is running Deadlock

Memory Management Virtual memory and file management Isolation Automatic allocation and management Support modular programming Protection and access control Long-term storage

Addresses Physical address: actual memory location. NEEDED BY THE CPU Relative address: offset from a reference physical address. NEEDED BY THE OPERATING SYSTEM Logical address: address within a programmed unit (e.g. page). NEEDED BY APPLICATION PROGRAMS

Virtual Memory PAGE NUMBER + OFFSET FRAME NUMBER + OFFSET Page Frames Pages PAGE TABLE PAGE TABLE PAGE TABLE

Page Table Access A page table is an index to the current location of a page. Access can be Swapped Page Segmentation (hierarchical) Hashed

Translation Lookaside Buffer : Page Cache ALUCNTL..... BUS MAIN MEMORY CACHE TLB DASD Page Frames Pages

Information Protection and Security Access control: authorization and access limitation Information flow control: manage the distribution of information to the proper location Certification: assure that protection and security systems are working correctly

Scheduling and Resource Management Considers Fairness Differential response Efficiency

Modern Operating Systems Microkernel Architecture Multithreading Symmetric pultiprocessing

Virtual Machine O/S Users think they have the entire machine Copies of machine can execute the complete machine language May run different operating systems in different partitions

OS Management