Simulation of elevator and shortest seek time first sstf

Assignment Help Operating System
Reference no: EM13347646

Simulation of Elevator and Shortest Seek Time First (SSTF) Disk Scheduling Algorithm

Requirements:

_ Must be implemented in C (not C++).

Description:

The project should implement two basic disk scheduling algorithms.

1. Shortest seek time algorithm

2. Elevator algorithm

Overview

A hard disk drive contains a collection of plates called platters. However for the sake of simplicity, we consider a single platter for the project. Each surface of a platter is divided into circular tracks. Each track is further divided into sectors. Reading and writing on the disk is done on sector by sector basis. A group of tracks that are aligned on top of each other forms a cylinder. There is a head connected to arm of each surface which handles all I/O operations. During an I/O operation, the disk head is moved over the destination track. This time is called seek time. Then the disk is rotated further to position the destination sector under the head. This time is called rotational latency. Then the I/O operation is performed.

320_Disk Scheduling Algorithm.png

Shortest Seek Time First Algorithm

After a request is served, the next request to be served is the one which is in the track closest to the current disk head irrespective of the direction in which disk head was moving. It might be easier to implement, but it can lead to starvation if requests are continuously made close to the current disk head. Also slow down in speed might occur if the direction has to be changed frequently.

Reference no: EM13347646

Questions Cloud

Turing machines1give both a high-level algorithm and an : turing machines1.give both a high-level algorithm and an implementation bubble diagram of a turing machine for the
Describe the design tests of controls substantive tests of : describe the design tests of controls substantive tests of transactions and analytical procedures for the warehousing
Memorandumtonbspnbspnbspnbspnbspnbsp nbspnbsp management : memorandumtonbspnbspnbspnbspnbspnbsp nbspnbsp management analystfromnbspnbsp nbspnbsp beverly bunchbb budget
Objective 1 understand the effect that country and regional : objective 1 understand the effect that country and regional culture ethics and law have on the business practices of
Simulation of elevator and shortest seek time first sstf : simulation of elevator and shortest seek time first sstf disk scheduling algorithmrequirements must be implemented in c
Program to be implemented in c language - operating system : program to be implemented in c language - operating system and cpu scheduling and linux schedulerspurposethe purpose of
Backgroundsupervalu inc a large us retail grocer had 361 : backgroundsupervalu inc. a large us retail grocer had 36.1 billion in sales for its fiscal year ended february 25 2011.
Question 1 identify any organization with which you are : question 1. identify any organization with which you are familiar and provide a swot analysis.question 2. using the
Part-aq1 suppose the scenario of library management system : part-aq1 suppose the scenario of library management system. in it there are a. book no. b. name of the book. c.

Reviews

Write a Review

Operating System Questions & Answers

  Identify the differences in the code samples

Coding style is a very important part for those entering the technology field. Here are two model Java programs that do exactly the same thing according to the user.

  Provide the design and justification for your mechanism

Provide the design and justification for your mechanism that supports process dispatching and discuss the design advantage and disadvantage of each approach throughout the process lifecycle.

  Creating c+ programing

Create a program to display the initial values held through the structure on the screen.

  The single processor system

Suppose further that a single processor system can solve the problem in 106 seconds (about 11.6 days). So, on average, the single processor system

  Performing the maintenance

A hard drive must be managed to be used most efficiently. This maintenance with deleting old files, defragmenting a drive so that it does not waste space, as well as, from time to time, discovering and attempting to correct disk failures.

  Specify the order in which processes execute

Specify the order in which processes execute and determine the mean process turnaround time for each of the scheduling algorithms.

  Identifying wireless network architectures

Some of the local hospital's administrators are questioning privacy of patients' data with wireless transmission. Discuss and determine the merits of their concerns.

  Important information about windows operating system

Assume you have learned a great deal of important data about the Windows operating system so far. However, we have not even scratched the surface of the capabilities of Windows XP.

  Compute average seek time and rotational latency

Seek time 1 ms for every 100 tracks traversed. Initial track position is 0. Compute average seek time & rotational latency.

  Design several security awareness posters

With the help of graphics program, design many security awareness posters on the following themes, updating antivirus signatures, watching out for e-mail viruses.

  Program to calculate numeric grades for a course

Create a program to calculate numeric grades for a course. The course records are in a document that will serve as the input document.

  Discuss mitigation strategies

It is determined that 3-out of 5-businesses that experience downtime of forty-eight hours or more will be out of business within three years.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd