Distributed System Services Fall 2008 Siva Josyula

Slides:



Advertisements
Similar presentations
Operating Systems Components of OS
Advertisements

Operating-System Structures
Interactive lesson about operating system
Distributed System Services Prepared By:- Monika Patel.
BARNALI CHAKRABARTY. What is an Operating System ?
Lecture 11: Operating System Services. What is an Operating System? An operating system is an event driven program which acts as an interface between.
SLC/Ver1.0/OS CONCEPTS/Oct'991INTRODUCTION What is an Operating System? Operating Structure -System Components -OS Services -System Calls & Programs -System.
3.1 Silberschatz, Galvin and Gagne ©2003 Operating System Concepts with Java Chapter 3: Operating-System Structures System Components Operating System.
1/21/2008CSCI 315 Operating Systems Design1 Operating System Structures Notice: The slides for this lecture have been largely based on those accompanying.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 3: Operating-System Structures System Components Operating System Services.
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 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.
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.
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)
OS provide a user-friendly environment and manage resources of the computer system. Operating systems manage: –Processes –Memory –Storage –I/O subsystem.
SYSTEM SOFTWARE Prepared by: Mrs. Careene McCallum-Rodney.
Chapter 2: Operating-System Structures. 2.2 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts Chapter 2: Operating-System Structures Operating.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 3: Operating-System Structures System Components Operating System Services.
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.
Distributed System Concepts and Architectures 2.3 Services Fall 2011 Student: Fan Bai
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
Distributed System Concepts and Architectures Services
Silberschatz, Galvin and Gagne  Operating System Concepts UNIT II Operating System Services.
1 CS.217 Operating System By Ajarn..Sutapart Sappajak,METC,MSIT Chapter 3 Operating-System Structures Slide 1 Chapter 3 Operating-System Structures.
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,
Introduction to Operating Systems Prepared by: Dhason Operating Systems.
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.
1 Chapter 2: Operating-System Structures Services Interface provided to users & programmers –System calls (programmer access) –User level access to system.
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.
1.1 Silberschatz, Galvin and Gagne ©2013 Operating System Concepts – 9 th Edition Chapter 1: Introduction What Operating Systems Do √ Computer-System Organization.
Module 3: Operating-System Structures System Components Operating System Services System Calls System Programs System Structure Virtual Machines System.
Module 3: Operating-System Structures
Applied Operating System Concepts
Lecture 1: Operating System Services
2. OPERATING SYSTEM 2.1 Operating System Function
Chapter 2: System Structures
Operating Systems Introduction
Operating System Structure
Introduction to Operating System (OS)
OPERATING SYSTEM OVERVIEW
What is an Operating System?
Chapter 2: System Structures
Chapter 3: Operating-System Structures
Unit 1: Introduction to Operating System
Basic Concepts Protection: Security:
Chapter 2: Operating-System Structures
Introduction to Operating Systems
Chapter 2: Operating-System Structures
Presentation transcript:

Distributed System Services Fall 2008 Siva Josyula

Outline  What is an Operating System?  Components of a computer system.  Why operating system services?  Services provided.  Other services provided.  References.

What is an Operating System??? A program acting as an intermediary between the user and the hardware. Purpose: To provide an environment, where user can execute programs in a convenient and efficient manner. The operating systems provides certain services to the users to make their tasks easier.

Components of a Computer System

Components Continued… Components of a computer-  Hardware  Operating System.  Application Programs.  Users.

Continued…  Hardware – provides basic computing resources like CPU, memory, I/O devices.  Operating system – OS controls and coordinates the use of the hardware among the various application programs for different users.  Applications programs – They define the ways in which the system resources are used to solve the computing problems of the users.  Users (people, machines, other computers).

Why Operating System Services?  OS provides an environment for the executions of the programs.  Services are provided for the convenience of the programmer, to make the programming task easier.  Services provided differ from one operating system to another operating system.

Services Provided The following are the services provided by the operating system.  Program Execution  I/O Operations  File-system manipulation  Communications

