SLC/Ver1.0/OS CONCEPTS/Oct'991INTRODUCTION What is an Operating System? Operating Structure -System Components -OS Services -System Calls & Programs -System.

Slides:



Advertisements
Similar presentations
Operating Systems Components of OS
Advertisements

Chap 2 System Structures.
Operating System Structure
Operating-System Structures
Chapter 3: Operating-System Structures
3: OS Structures 1 OPERATING SYSTEM STRUCTURES PROCESS MANAGEMENT A process is a program in execution: (A program is passive, a process active.) A process.
Chapter 3: Operating-System Structures
3.1 Silberschatz, Galvin and Gagne ©2003 Operating System Concepts with Java Chapter 3: Operating-System Structures System Components Operating System.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 3: Operating-System Structures System Components Operating System Services.
2: OS Structures 1 Jerry Breecher OPERATING SYSTEMS STRUCTURES.
1/26/2004CSCI 315 Operating Systems Design1 Operating System Structures Notice: The slides for this lecture have been largely based on those accompanying.
Cs238 Lecture 3 Operating System Structures Dr. Alan R. Davis.
Common System Components
Os31 Chapter 3 Operating-System Structures. os32 Outlines System Components Operating System Services System Calls System Programs System Structure Virtual.
Silberschatz, Galvin and Gagne  Operating System Concepts Common OS Components Process Management Memory Management File Management I/O System.
Silberschatz, Galvin and Gagne  Operating System Concepts Common System Components Process Management Main Memory Management File Management.
Chapter 3: Operating-System Structures System Components Operating System Services System Calls System Programs System Structure Virtual Machines System.
Abhinav Kamra Computer Science, Columbia University 3.1 Operating System Concepts Silberschatz, Galvin and Gagne  2002 Chapter 3: Operating-System Structures.
System Components Operating System Services System Calls System Programs System Structure Virtual Machines System Design and Implementation System Generation.
Prof. Hsien-Hsin Sean Lee
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 3: Operating-System Structures System Components Operating System Services.
Silberschatz, Galvin and Gagne  Applied Operating System Concepts Chapter 3: Operating-System Structures System Components OS Services System.
CHAPTER 2 OPERATING SYSTEM OVERVIEW 1. Operating System Operating System Definition A program that controls the execution of application programs and.
Module 1.1: Operating-System Structures
Introduction Operating Systems. No. 2 Contents Definition of an Operating System (OS) Role of an Operating System History of Operating Systems Classification.
Chapter 3: Operating-System Structures System Components Operating System Services System Calls System Programs System Structure Virtual Machines System.
UNIX and Shell Programming (06CS36)
3.1 Operating System Concepts Chapter 3: Operating-System Structures System Components Operating System Services System Calls System Programs System Structure.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 3: Operating-System Structures System Components Operating System Services.
Silberschatz, Galvin and Gagne  2002 Modified for CSCI 399, Royden, Operating System Concepts Operating Systems Lecture 6 System Calls OS System.
Operating system Concepts -mahabadiSilberschatz and Galvin1 3: Operating-System Structures  3.1 System Components  3.2 Operating-System Services  3.3.
Silberschatz and Galvin  Operating System Concepts Module 3: Operating-System Structures System Components Operating System Services System Calls.
3.1 Silberschatz, Galvin and Gagne ©2003 Operating System Concepts with Java Chapter 3: Operating-System Structures System Components Operating System.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 3: Operating-System Structures System Components Operating System Services.
Silberschatz, Galvin, and Gagne  Applied Operating System Concepts Module 3: Operating-System Structures System Components Operating System Services.
3.1 Operating System Chapter 3: Operating-System Structures System Components Operating System Services System Calls System Programs System Structure Virtual.
OSes: 3. OS Structs 1 Operating Systems v Objectives –summarise OSes from several perspectives Certificate Program in Software Development CSE-TC and CSIM,
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 3: Operating-System Structures System Components Operating System Services.
OS, , Part I Operating - System Structures Department of Computer Engineering, PSUWannarat Suntiamorntut.
1 CSE Department MAITSandeep Tayal Operating-System Structures System Components Operating System Services System Calls System Programs System Structure.
Operating System Principles And Multitasking
UNIX and Shell Programming
Silberschatz, Galvin and Gagne  Operating System Concepts UNIT II Operating System Services.
Distributed System Services Fall 2008 Siva Josyula
1 CS.217 Operating System By Ajarn..Sutapart Sappajak,METC,MSIT Chapter 3 Operating-System Structures Slide 1 Chapter 3 Operating-System Structures.
Silberschatz, Galvin, and Gagne  Applied Operating System Concepts Module 3: Operating-System Structures System Components Operating System Services.
Introduction to Operating System. 1.1 What is Operating System? An operating system is a program that manages the computer hardware. It also provides.
First lecture.  Lecture note  ELearning web site :  Abraham Silberschatz, Peter B. Galvin, Greg Gagne, “Operating.
23/06/ :54:20 CSC Alliance — 1 Kimera Richard Phone: INSTITUTE OF COMPUTER SCIENCE DEPARTMENT.
Cs506 First lecture. Materials Lecture note ELearning web site : Main text book : “Operating System Concepts”, 8 th edition,Auther:
System Components Operating System Services System Calls.
Operating System Structure Lecture: - Operating System Concepts Lecturer: - Pooja Sharma Computer Science Department, Punjabi University, Patiala.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 3: Operating-System Structures System Components Operating System Services.
1.3 Operating system services An operating system provide services to programs and to the users of the program. It provides an environment for the execution.
OPERATING SYSTEMS STRUCTURES Jerry Breecher 2: Operating System Structures 1.
Module 3: Operating-System Structures System Components Operating System Services System Calls System Programs System Structure Virtual Machines System.
Chapter 3: Operating-System Structures
Chapter 3: Operating-System Structures
Module 3: Operating-System Structures
Credits: 3 CIE: 50 Marks SEE:100 Marks Lab: Embedded and IOT Lab
Chapter 2: System Structures
Operating System Structure
Cs506 First lecture.
Chapter 2: System Structures
Chapter 3: Operating-System Structures
Chapter 1 Introduction to Operating System Part 5
Chapter 2: Operating-System Structures
Introduction to Operating Systems
Chapter 2: Operating-System Structures
III. Operating System Structures
Presentation transcript:

SLC/Ver1.0/OS CONCEPTS/Oct'991INTRODUCTION What is an Operating System? Operating Structure -System Components -OS Services -System Calls & Programs -System Structure -Virtual Machines

SLC/Ver1.0/OS CONCEPTS/Oct'992 What is an OS? Important part of almost every computer system. Computer System can be divided roughly into four components -The hardware -The Operating System -The Application Program -The User

SLC/Ver1.0/OS CONCEPTS/Oct'993 What is an OS? COMPUTER HARDWARE APPLICATION PROGRAMS COMPILER USER 1 USER 2 USER N ASSEMBLER DATABASE SYSTEM OPERATING SYSTEM

SLC/Ver1.0/OS CONCEPTS/Oct'994 What is An OS? An Operating System is similar to a government. We can view an Operating Systems as a resource allocator. An Operating System is a control program.

SLC/Ver1.0/OS CONCEPTS/Oct'995 What is an OS? No adequate definition of an OS. Fundamental Goal of Computer System is to execute user programs and to make solving user problems easier. The OS is the one program running at all times on the computer, with all else being application programs.

SLC/Ver1.0/OS CONCEPTS/Oct'996 Operating System Structure There are several vantage points from which to view an OS -by examining the services it provides. -another by looking at the interface. -by disassembling the system into its components and their interconnections.

SLC/Ver1.0/OS CONCEPTS/Oct'997 System Components Process Management Main-Memory Management File Management I/O System Management Secondary-Storage Management Networking

SLC/Ver1.0/OS CONCEPTS/Oct'998 System Components Protection System Command-Interpreter System

SLC/Ver1.0/OS CONCEPTS/Oct'999 Process Management A process can be thought of as a program in execution. A process needs certain resources. A process is the unit of work in the system.

SLC/Ver1.0/OS CONCEPTS/Oct'9910 Process Management The OS responsibility in connection with process management -Creation and deletion of both user and system processes -The suspension and resumption of processes -The provision of mechanism for process synchronization, process communication.

SLC/Ver1.0/OS CONCEPTS/Oct'9911 Main-Memory Management It is a large array of words or bytes. Main-memory is a repository of quickly accessible data shared by CPU and I/O devices. The main-memory is generally the only large storage device that the CPU is able to address and access directly.

SLC/Ver1.0/OS CONCEPTS/Oct'9912 Main-Memory Management Keep several programs in memory. There are many different memory- management scheme.

SLC/Ver1.0/OS CONCEPTS/Oct'9913 Main-Memory Management The OS responsibility in connection with memory management -Keep track of memory. -Which processes are to be loaded. -Allocate and deallocate memory space as needed.

SLC/Ver1.0/OS CONCEPTS/Oct'9914 File Management File Management is one of the most visible components of an Operating System. The OS abstracts from the physical properties of its storage devices to define a logical storage unit, the file.

SLC/Ver1.0/OS CONCEPTS/Oct'9915 File Management File is a collection of related information defined by its creator. The OS responsibility -The creation and deletion of files. -The Support for manipulating files. -The mapping of files onto secondary storage.

