Operating System Structure Lecture: - Operating System Concepts Lecturer: - Pooja Sharma Computer Science Department, Punjabi University, Patiala.

Slides:



Advertisements
Similar presentations
Operating Systems Components of OS
Advertisements

Operating System Structures
Chap 2 System Structures.
SLC/Ver1.0/OS CONCEPTS/Oct'991INTRODUCTION What is an Operating System? Operating Structure -System Components -OS Services -System Calls & Programs -System.
Operating System Structure
Operating-System Structures
Operating-System Structures 1. Operating-System System Components 2. Operating System Services 3. System Calls 4. System Structure 5. Virtual Machines.
Chapter 3: Operating-System Structures
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.
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.
ICS Principles of Operating Systems
1/28/2004CSCI 315 Operating Systems Design1 Operating System Structures & Processes Notice: The slides for this lecture have been largely based on those.
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
OPERATING SYSTEM OVERVIEW. Contents Basic hardware elements.
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.
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.
CE Operating Systems Lecture 3 Overview of OS functions and structure.
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.
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.
BIT213,CISY Operating Systems 1
Chapter 3: Operating-System Structures System Components Operating System Services System Calls System Programs System Structure Virtual Machines System.
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.
23/06/ :54:20 CSC Alliance — 1 Kimera Richard Phone: INSTITUTE OF COMPUTER SCIENCE DEPARTMENT.
System Components Operating System Services System Calls.
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 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
Operating System Concepts
Operating System Structure
Chapter 3: Operating-System Structures
Basic Concepts Protection: Security:
Chapter 2: Operating-System Structures
Introduction to Operating Systems
Chapter 2: Operating-System Structures
Presentation transcript:

Operating System Structure Lecture: - Operating System Concepts Lecturer: - Pooja Sharma Computer Science Department, Punjabi University, Patiala.

Operating System Components Process Management A process is a program in execution. A process needs certain resources, including CPU time, memory, files, and I/O devices, to accomplish its task.  Creating and deleting both the user and system processes.  Suspending and resuming processes  Providing mechanism for process communication  Providing mechanism for deadlock handling

Operating System Components Main Memory Management Memory is a large array of words or bytes, each with its own address. It is a repository of quickly accessible data shared by the CPU and I/O devices. Main memory is a volatile storage device. It loses its contents in the case of system failure.  Keeping track of which parts of memory are being used and by whom  Deciding which processes are to be loaded into memory when memory becomes available  Allocating and deallocating memory space as needed

Operating System Components File Management A file is a collection of related information defined by its creator. Commonly, files represent programs (both source and object forms) and data.  Creating and deleting files  Creating and deleting directories  Supporting primitives for manipulating files and directories  Mapping files to secondary storage  Backing up files on storage media

Operating System Components I/O System Management  A general device driver interface  Drivers for specific hardware devices Secondary Storage Management Since main memory (primary storage) is volatile and too small to accommodate all data and programs permanently, the computer system must provide secondary storage to back up main memory. Most modern computer systems use disks as the principle on-line storage medium, for both programs and data.  Free Space Management  Storage Allocation  Disk Scheduling

Operating System Components Network System  A distributed system is a collection processors that do not share memory or a clock. Each processor has its own local memory.  Communication takes place using a protocol.(ftp, http, NFS) Protection System (User Authorization) Command Interpreter System (Shell)

Operating System Services Services that provide user-interfaces to OS  Program execution - load program into memory and run it  I/O Operations - since users cannot execute I/O operations directly  File System Manipulation - read, write, create, delete files  Communications - interprocess and intersystem  Error Detection - in hardware, I/O devices, user programs Services for providing efficient system operation  Resource Allocation - for simultaneously executing jobs  Accounting - for account billing and usage statistics  Protection - ensure access to system resources is controlled

System Calls Interface between running program and the OS. ◦ Assembly language instructions (macros and subroutines) ◦ Some higher level languages allow system calls to be made directly (e.g. C) Passing parameters between a running program and OS via registers, memory tables or stack. Unix has about 32 system calls ◦ read(), write(), open(), close(), fork(), exec(),…..

System Programs Convenient environment for program development and execution. User view of OS is defined by system programs, not system calls.  Command Interpreter (sh, csh, ksh) - parses/executes other system programs  File manipulation - copy (cp), print (lpr), compare(cmp, diff)  File modification - editing (ed, vi, emacs)  Application programs - send mail (mail), read news (rn)  Programming language support (cc)  Status information, communication

UNIX System Structure UNIX – limited by hardware functionality, the original UNIX operating system had limited structuring. The UNIX OS consists of two separable parts. ◦ Systems programs ◦ The kernel  Consists of everything below the system-call interface and above the physical hardware  Provides the file system, CPU scheduling, memory management, and other operating-system functions; a large number of functions for one level.

UNIX System Structure

System Design & Implementation Traditionally written in assembly language, operating systems can now be written in higher-level languages. Code written in a high-level language: ◦ can be written faster. ◦ is more compact. ◦ is easier to understand and debug. An operating system is far easier to port (move to some other hardware) if it is written in a high-level language.