OPERATING SYSTEMS Introduction

Slides:



Advertisements
Similar presentations
OS Components and Structure
Advertisements

Operating System Structures
Operating Systems Manage system resources –CPU scheduling –Process management –Memory management –Input/Output device management –Storage device management.
Slide 2-1 Copyright © 2004 Pearson Education, Inc. Operating Systems: A Modern Perspective, Chapter 2 Using the Operating System 2.
Chorus Vs Unix Operating Systems Overview Introduction Design Principles Programmer Interface User Interface Process Management Memory Management File.
Chorus and other Microkernels Presented by: Jonathan Tanner and Brian Doyle Articles By: Jon Udell Peter D. Varhol Dick Pountain.
CMPT 300: Final Review Chapters 8 – Memory Management: Ch. 8, 9 Address spaces Logical (virtual): generated by the CPU Physical: seen by the memory.
INTRODUCTION OS/2 was initially designed to extend the capabilities of DOS by IBM and Microsoft Corporations. To create a single industry-standard operating.
Case Study: Windows 2000 Part I Will Richards CPSC 550 Spring 2001.
1 Case Study 2: Windows 2000 Chapter History of windows Programming windows System structure 11.4 Processes and threads in.
2: OS Structures 1 Jerry Breecher OPERATING SYSTEMS STRUCTURES.
Informationsteknologi Friday, November 16, 2007Computer Architecture I - Class 121 Today’s class Operating System Machine Level.
CMPT 300: Final Review Chapters 8 – Memory Management: Ch. 8, 9 Address spaces Logical (virtual): generated by the CPU Physical: seen by the memory.
Process Management. External View of the OS Hardware fork() CreateProcess() CreateThread() close() CloseHandle() sleep() semctl() signal() SetWaitableTimer()
1 File Management in Representative Operating Systems.
Common System Components
Operating System Organization
Slide 3-1 Copyright © 2004 Pearson Education, Inc. Operating Systems: A Modern Perspective, Chapter 3 Operating System Organization.
Operating Systems.
I/O Tanenbaum, ch. 5 p. 329 – 427 Silberschatz, ch. 13 p
Basics of Operating Systems March 4, 2001 Adapted from Operating Systems Lecture Notes, Copyright 1997 Martin C. Rinard.
Operating Systems What do you have left on your computer after you strip away all of the games and application programs you bought and installed? Name.
Ceng Operating Systems 11-1 Chapter 11 : Case Study - Win 2000 History of windows 2000 Programming windows 2000 System structure Processes and threads.
Chapter 8 Windows Outline Programming Windows 2000 System structure Processes and threads in Windows 2000 Memory management The Windows 2000 file.
Rensselaer Polytechnic Institute CSCI-4210 – Operating Systems David Goldschmidt, Ph.D.
MODERN OPERATING SYSTEMS Third Edition ANDREW S. TANENBAUM Chapter 11 Case Study 2: Windows Vista Tanenbaum, Modern Operating Systems 3 e, (c) 2008 Prentice-Hall,
1 COMPSCI 110 Operating Systems Who - Introductions How - Policies and Administrative Details Why - Objectives and Expectations What - Our Topic: Operating.
Operating Systems Advanced OS - E. OS Advanced Evaluating an Operating System.
Segmentation & O/S Input/Output Chapter 4 & 5 Tuesday, April 3, 2007.
CSC 322 Operating Systems Concepts Lecture - 25: by Ahmed Mumtaz Mustehsan Special Thanks To: Tanenbaum, Modern Operating Systems 3 e, (c) 2008 Prentice-Hall,
1 Lecture 20: I/O n I/O hardware n I/O structure n communication with controllers n device interrupts n device drivers n streams.
Windows 2000 Course Summary Computing Department, Lancaster University, UK.
Silberschatz, Galvin and Gagne  2002 Modified for CSCI 399, Royden, Operating System Concepts Operating Systems Lecture 6 System Calls OS System.
Operating Systems David Goldschmidt, Ph.D. Computer Science The College of Saint Rose CIS 432.
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.
30 October Agenda for Today Introduction and purpose of the course Introduction and purpose of the course Organization of a computer system Organization.
OPERATING SYSTEMS Lecture 3: we will explore the role of the operating system in a computer Networks and Communication Department 1.
 Virtual machine systems: simulators for multiple copies of a machine on itself.  Virtual machine (VM): the simulated machine.  Virtual machine monitor.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 3: Operating-System Structures System Components Operating System Services.