SLC/Ver1.0/OS CONCEPTS/Oct'9916 I/O System Management One of the purpose of an OS is to hide the peculiarities of specific h/w devices from the user. I/O subsystem consists of -A memory management components -A general device-driver Interface -Drivers for specific hardware devices.

SLC/Ver1.0/OS CONCEPTS/Oct'9917 Secondary-Storage Management Main-Memory is to small and volatile. Computer system must provide secondary storage to back up main memory. Computer system uses disks as the principle on-line storage medium, for both programs and data.

SLC/Ver1.0/OS CONCEPTS/Oct'9918 Secondary-Storage Management The OS responsibility: -Free-space management. -Storage allocation. -Disk scheduling.1

SLC/Ver1.0/OS CONCEPTS/Oct'9919Networking Processors communicate with one another through various communication lines. The processors in the system are connected through a communication network.

SLC/Ver1.0/OS CONCEPTS/Oct'9920 Protection System Protection refers to a mechanism for controlling the access of programs, processes, or users to the resources defined by a Computer System. E.g. memory-addressing hardware.

SLC/Ver1.0/OS CONCEPTS/Oct'9921 Command-Interpreter System Command-Interpreter is the interface between the user and the OS. A program that reads and interprets control statements is executed automatically. This program is called command- interpreter, and is often known as shell.

SLC/Ver1.0/OS CONCEPTS/Oct'9922 Operating System Services Types of services -Program Execution. -I/O operations -File-System manipulation -Communications -Error detection -Resource allocation

SLC/Ver1.0/OS CONCEPTS/Oct'9923 Operating System Services Types of services -Accounting -Protection

SLC/Ver1.0/OS CONCEPTS/Oct'9924 System Calls System calls provide the interface between a process and the OS. Some system may allow system calls to be made directly from a higher-level language program. E.G. To read data from a file and to copy them to another file.

SLC/Ver1.0/OS CONCEPTS/Oct'9925 System Calls System calls can be roughly grouped into five major categories: -process control, -file manipulation -device manipulation -information maintenance -communication

SLC/Ver1.0/OS CONCEPTS/Oct'9926 System Calls-Process Control End, abort load, execute create process, terminate process get process attributes, set process attributes wait for time, wait event, signal event allocate and free memory

SLC/Ver1.0/OS CONCEPTS/Oct'9927 System Calls-File Manipulation Create file, delete file open, close read, write, reposition get file attributes, set file attributes

SLC/Ver1.0/OS CONCEPTS/Oct'9928 System Calls-Device Manipulation request device, release device read, write, reposition get device attributes, set device attributes logically attach or detach devices

SLC/Ver1.0/OS CONCEPTS/Oct'9929 System Calls-Information Maintenance get time or date, set time or date get system date, set system date

SLC/Ver1.0/OS CONCEPTS/Oct'9930 System Calls-Communications create, delete communication connection send, receive message transfer status information attach or detach remote devices

SLC/Ver1.0/OS CONCEPTS/Oct'9931 System Programs It is a logical layer just above OS. System programs provide a more convenient environment for program development and execution.

SLC/Ver1.0/OS CONCEPTS/Oct'9932 System Programs They can be divided into several categories: -File Manipulation -Status information -File Modification -Programming Language Support

SLC/Ver1.0/OS CONCEPTS/Oct'9933 System Programs They can be divided into several categories: -Program loading and Execution -Communications -Application programs Perhaps the most important system program for an OS is command interpreter.

SLC/Ver1.0/OS CONCEPTS/Oct'9934 System Structure A common approach is to partition the task into small components, rather than have one monolithic system.

SLC/Ver1.0/OS CONCEPTS/Oct'9935 System Structure-Simple Structure Commercial system doesn’t have a well- defined structure. Such OS started as small, simple and limited systems, and then grew beyond their original scope. MS-DOS is an example of such a system

SLC/Ver1.0/OS CONCEPTS/Oct'9936 System Structure-Simple Structure Application program Resident system program MS-DOS device driver ROM BIOS device drivers MS-DOS Layer structure

SLC/Ver1.0/OS CONCEPTS/Oct'9937 System Structure-Layered Approach Consists of breaking the OS into a number of layers, each built on top of lower layers. The bottom layer is the hardware; the highest(layer N) is the user interface.

SLC/Ver1.0/OS CONCEPTS/Oct'9938 System Structure-Layered Approach Layer M-1 An OS Layer Layer M

SLC/Ver1.0/OS CONCEPTS/Oct'9939 Virtual Machines Virtual Machine creates a machine for each “user” and the user can choose which OS to run on that virtual machine e.g Java Virtual Machine.