Assignment 3

Operating Systems

Task 2

Introduction

In this assignment we shall be looking at the four main memory management functions of an operating system. They are Process Management, Main-memory management, File and Disk management and Input/Output memory management. They shall be looked at further and in more detail within the task 3 section of the assignment.

Process Management Scheduling Techniques

There are three main states within the process management sub system. They are waiting, ready and running.  Each process is started with the operation of system calls.

Above can be seen a diagram of the scheduling operations within a system.

The job queue is full of processes waiting to be entered into the ready queue, but must pass through admission to do so. When the job enters the ready queue it must wait for the processor to continue its processing method until it is time for the job to be dispatched. When dispatched it will enter the CPU where it will be executed. However, there are two errors that may occur.

Firstly, the job when dispatched may conflict with other processes in which case will be entered into the waiting queue. From the waiting queue it will enter the cycle again.

Secondly, the process may timeout, also known as a timer interrupt and from here have to repeat through the cycle again.

Join now!

Types of Processing Methods

There are four different methods of processing. They are First Come First Served, Shortest Job First, Shortest Remaining Time First and Round Robin. They all have their differing properties and they shall be explained briefly below.

First Come First Served (Also known as First in First out F.I.F.O)

This method makes the processor process in order of arrival. It can be a very slow method of processing due to the illogical order. The average speed of processing can be minimised when processing in the reverse order. The average time is reduced and ...

This is a preview of the whole essay