Create a model round robin scheduler

Assignment Help Operating System
Reference no: EM13550134

Create a Model Round Robin Scheduler

Referencing the Round-Robing scheduling algorithm

In the computer language of your choice, with EXTENSIVE COMMENTS (target 50+% of the working lines are to be commented).

You are given the following:

• It takes 20 time quanta to set-up/create a task process.

• It takes 20 time quanta to tear-down/end a task process.

• It takes 500 time quanta to read in from disk a text file.

• It takes 15 time quanta to context switch.

• It the scheduler takes 30 time quanta at the beginning of each cycle for its own use. In addition, the scheduler also incurs aentry context switch, the same as any other process.

• A high priority user task process is given 90 time quanta of ALU time.

• A standard user task priority process is given 60 time quanta of ALU time.

• When a user task process finishes, it issues a kernel call requesting a tear-down/end process, then it yields its' remaining time quanta and is immediately followed thecontext switch for the teardown process.

• Assume reporters and time quanta counters and their related output report(s) are free, they consume no time quanta.
Contents for the user task process data file (format as you wish):

• User Task A requires 1250 time quanta and has a standard priority

• User Task B requires 970 time quanta and has a high priority

• User Task C requires 75 time quanta and has a standard priority

• User Task D requires 2000 time quanta and has a high priority

Reference no: EM13550134

Questions Cloud

What is the force of the engine on the first car : A short train (an engine plus four cars) is accelerating at 1.40 m/s^2 . The mass of each car is 3.70×104 kg, and each car has negligible frictional forces acting on it. What is the force of the engine on the first car
What is the diameter of the circular path : a current of 0.750 A passes through a solenoid wound with 150 turns per centimeter. What is the diameter of the circular path
Compute the net flux through the coil : A long, straight wire lies in the plane of a circular coil with a radius of 0.040 m. The wire carries a current of 5.0 A and is placed along a diameter of the coil. What is the net flux through the coil
Explain the equation of state pv is a constant : A gas follows the equation of state PV = nRT(1+aP) where 'a' is a constant. For this gas, show that a = 1/T and K = 1/(P(1+aP) and verify that (dP/dT)v = a/K
Create a model round robin scheduler : Create a Model Round Robin Scheduler - Referencing the Round-Robing scheduling algorithm
Explain what is the total mass of the assembled coin : What is the maximum number of sets that can be assembles from 33.871 kg of quarters,10.432 kg of nickels and 7.990kg of dimes. What is the total mass(in grams) of the assembled coin sets.
Compute what is the magnetic flux through the loop : A circular loop of radius 11.8 cm is placed in a uniform magnetic field. what is the magnetic flux through the loop
Evaluate calculate the residual volume for a gas : Calculate the residual volume for a gas with the Redlich-Kwong equation of state. Interpret the result. If there is a depependence on T, why is this so. Calculate the excluded volume for the above equation of state. Interpret the result.
Determine the magnitude of the heat that he has lost : In a game of football outdoors on a cold day, a player will begin to feel exhausted after using approximately 8.0 × 105 J of internal energy. What is the magnitude of the heat that he has lost

Reviews

Write a Review

Operating System Questions & Answers

  Fragmentation on a storage device

Fragmentation on a storage device could be eliminated by re-compaction of the information. Typical disk devices do not have relocation or base registers (such as are used when memory is to be compacted)

  Consider a version of the bounded buffer problem

Consider a version of the bounded buffer problem in which there is two producer processes (P1and P2) and one consumer processes (P3) all sharing the same buffer. Assume that the size of the buffer is n=4, and that we start with a completely empty buf..

  A system uses a page size of the 4 kbytes and a program

a system uses a page size of the 4 kbytes and a program size of 46 kbytes is allocated memory. what is the

  Fragmented mean in reference to hard drives

What does fragmented mean in reference to hard drives, and what, if anything, should be done to prevent it. Describe the general path data takes in an application from user input to the computer hardware.

  Management has asked you to create a report

Management has asked you to create a report that details how the windows 7 operating system works. describe the fundamental and generic components of the OS. discuss how the os would handel the following, process and threads, memory management, pr..

  Effectiveness of online security

Six months ago a toy corporation started to sell their items on the internet. Over this time period traffic to the website has raised substantially but few consumers have made online purchases.

  Problem on demand-page system

Describe in general how the system is being used and explain the effect on the above measurement (CPU utilization) if the following occurred

  How unix administrator distribute the message

I was recently working on our mainframe UNIX system, and suddenly I received a message that the server required to be rebooted on my screen.

  Find the total number of bytes in the frame

Determine how long does it take to transmit a 10baseT Ethernet frame that contains 256 bytes of data and ignore all the interframe gap that follows the frame.

  Explain the role of ram and clock speed

Describe the role of each of the following in determining the speed of a personal computer, RAM, Clock speed, Data on hard disk

  Differences in windows, mac os, unix, and linux os

Discuss the fundamental differences in Windows, Mac OS, UNIX, and Linux operating systems for personal computers? Determine the unique characteristics do mainframe operating systems have?

  What is the internal data that allows the os to superwise

What is the internal data that allows the operating system to supervise and control the process? Be specific about what it includes.

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