INTRODUCTION TO COMPUTING CPIT 201 WEEK 13 LECTURE 3



Similar documents
How To Understand The History Of An Operating System

Operating Systems OBJECTIVES 7.1 DEFINITION. Chapter 7. Note:

Networking Operating Systems (CO32010)

4.1 Introduction 4.2 Explain the purpose of an operating system Describe characteristics of modern operating systems Control Hardware Access

Kernel. What is an Operating System? Systems Software and Application Software. The core of an OS is called kernel, which. Module 9: Operating Systems

Unit 4 Objectives. System Software. Component 4: Introduction to Information and Computer Science. Unit 4: Application and System Software Lecture 2

Introduction to Computer Administration. System Administration

Chapter 3. Operating Systems

Basic Computer Skills Module 2. Software Concepts

Functions of NOS Overview of NOS Characteristics Differences Between PC and a NOS Multiuser, Multitasking, and Multiprocessor Systems NOS Server

Network operating systems typically are used to run computers that act as servers. They provide the capabilities required for network operation.

Computers: Tools for an Information Age

Operating Systems for Parallel Processing Assistent Lecturer Alecu Felician Economic Informatics Department Academy of Economic Studies Bucharest

Chapter 8 Objectives. Chapter 8 Operating Systems and Utility Programs. Operating Systems. Operating Systems. Operating Systems.

Chapter 4. Operating Systems and File Management

Unit 10 : An Introduction to Linux OS

Undergraduate Course Syllabus

CHAPTER 15: Operating Systems: An Overview

Chapter Contents. Operating System Activities. Operating System Basics. Operating System Activities. Operating System Activities 25/03/2014

Chapter 4. System Software. What You Will Learn... Computers Are Your Future. System Software. What You Will Learn... Starting the Computer

OPERATING SYSTEMS Software in the Background. Chapter 2

OPERATING SYSTEMS Internais and Design Principles

Chapter 11 I/O Management and Disk Scheduling

Operating System Today s Operating Systems File Basics File Management Application Software

OPERATING SYSTEMS STRUCTURES

Click to view Web Link, click Chapter 8, Click Web Link from left navigation, then click BIOS below Chapter 8 p. 395 Fig. 8-4.

After studying this lesson, you will have a clear understanding of, what an Operating System is. functions of an Operating System

Operating System Structures

Web Server Architectures

A single user ran a single program ran on a single computer there was no need for Page 1 of 6 Copyright Virtual University of Pakistan

Integrated and reliable the heart of your iseries system. i5/os the next generation iseries operating system

Lecture 6: Operating Systems and Utility Programs

Acronis True Image Server

Chapter 6, The Operating System Machine Level

Introduction. What is an Operating System?

Designing a Microsoft SQL Server 2005 Infrastructure

Chapter 3 Operating-System Structures

High Level Design Distributed Network Traffic Controller

Acronis Backup & Recovery 11.5 Quick Start Guide

Outline. File Management Tanenbaum, Chapter 4. Files. File Management. Objectives for a File Management System

Chapter 5 System Software: Operating Systems and Utility Programs

Ahsay BackupBox v1.0. Deployment Guide. Ahsay TM Online Backup - Development Department

Operating System Software

Have both hardware and software. Want to hide the details from the programmer (user).

Running VirtualCenter in a Virtual Machine

OPERATING SYSTEM SERVICES

Operating System Structure

Ready Time Observations

Local Area Networks: Software and Support Systems

Software: Systems and Application Software

Chapter 5: System Software: Operating Systems and Utility Programs

Operating Systems, 6 th ed. Test Bank Chapter 7

Components of a Computing System. What is an Operating System? Resources. Abstract Resources. Goals of an OS. System Software

Parallels Virtuozzo Containers 4.7 for Linux Readme

Chapter 8 Operating Systems and Utility Programs

Evolution of the Data Center

USB DRIVER INSTALLATION GUIDE

Scheduling algorithms for Linux

The Reincarnation of Virtual Machines

Multiprogramming. IT 3123 Hardware and Software Concepts. Program Dispatching. Multiprogramming. Program Dispatching. Program Dispatching

KWIC Implemented with Pipe Filter Architectural Style

Comp 204: Computer Systems and Their Implementation. Lecture 12: Scheduling Algorithms cont d

