Distributed System Concepts and Architectures 2.3 Services Fall 2011 Student: Fan Bai

Slides:



Advertisements
Similar presentations
Operating Systems Components of OS
Advertisements

Distributed System Services Prepared By:- Monika Patel.
BARNALI CHAKRABARTY. What is an Operating System ?
Operating System Structure
Lecture 1: History of Operating System
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 3: Operating-System Structures System Components Operating System Services.
Common System Components
1 Operating Systems Ch An Overview. Architecture of Computer Hardware and Systems Software Irv Englander, John Wiley, Bare Bones Computer.
Silberschatz, Galvin and Gagne  Operating System Concepts Common System Components Process Management Main Memory Management File Management.
An Introduction to Operating Systems. Definition  An Operating System, or OS, is low-level software that enables a user and higher-level application.
BY: SACHIN SHRIVASTAVA Operating System By : Sachin Shrivastava 1.
Abhinav Kamra Computer Science, Columbia University 3.1 Operating System Concepts Silberschatz, Galvin and Gagne  2002 Chapter 3: Operating-System Structures.
Operating System A program that controls the execution of application programs An interface between applications and hardware 1.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition, Chapter 2: System Structures.
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)
B.Ramamurthy9/19/20151 Operating Systems u Bina Ramamurthy CS421.
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.
INVITATION TO COMPUTER SCIENCE, JAVA VERSION, THIRD EDITION Chapter 6: An Introduction to System Software and Virtual Machines.
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.
CE Operating Systems Lecture 3 Overview of OS functions and structure.
Slide 3-1 Copyright © 2004 Pearson Education, Inc. Operating Systems: A Modern Perspective, Chapter 3.
Ihr Logo Operating Systems Internals & Design Principles Fifth Edition William Stallings Chapter 2 (Part II) Operating System Overview.
A Summary of the Distributed System Concepts and Architectures Gayathri V.R. Kunapuli
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.
INFORMATION SYSTEM-SOFTWARE Topic: OPERATING SYSTEM CONCEPTS.
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
Operating Systems Objective n The historic background n What the OS means? n Characteristics and types of OS n General Concept of Computer System.
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.
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.
Chapter 2 Operating System Overview Dave Bremer Otago Polytechnic, N.Z. ©2008, Prentice Hall Operating Systems: Internals and Design Principles, 6/E William.
CSC322 OPERATING SYSTEM Mr. Dilawar Lecturer, Department of Computer Science, Jahan University Kabul, Afghanistan.
Module 3: Operating-System Structures
Applied Operating System Concepts
2. OPERATING SYSTEM 2.1 Operating System Function
Operating System.
Operating System Structure
Introduction to Operating System (OS)
OPERATING SYSTEM OVERVIEW
Chapter 1: Introduction
Operating Systems Bina Ramamurthy CSE421 11/27/2018 B.Ramamurthy.
Chapter 3: Operating-System Structures
Operating Systems : Overview
Chapter 2: Operating-System Structures
Introduction to Operating Systems
Operating Systems : Overview
Operating Systems : Overview
Operating Systems : Overview
Introduction to Operating Systems
Chapter 2: Operating-System Structures
An Introduction to Operating Systems
Presentation transcript:

Distributed System Concepts and Architectures 2.3 Services Fall 2011 Student: Fan Bai

Outline What is an operating system? The primary functions of an operating system OS = Service provider Basic Services and Fundamental services Privacy as an Operating System Service References

What is an operating system? A collection of software modules to assist programmers in enhancing system efficiency, flexibility, and robustness An Extended Machine from the users’ viewpoint A Resource Manager from the system’s viewpoint

The primary functions of an operating system multiplexing the processor(s) scheduling processes coordinating interaction among processes, interprocess communication and synchronization managing system resources (I/O, memory, data files) enforcing access control and protection maintaining system integrity and performing error recovery providing an interface to the users

OS = 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. The purpose of an operating system is to provide an environment in which a user can execute programs in a convenient and efficient manner.

OS 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

Unix ---shell Unix command interpreter ◦ Interprets the first word of a command line as a command name 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

Basic Services Evolution of Modern Operating Systems Centralized operating system ◦ +network access and resource sharing Network operating system ◦ +transparency Distributed operating system

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

Program Execution The purpose of a computer systems is to allow the user to execute programs. So the operating systems provides an environment where the user can conveniently run programs. The user does not have to worry about the memory allocation or multitasking or anything. These things are taken care of by the operating systems.

I/O Operations Each program requires an input and produces output. This involves the use of I/O. The operating systems hides the user the details of underlying hardware for the I/O. All the user sees is that the I/O has been performed without any details. So the operating systems by providing I/O makes it convenient for the users to run programs.

File System Manipulation The output of a program may need to be written into new files or input taken from some files. The operating systems provides this service. The user does not have to worry about secondary storage management. User gives a command for reading or writing to a file and sees his her task accomplished. Thus operating systems makes it easier for user programs to accomplished their task.

Communications There are instances where processes need to communicate with each other to exchange information. It may be between processes running on the same computer or running on the different computers. By providing this service the operating system relieves the user of the worry of passing messages between processes. In case where the messages need to be passed to processes on the other computers through a network it can be done by the user programs.

Error Detection An error is one part of the system may cause malfunctioning of the complete system. To avoid such a situation the operating system constantly monitors the system for detecting the errors. This relieves the user of the worry of errors propagating to various part of the system and causing malfunctioning. This service cannot allowed to be handled by user programs because it involves monitoring and in cases altering area of memory or deal location of memory for a faulty process. Or may be relinquishing the CPU of a process that goes into an infinite loop.

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

Primitive Services Communication- Exchange of Information between processes Synchronization- Coordination of Events Processor multiplexing

Services by System Servers Name Server - used to locate users, processes or machines Network Server –used to translate addresses and locations obtained from Name server Time Server-synchronization of processes to maintain a total order of event occurrences File Server- managing shared file system resources

Example

Value Added Services Web Server – accepts requests from the clients, processes it and returns a response Group Server –manages creation and termination of groups of interacting processes

Services for efficient operation of system Resource Allocation Resource allocation must be properly done when multiple users or multiple jobs running concurrently Accounting OS keeps track of what kind of resources used, how many users etc Protection and Security Ensuring that all access to system resources is controlled. Access to the system from outsiders requires user authentication

Privacy as an Operating System Service [S.Iosannidis06] 1.Transparent, privacy-providing storage and network 2. Privacy-enhanced system calls 3. Privacy Libraries 4. Privacy-policy Management

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 Privacy as an operating system service,Ioannidis,S; Sidiroglou,S; D. Keromytis,A;Proceedings of the 1st USENIX Workshop on Hot Topics in Security,2006

Thank you!