OSes: 3. OS Structs 1 Operating Systems v Objectives –summarise OSes from several perspectives Certificate Program in Software Development CSE-TC and CSIM,
Operating Systems Lecture November 2015© Copyright Virtual University of Pakistan 2 Agenda for Today Review of previous lecture Hardware (I/O, memory,
Chapter 3 Operating Systems © 2007 Pearson Addison-Wesley. All rights reserved.
Distributed System Concepts and Architectures Services
UNIX Unit 1- Architecture of Unix - By Pratima.
A. Frank - P. Weisberg Operating Systems Structure of Operating Systems.
Lecture 18 Windows – NT File System (NTFS)
1 Windows NT A Distributed Architecture Windows NT A Distributed Architecture Professor: Mohamed Khalil CSE 8343 GROUP-A5 Dhaval Sanghvi Amit Sharma Ali.
UNIX & Windows NT Name: Jing Bai ID: Date:8/28/00.
CSC414 “Introduction to UNIX/ Linux” Lecture 2. Schedule 1. Introduction to Unix/ Linux 2. Kernel Structure and Device Drivers. 3. System and Storage.
Operating Systems CSE 411 Revision and final thoughts Revision and final thoughts Dec Lecture 33 Instructor: Bhuvan Urgaonkar.
CENG334 Introduction to Operating Systems 1 Erol Sahin Dept of Computer Eng. Middle East Technical University Ankara, TURKEY URL:
Chapter 1 Introduction  What is an operating system  History of operating systems  The operating system zoo  Computer hardware review  Operating system.
Operating Systems: Summary INF1060: Introduction to Operating Systems and Data Communication.
Copyright © Curt Hill More on Operating Systems Continuation of Introduction.
CSCI/CMPE 4334 Operating Systems Review: Exam 1 1.
1 Chapter 2: Operating-System Structures Services Interface provided to users & programmers –System calls (programmer access) –User level access to system.
INTRODUCTION TO COMPUTERS. A computer system is an electronic device used to input data, process data, store data for later use and produce output in.
Introduction to Operating Systems Concepts
Module 3: Operating-System Structures
Operating System Structure
Case Study 2: Windows History of windows 2000
Objective Understand the concepts of modern operating systems by investigating the most popular operating system in the current and future market Provide.
Chapter 3: Operating-System Structures
CS703 - Advanced Operating Systems
Lecture Topics: 11/1 General Operating System Concepts Processes
Operating Systems Lecture 1.
Introduction to Operating Systems
Operating Systems: A Modern Perspective, Chapter 3
Objective Understand the concepts of modern operating systems by investigating the most popular operating system in the current and future market Provide.
Presentation transcript:

OPERATING SYSTEMS Introduction Lots of choices in operating systems. (ex.)unix, windows, chorus, Mac, etc Lots of factors in deciding an operating system They are Design architecture Programmer interface User interface Process management Memory management File system I/O system

Inter process communication protection and security In today’s world there are lots and lots of OS around. We will discuss these features of two prominent OS UNIX and WINNT.

Design architecture DESIGN OF UNIX Consists of mainly three parts viz. 1. Tools and applications 2. Shell      connects and interprets user’s command, call programs from memory and executes them. 3. Kernel Manages all hardware devices and view each of them as a file

MEMORY MANAGEMENT M.M. IN UNIX Swapping Virtual Memory demand paging The Unix kernel divides the memory in to manageable chunks called “Pages”.A single page of memory is usually 4096 or 8192 bytes( 4or 8 kb ).Memory pages are laid down contiguously across the physical and virtual memory. Swapping Process are moved in and out of main memory. The “First Fit” algorithm is used. Virtual Memory demand paging Pages are created only for the process that actually execute. When a process access an address that is not part of working set(set of pages in main memory) page fault occurs.

DESIGN OF WINNT The four major pieces of the NT architecture follow: 1. Hardware Abstraction Layer (HAL) Software interface between the hardware and the rest of the operating system 2. Kernel (Micro kernel) Ultimately responsible for all actions on the system and almost all functions on the system pass through it. 3.NT Executive Services NT Executive takes care of the important tasks that are vital to the entire system, but the kernel is too busy to address directly. Some of them are OM, PM, VMM, LOCAL PROCEDURE CALL FACILITY, I/O MANAGER

M.M IN WINNT Virtual Memory Manager (VMM) provides management of the system's virtual memory pool. Each process is allocated a 4GB virtual memory space. Of this space, the upper two gigabytes is reserved for system use, while the lower 2GB is for the process's use If the process's memory address refers to a piece of memory that has been paged to disk, the VMM retrieves the page from disk.

PROCESS MANAGEMENT PROCESS MANAGEMENT IN UNIX Each process has two stacks a User stack and a Kernel stack. At least two different modes of operation are used by the Unix the more privileged kernel mode or less privileged User mode. Kernel mode Process carrying out Kernel instructions is said to be running in the Kernel mode. While in the kernel mode the process may access the data and code of any process. User mode Process, created directly by the users and running on the CPU are said to be in User mode. The process doesn’t have the privileges of the kernel mode that is they can access the data of other processes.

PROCESS MANAGEMENT IN WINNT When the application starts a process is created by process manager. The process manager is responsible for creating, removing and modifying all the processes and threads created in the system. It provides information about the status of the processes and the threads to the rest of the system. This is a main part of the windows NT executive.

FILE SYSTEM FILE SYSTEM IN UNIX Everything in Unix are viewed as files. Three types of files 1. Regular files – holds executable programs and data 2. Directory files - contain other files and subdirectories. Helps to organize other files. 3. Device files – Unix treats even the hardware such as printers, CD-ROMs, Modems as a file. Kernel uses a logical device number, node number pair to identify a file in the system.

FILE SYSTEMS IN WINNT Windows NT has an advanced version of FAT (File Allocation Table) file system, NTFS (NT File system) and HPFS (High Performance File system). A major part of the security model that NT offers is based on the NTFS file system. A HPFS can be converted to a NTFS using convert.exe utility. File descriptions on an NTFS volume are stored in a master file table (MFT), which is also a file. With many copies of MFT file recovery is easier.

I/O SYSTEMS I/O SYSTEMS IN UNIX The I/O system hides the kernel from the complications of I/O devices. I/O consists of 1. Buffer caching system 2. General device driver code and drivers for specific device drivers. Use descriptors to refer I/O streams.

I/O SYSTEM IN WINNT Specific I/O manager present. Responsible for coordinating and processing all inputs and outputs of the system. It oversees the device drivers, installable file systems, network redirectors and the system cache. It presents a layered approach to mix and match various input and output devices.

INTER-PROCESS COMMUNICATION INTER-PROCESS COMMUNICATION IN UNIX Several ways by which processes can communicate. Some of them are 1. Pipes - reliable unidirectional byte stream between two processes. 2. Semaphores and shared memory 3. Message queues 4. Sockets – Two way communication pipe. Communication can be done in both the ways using sockets.

INTER-PROCESS COMMUNICATION IN WINNT Here also there are different ways for inter-process communication. Some of them are 1. WINSOCK 2. RPC 3. DDE 4. NETBIOS 5. NAMEDBIOS 6. SEMAPHORES 7. MEM- MAPPED FILE

Protection and security PROTECTION AND SECURITY IN UNIX Unix is basically written in C. Security is implemented using various software. Some of the network security tools in Unix are 1. IPACL 2. LOGDAEMON 3. PORT MAP 4. RPCBIND, SARA ETC. Various companies market these tools.

PROTECTION AND SECURITY IN WINNT Some of the security features are: 1. Logon characteristics 2. Mandatory logon 3. Auditing 4. Limited network access The security features are controlled by security reference monitor NT executive.