CSC 360- Instructor: K. Wu Overview of Operating Systems.

Slides:



Advertisements
Similar presentations
OPERATING SYSTEMS Lecturer: Szabolcs Mikulas Office: B38B
Advertisements

Interactive lesson about operating system
Operating System.
Processes Management.
Operating System Structures
Secure Operating Systems Lesson 2: OS Fundamentals.
Chapter 2 Operating System Overview Operating Systems: Internals and Design Principles, 6/E William Stallings.
Lecture 11: Operating System Services. What is an Operating System? An operating system is an event driven program which acts as an interface between.
Introduction CSCI 444/544 Operating Systems Fall 2008.
Review: Chapters 1 – Chapter 1: OS is a layer between user and hardware to make life easier for user and use hardware efficiently Control program.
CMPT 300: Operating Systems I Dr. Mohamed Hefeeda
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.
Dr Mohamed Menacer College of Computer Science and Engineering Taibah University CS-334: Computer.
1 School of Computing Science Simon Fraser University CMPT 300: Operating Systems I Dr. Mohamed Hefeeda.
Operating System Support Focus on Architecture
OS Fall ’ 02 Introduction Operating Systems Fall 2002.
OS Spring’03 Introduction Operating Systems Spring 2003.
Chapter 8 Operating System Support
Chapter 1 and 2 Computer System and Operating System Overview
Computer Organization and Architecture
1 Operating Systems Ch An Overview. Architecture of Computer Hardware and Systems Software Irv Englander, John Wiley, Bare Bones Computer.
What do operating systems do? manage processes manage memory and computer resources provide security features execute user programs make solving user.
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.
Chapter 2 Operating System Overview Patricia Roy Manatee Community College, Venice, FL ©2008, Prentice Hall Operating Systems: Internals and Design Principles,
Objectives To provide a grand tour of the major operating systems components To provide coverage of basic computer system organization.
Operating System Overview
Operating System A program that controls the execution of application programs An interface between applications and hardware 1.
CHAPTER 2 OPERATING SYSTEM OVERVIEW 1. Operating System Operating System Definition A program that controls the execution of application programs and.
Introduction and Overview Questions answered in this lecture: What is an operating system? How have operating systems evolved? Why study operating systems?
Chapter 1. Introduction What is an Operating System? Mainframe Systems
OS provide a user-friendly environment and manage resources of the computer system. Operating systems manage: –Processes –Memory –Storage –I/O subsystem.
Composition and Evolution of Operating Systems Introduction to Operating Systems: Module 2.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition, Operating Systems CSCI 411.
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.
Contact Information Office: 225 Neville Hall Office Hours: Monday and Wednesday 12:00-1:00 E-Main: Phone:
INVITATION TO COMPUTER SCIENCE, JAVA VERSION, THIRD EDITION Chapter 6: An Introduction to System Software and Virtual Machines.
Computers Operating System Essentials. Operating Systems PROGRAM HARDWARE OPERATING SYSTEM.
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.
Operating System Structure A key concept of operating systems is multiprogramming. –Goal of multiprogramming is to efficiently utilize all of the computing.
Chapter 2 Operating System Overview Patricia Roy Manatee Community College, Venice, FL ©2008, Prentice Hall Operating Systems: Internals and Design Principles,
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.
1 Computer Systems II Introduction to Processes. 2 First Two Major Computer System Evolution Steps Led to the idea of multiprogramming (multiple concurrent.
CPSC 171 Introduction to Computer Science System Software and Virtual Machines.
O PERATING S YSTEM. What is an Operating System? An operating system is an event driven program which acts as an interface between a user of a computer,
Processes, Threads, and Process States. Programs and Processes  Program: an executable file (before/after compilation)  Process: an instance of a program.
Chapter 3 Operating Systems. © 2005 Pearson Addison-Wesley. All rights reserved 3-2 Chapter 3 Operating Systems 3.1 The Evolution of Operating Systems.
1 Operating System Overview Chapter 2. 2 Operating System A program that controls the execution of application programs An interface between applications.
Introduction to Operating System. 1.1 What is Operating System? An operating system is a program that manages the computer hardware. It also provides.
CSCI/CMPE 4334 Operating Systems Review: Exam 1 1.
Chapter 1: Introduction Narzu Tarannum(NAT) Reff: BIS.
1.1 Silberschatz, Galvin and Gagne ©2013 Operating System Concepts – 9 th Edition Chapter 1: Introduction What Operating Systems Do √ Computer-System Organization.
Chapter 1: Introduction. 1.2 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts Objectives To provide a grand tour of the major operating.
Introduction to Operating Systems Concepts
Operating Systems Lecture 2.
Processes and threads.
2. OPERATING SYSTEM 2.1 Operating System Function
Introduction to Operating System (OS)
Chapter 1: Introduction
CGS 3763 Operating Systems Concepts Spring 2013
Mid Term review CSC345.
Operating Systems.
Chapter 1 Introduction to Operating System
Operating Systems Lecture 2.
Operating Systems Lecture 3.
Introduction to Operating Systems
Chapter 2 Operating System Overview
Contact Information Office: 225 Neville Hall Office Hours: Monday and Wednesday 12:00-1:00 and by appointment. Phone:
Operating System Overview
Presentation transcript:

CSC 360- Instructor: K. Wu Overview of Operating Systems

CSC 360- Instructor: K. Wu Agenda 1.History 2.Batch Processing vs Time sharing 3. OS Operations 4. Process Management 5.Memory Management 6.Storage and I/O Management 7.User Management 8.Specialized OS 9.Virtualization

CSC 360- Instructor: K. Wu CSc 360Overview 2 1. History (1): historical view Requirements evolve Was computers were more expensive than users goals: make computers more efficiently used results: share computers Now users become more “expensive” than computers goals: make computers more effectively used results: share users (among many computers)

CSC 360- Instructor: K. Wu CSc 360Overview 3 1. History: (2) generations Uniprogramming “One program at a time” –start, execute, {wait, execute}*, finish –wait for: input/output, other programs, etc –CPU may be idle most of the time Multiprogramming “Many programs at a time” –try to keep CPU always busy –handle multiple programs at the same time –“share” (a) CPU

CSC 360- Instructor: K. Wu CSc 360Overview 4 Batch Processing: Load a pool of jobs Execute one job until it is blocked Pick another one to execute 2. Batch Processing vs. Time Sharing (1)

CSC 360- Instructor: K. Wu CSc 360Overview 5 Time Sharing: Execute one job up to a certain time –e.g., hardware timer with counter Switch to another one to execute –job scheduling, memory swapping Seem to execute many jobs at the same time Batch processing vs time sharing –job responsiveness –switching overhead 2. Batch Processing vs. Time Sharing (2)

CSC 360- Instructor: K. Wu CSc 360Overview 6 Interrupt the current job –yield: system call trap (e.g., I/O) –yank: hardware timer interrupt –how about an “abusive” job? Dual-mode operation –user mode for regular applications –kernel mode with privileged instructions –trap: user to kernel entry 3. OS Operations

CSC 360- Instructor: K. Wu CSc 360Overview 7 Process: a running program –vs thread Create, delete, suspend, resume process –resource allocation: CPU, memory, I/O, etc Schedule processes/threads Synchronize processes Communicate between processes Handle deadlocks 4. Process Management

CSC 360- Instructor: K. Wu CSc 360Overview 8 (Main) memory –store instructions for execution –store data for processing Keep track available memory Allocate and reclaim memory –provide protected access –trap invalid access Swap in/out (virtual) memory 5. Memory management

CSC 360- Instructor: K. Wu CSc 360Overview 9 “In Unix, everything is a file” –a logical interface: open, read, write Create and delete files and directories –directory is a special file –file system hierarchy Manipulate files and directories –provide protected access –handle device-specific issues (disks, etc) 6. Storage and I/O Management

CSC 360- Instructor: K. Wu CSc 360Overview 10 Authentication –who's who –user credentials (e.g., password, token) Authorization –what can do what –access control (e.g., read, write, execute) Accounting –what has been done (e.g., logging) 7. User Management

CSC 360- Instructor: K. Wu CSc 360Overview 11 Different requirements and constraints –real-time systems “hard” real-time OS in embedded systems “soft” real-time OS in multimedia systems –handheld systems almost a full-blown OS, with resource constraints –embedded systems very severe resource constraints 8. Specialized OS

CSC 360- Instructor: K. Wu 9. Virtualization: Virtual Machines Hardware Virtual Machine Monitor Virtual Machine OS a Applications Virtual Machine OS b Applications Virtual Machine OS c Applications