How to the operating systems schedule all the processes

Assignment Help Operating System
Reference no: EM132106339

This program assignment is provided to let the students understand how to the Operating Systems schedule all the processes on a multiprocessor or multicore environment.

Environment: Unix/Linux environment (VM Linux or Triton Server), Windows platform, Mac OS

Language: C, C++, and Java

Requirements:

i. We have learned many kinds of CPU scheduling methods:

1. First-Come, First-Served Scheduling

2. Shortest-Job-First Scheduling

3. Priority Scheduling

4. Round-Robin Scheduling

5. Multilevel Queue Scheduling

ii. Among the above scheduling scheme, I hope you would pick one method and simulate the CPU scheduling procedure.

iii. First, you are supposed to implement CPU scheduler.

iv. Next, you need to populate multiple processes. The processes should be managed by your system from the viewpoint of the Operating Systems. This requires that you maintain the corresponding PCBs. Before the creation of processes, it would be better to design the behavior scenario of each process.

v. The scheduler should show the (concurrent) sequence how the prcesses are selected to run their tasks and release (return) their turn to the other processes.

vi. Most importantly, you have to combine the CPU scheduler with the synchronization mechanism in order to prevent multiple processes from accessing the shared resources including system timer, counter on the queue, etc. The scenario should include a certain situation which show that you included the synchronization scheme on the CPU scheduler.

vii. Final result should be organized as a document which explains the overview and the structure of your program, real code, execution results (including captured image), and the conclusion including justification of your program, lessons you've learned, comments.

Reference no: EM132106339

Questions Cloud

Does having a mental problem and being addicted : Does having a mental problem and being addicted make you a higher relapse risk?
If faced with a values conflict with a client : If faced with a values conflict with a client, how would you go about trying to resolve it? and which conflicting values might you find most difficult
Chemical dependency counselor : What values would be important to have as a human service worker or chemical dependency counselor? and why?
Write a program that simulates the heap : The user should request a size of memory from the system, then the system should find memory that can be allocated based on the user's request.
How to the operating systems schedule all the processes : How to the Operating Systems schedule all the processes on a multiprocessor or multicore environment.
Accompanied with a sense of intensity : Enlightenment is accompanied with a sense of intensity, a feeling of clarity, a sense of unity, and a feeling of surrender.
What would be the actual cpi : If the program is executed on the MIPS pipeline, what would be the actual CPI? And without forwarding, what would be the actual CPI?
Helping someone who has suffered a loss : What do you see as being most important in helping someone who has suffered a loss, needing another perspective please?
How many pages are needed to store the entire job : If a program has 850 bytes that will be loaded into frames of 128 bytes each, and the instruction to be used is at byte 226.

Reviews

Write a Review

Operating System Questions & Answers

  Implementation of algorithms for process management

The Shortest Job Next (SJN) algorithm queues processes in a way that the ones that use the shortest CPU cycle will be selected for running rst.

  Develop a user mode command interpreter

Develop a user mode command interpreter which support list-short.

  Memory allocation in operating system

Analysis and implementation of algorithms for memory allocation in operating system, Explain First- t and best- t methods are used in memory allocation in operating systems.

  Stand alone child process

Forking the child process

  Write a multi-threaded program

Write a multi-threaded program to solve producer and consumer problem

  Marginal and average cost curves

n a competitive market place (pure competition) is it possible to continually sell your product at a price above the average cost of production.

  Simulating operating systems scheduling

Simulate the long-term scheduler, the short-term scheduler and the I/O scheduler of the computer using the First-Come-First-Serve algorithm.

  Issues with trusted platform module

Research paper discussing the issues with Trusted Platform Module (TPM)

  Threads

Explain a complication that concurrent processing adds to an operating system.

  Design and programming

Use the semaphore methods to control the concurrency of the solution

  Virtual machines

Virtual machines supported by a host operating system

  Discuss an application that benefits barrier synchronization

Discuss an application that would benefit from the use of barrier synchronization

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