Continued…  Error Detection  Resource Allocation  Accounting  Protection

Program Execution v Operating system must be able to load a program into memory and to run that program. v The program must be able to end its execution, either normally or abnormally.

Services– I/O Operations  Running program may require I/O, which may involve a file or an I/O Device.  For some devices, special functions may be desired (like rewinding a tape drive or to blank a CRT screen)  For efficiency and protection purposes, the users usually are not able to control the I/O devices.  So it is the duty of the operating system to provide a means for the I/O since users cannot execute them directly.

File-System Manipulation  Programs need to read and write files.  Programs also need to create and delete files by name.  The operating system handles the process of creating, deleting and manipulating files.

Communications  Every process needs to exchange information with another process.  Communications may be implemented via shared memory or by the technique of message passing.

Continued…  Communications occurs in two ways. Within processes executing on the same computer. Between processes executing on different computers, tied together by a network.

Error Detection  Errors can happen any time in the system.  Errors can occur in the CPU,memory hardware,I/O Devices,and in the user program.  For each type of error,the operating system should take the appropriate action to ensure correct and consistent computing, by detecting the errors.

Resource Allocation v Multiple jobs run at the same time so resources must be allocated to each one of them. v Many different types of resources are managed by the operating system. v Some have special allocation code, whereas others have general request and release code. v The operating systems have various routines for different jobs in the system, for example CPU scheduling.

Accounting  We need to keep track of which user keeps track of how many and which kind of computer resources. v This tracking of user information can be used to find out the usage statistics. v These usage statistics are useful for the researchers who wish to re-configure the system to improve computing services.

Protection v Protection and Security is an important issue in multi-user computer systems. v Protection involves in ensuring that all access to system resources is controlled. v Protection of the system from outside users is also important. v Access to the resources must be authenticated with a password.

Other Services provided The other major services provided by the operating system are:  Memory Management  Process Management  CPU Scheduling  Primitive Services  Services by system servers  Value-added Services

Memory Management v The method of keeping track of how and where programs are loading into the main memory. v Memory is a large array of words or bytes, each with its own address. v It is a repository of quickly accessible data shared by the CPU and I/O devices.

Continued…  The operating system is responsible for the following activities : →Keeping track as to which parts of memory are currently being used and by which user. →Decide which processes need to be loaded when memory space becomes available. →Allocate and de-allocate memory space as and when it is required.

Process Management  A process is a program in execution.  Each process needs certain resources, including CPU time, memory, files, and I/O devices, to accomplish its task.  The OS is responsible for the following activities in connection with process management. →Process suspension and resumption. →Providing mechanisms for: process synchronization process communication

CPU Scheduling  The method of determining which process in memory is given access to the CPU so that it makes computational progress.  Two kinds of CPU Scheduling: →Preemptive Scheduling-Scheduling that occurs when the operating system decides to favor another process, preempting the currently executing process. →Non-Preemptive Scheduling-Scheduling that occurs when the currently executing process gives up the CPU voluntarily.

Primitive Services  Primitive services are those services that must be implemented in the kernel of each node in the system.  Communications is done through message passing, a defined set of send and receive primitives.  Process Servers manages creation, deletion and tracking of processes by allocating necessary resources.

Services by system servers.  Services that can be implemented anywhere in the system and performs the functions which is basic to the operation of a distributed system.  Name servers used to locate users, processes or machines.  Network servers used to give details about path selection, and routing information.  Migration servers, used to cooperate with process server and helps in moving of process form node to node.

Value-added services  Services that are not needed in the implementation of a Distributed System but useful in supporting Distributed Application  Group server, used for creation and termination of group activities.  Web Server, is good because of its simplicity.

References  Distributed operating systems & Algorithms, By Randy chow, Theodore Johnson  Operating System Concepts 6th ed - Silberschatz Galvin, Gagne.  Computer science illuminated, second edition, By Nell dale, John Lewis  Google.

THANK YOU