Distributed System Concepts and Architectures Services

Slides:



Advertisements
Similar presentations
Operating Systems Components of OS
Advertisements

Operating-System Structures
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.
Chap 2 System Structures.
Operating-System Structures
3.1 Silberschatz, Galvin and Gagne ©2003 Operating System Concepts with Java Chapter 3: Operating-System Structures System Components Operating System.
UNIX Chapter 01 Overview of Operating Systems Mr. Mohammad A. Smirat.
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.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition Chapter 2: Operating-System Structures Modified from the text book.
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.
Computer Organization Review and OS Introduction CS550 Operating Systems.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 3: Operating-System Structures System Components Operating System Services.
1 COMPSCI 110 Operating Systems Who - Introductions How - Policies and Administrative Details Why - Objectives and Expectations What - Our Topic: Operating.
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.
Chapter 3: Operating-System Structures System Components Operating System Services System Calls System Programs System Structure Virtual Machines System.
UNIX and Shell Programming (06CS36)
B.Ramamurthy9/19/20151 Operating Systems u Bina Ramamurthy CS421.
OS provide a user-friendly environment and manage resources of the computer system. Operating systems manage: –Processes –Memory –Storage –I/O subsystem.
Rensselaer Polytechnic Institute CSCI-4210 – Operating Systems CSCI-6140 – Computer Operating Systems David Goldschmidt, Ph.D.
Chapter 2: Operating-System Structures. 2.2 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts Chapter 2: Operating-System Structures Operating.
OPERATING SYSTEMS Goals of the course Definitions of operating systems Operating system goals What is not an operating system Computer architecture O/S.
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.
Silberschatz and Galvin  Operating System Concepts Module 3: Operating-System Structures System Components Operating System Services System Calls.
CE Operating Systems Lecture 3 Overview of OS functions and structure.
Operating-System Structures. Operating System Services Operating systems provide an environment for execution of programs and services to programs and.
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
INFORMATION SYSTEM-SOFTWARE Topic: OPERATING SYSTEM CONCEPTS.
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.
UNIX and Shell Programming
Silberschatz, Galvin and Gagne  Operating System Concepts UNIT II Operating System Services.
Distributed System Services Fall 2008 Siva Josyula
UNIX Unit 1- Architecture of Unix - By Pratima.
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.
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.
Module 3: Operating-System Structures
Lecture 1: Operating System Services
2. OPERATING SYSTEM 2.1 Operating System Function
Chapter 2: System Structures
Operating System Structure
Introduction to Operating System (OS)
Chapter 2: System Structures
Operating Systems Bina Ramamurthy CSE421 11/27/2018 B.Ramamurthy.
Chapter 3: Operating-System Structures
Chapter 2: Operating-System Structures
Introduction to Operating Systems
Chapter 2: Operating-System Structures
Presentation transcript:

Distributed System Concepts and Architectures Services

Overview  Service provider?  Who are involved in providing the services?  Types of services Basic services Fundamental services  References

Service provider? Operating system is the service provider. An operating system is a program that acts as an intermediary between the user of a computer and the computer hardware.

Continued… The purpose of an operating system is to provide an environment in which a user can execute programs in a convenient and efficient manner. Thus we can say that: An OS is 

Continued….  Tool to make programmer's job easy  Resource allocator Must be fair; not partial to any process, specially for process in the same class Must discriminate between different class of jobs with different service requirements  Control program  Layered architecture

Layer structure of a computer system

Overview  Service provider?  Who are involved in providing the services?  Types of services Basic services Fundamental services  References

Who are involved in providing the services? Since I am describing all the things here taking Unix as standard operating system. I would like to discuss here Shell and Kernel.

Shell  Unix command interpreter Interprets the first word of a command line as a command name  Is a user program and not part of the kernel  Redirection of input and output  Background jobs

Kernel  Permanently resides in the main memory  Controls the execution of processes by allowing their creation, termination or suspension, and communication  Schedules processes fairly for execution on the CPU  Allocates main memory for an executing process

Continued…  File system maintenance  Allows processes controlled access to peripheral devices such as terminals, tape drives, disk drives, and network devices.

Overview  Service provider?  Who are involved in providing the services?  Types of services Basic services Fundamental services  References

Basic Services  Program execution  I/O operations  File-system manipulation  Communications  Error detection

Program execution The system must be able to load a program into memory and to run that program. The program must be able to end its execution, either normally or abnormally (indicating error).

I/O operations A running program may require I/O. This I/0 may involve a file or an I/O device. For specific devices, special functions may be desired (such as to rewind a tape drive, or to blank a CRT screen). For efficiency and protection, users usually cannot control I/0 devices directly.

Continued… Therefore, the operating system must provide a means to do I/O.

File-system manipulation The file system is of particular interest. Obviously, programs need to read and write files. Programs also need to create and delete files by name.

Communications In many circumstances, one process needs to exchange information with another process. Such communication can occur in two major ways. The first takes place between processes that are executing on the same computer;

Continued… the second takes place between processes that are executing on different computer systems that are tied together by a computer network. Communications may be implemented via shared memory,

Continued… or by the technique of message passing, in which packets of information are moved between processes by the operating system.

Error detection The operating system constantly needs to be aware of possible errors. Errors may occur in the CPU and memory hardware, in 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.

Overview  Service provider?  Who are involved in providing the services?  Types of services Basic services Fundamental services  References

Fundamental services  Primitive services  Services by the system servers  Value added services

Primitive services Primitive services are those that must be implemented on kernel of each node in the system. In Distributed system when communication is done through message passing, a set of primitives for send and receive must be defined and implemented. Send and receive can be

Continued…. either synchronous or asynchronous. Synchronous communication, in addition to serving communication purposes, carries the side benefit of achieving internodes inter process synchronization.

Services by the system servers The services which can be implemented anywhere in the system and performs the functions which is basic to the operation of a distributed system. To achieve transparency in Distributed System server mappes physical objects with logical system names.

Continued….  Name server Used to locate users, processes and machines.  Directory Server It is used in conjunction with files and communication ports.  Network server Name server translation, selection of paths, actual routing of information is done by network server.

Value added services Services that are not needed in the implementation of a Distributed System But useful in supporting Distributed Application. It is Used To increase the computational performance and enhancement of fault tolerance or by need for cooperative activities.

Continued….  Group Server It manages the creation and termination of group activities. It is also responsible for Group addressing, communication, contain information about membership, member privileges and admission policies. Web server is also the good example of a value added server.

References  Distributed operating systems & Algorithms, By Randy chow, Theodore Johnson  Operating System Concepts 6th ed - Silberschatz Galvin, ch -3 operating System structure  Advanced UNIX- A Programmer’s Guide, By Stephen Prata  Computer science illuminated, second edition, By Nell dale, John Lewis  ber=138323

Thankyou