How To Write A Windows Operating System (Windows) (For Linux) (Windows 2) (Programming) (Operating System) (Permanent) (Powerbook) (Unix) (Amd64) (Win2) (X

Kernel Types System Calls. Operating Systems. Autumn 2013 CS4023

PARALLELS SERVER 4 BARE METAL README

CS 377: Operating Systems. Outline. A review of what you ve learned, and how it applies to a real operating system. Lecture 25 - Linux Case Study

USB DRIVER INSTALLATION GUIDE

MCSA Security + Certification Program

I/O Management. General Computer Architecture. Goals for I/O. Levels of I/O. Naming. I/O Management. COMP755 Advanced Operating Systems 1

CS420: Operating Systems OS Services & System Calls

Operating Systems: Basic Concepts and History

How To Understand And Understand An Operating System In C Programming

XenClient Enterprise Upgrade Guide

3 - Introduction to Operating Systems

CS3600 SYSTEMS AND NETWORKS

Plesk 8.3 for Linux/Unix Acronis True Image Server Module Administrator's Guide

How to load balance printers

Operating System Tutorial

COURSE OUTLINE Survey of Operating Systems

Presales Certifications

CS 3530 Operating Systems. L02 OS Intro Part 1 Dr. Ken Hoganson

MMTS CASH MARKET TRADER WORKPLACE SOFTWARE

Operating System Components and Services

Ahsay Replication Server v5.5. Administrator s Guide. Ahsay TM Online Backup - Development Department

Objectives. Chapter 2: Operating-System Structures. Operating System Services (Cont.) Operating System Services. Operating System Services (Cont.

Gildart Haase School of Computer Sciences and Engineering

Chapter 2 System Structures

Attunity RepliWeb Event Driven Jobs

Computer software. Computer software: summary/overview/abstract (Part 1)

Operating Systems and Networks

Course Development of Programming for General-Purpose Multicore Processors

Chapter 3: Operating-System Structures. Common System Components

ELEC 377. Operating Systems. Week 1 Class 3

WHITE PAPER. Smart Card Authentication for J2EE Applications Using Vintela SSO for Java (VSJ)

Transcription:

INTRODUCTION TO COMPUTING CPIT 201 WEEK 13 LECTURE 3

OPERATING SYSTEM

Process manager A second function of an operating system is process management, but before discussing this concept, we need to define some terms. Program, job, and process A program is a non-active set of instructions stored on disk. A program becomes a job from the moment it is selected for execution until it has finished running and becomes a program again. A process is a program in execution. It is a program that has started but has not finished. 7.3

State diagrams The relationship between a program, a job and a process becomes clearer if we consider how a program becomes a job and how a job becomes a process. This can be illustrated with a state diagram that shows the different states of each of these entities. 7.4

7.5 State diagram with boundaries between program, job and process

Schedulers To move a job or process from one state to another, the process manager uses two schedulers: the job scheduler and the process scheduler. 7.6 Job scheduler

7.7 Process scheduler

Queuing Our state diagram shows one job or process moving from one state to another. In reality, there are many jobs and many processes competing with each other for computer resources. To handle multiple processes and jobs, the process manager uses queues (waiting lists). A job control block or process control block is associated with each job or process. This is a block of memory that stores information about that job or process. The process manager stores the job or process control block in the queues instead of the job or process itself. 7.8

Process synchronization The whole idea behind process management is to synchronize different processes with different resources. Whenever resources can be used by more than one user (or process, in this case), we can have two problematic situations: deadlock and starvation. 7.9

Figure : Deadlock i Deadlock occurs when the operating system does not put resource restrictions on processes. 7.10

7.11 Figure: Deadlock on a bridge

Device manager The device manager, or input/output manager, is responsible for access to input/ output devices. There are limitations on the number and speed of input/output devices in a computer system. The device manager monitors every input/output device constantly to ensure that the device is functioning properly. The device manager maintains a queue for each input/output device or one or more queues for similar input/output devices. The device manager controls the different policies for accessing input/output devices. 7.12

File manager Operating systems today use a file manager to control access to files. A detailed discussion of the file manager also requires advanced knowledge of operating system principles and file access concepts that are beyond the scope of this book. The file manager: controls access to files. supervises the creation, deletion, and modification of files. controls the naming of files. supervises the storage of files. is responsible for archiving and backups. 7.13

A SURVEY OF OPERATING SYSTEMS In this section we introduce some popular operating systems and encourage you to study them further. We have chosen three operating systems that are familiar to most computer users: UNIX, Linux and Windows. 7.14

UNIX UNIX was originally developed in 1969 by Thomson and Ritchie of the Computer Science Research Group at Bell Laboratories. UNIX has gone through many versions since then. It has been a popular operating system among computer programmers and computer scientists. i UNIX is a multiuser, multiprocessing, portable operating system. It is designed to facilitate programming, text processing and communication. 7.15

7.16 Components of the UNIX operating system

Linux In 1991, Linus Torvalds, a Finish student at the University of Helsinki at the time, developed a new operating system that is known today as Linux. The initial kernel, which was similar to a small subset of UNIX, has grown into a full-scale operating system today. The Linux 2.0 kernel, released in 1997, was accepted as a commercial operating system: it has all features traditionally attributed to UNIX. 7.17

Windows NT/2000/XP In the late 1980s Microsoft, under the leadership of Dave Cutler, started development of a new single-user operating system to replace MS-DOS (Microsoft Disk Operating System). Windows NT (NT standing for New Technology) was the result. Several versions of Windows NT followed and the name was changed to Windows 2000. Windows XP (XP stands for experience) was released in 2001. We refer to all of these versions as Windows NT or just NT. 7.18

7.19 The architecture of Windows NT