How to the operating systems schedule all the processes

Assignment Help Operating System
Reference no: EM132106275

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, etc.

Reference no: EM132106275

Questions Cloud

What is heutagogical learning : What is heutagogical learning? What are the similarities and differences between heutagogy and widely-known concepts of self-directed
Write a program to evaluate an arithmetic expression : Write a program to evaluate an arithmetic expression written in postfixed notation. The arithmetic expression will be input as a String.
Display the sorted list to the monitor : Your program should then sort the integers from small-est to largest using an if-else chain and then display the sorted list to the monitor.
What is a nonequivalent control group pretest-posttest : What is a nonequivalent control group pretest-posttest design study involving diet and weight loss?
How to the operating systems schedule all the processes : You need to populate multiple processes. The processes should be managed by your system from the viewpoint of the Operating Systems.
Residents of assisted care facilities : A researcher is investigating the effects of life review group therapy on depression among elderly residents of assisted care facilities.
A merge scan join and a nested loop join algorithm : Explain the difference between a Merge Scan Join algorithm and a Nested Loop Join algorithm, and why in this case it chose the former.
What is a cohort effect : What is a cohort effect? What variables might influence a cohort effect a research scenario?
Precursors to gender specific brain structure : Do you think that our genes and hormonal influences in fetal development are precursors to gender specific brain structure? Why?

Reviews

Write a Review

Operating System Questions & Answers

  Value of semaphore before entering into critical section

Give a solution using Monitor that is starvation-free. What would be value of semaphore before entering into Critical Section and after leaving it.

  Currently the atm is idle

Currently the ATM is idle. Find the probabilities that, in 3 minutes, the ATM will be idle; will be serving one customer with no one in the queue; will be serving one customer with one customer waiting in the queue

  Contrasts linux server and linux workstation products

Write a paper that compares and contrasts Linux server and Linux workstation products between three separate and distinct Linux vendors;

  Write a program that allows the user to enter students'' name

Write a program that allows the user to enter students' names followed by their test scores and output the following information(assume that the maximum number of students in the class is 50)

  Design a java "hello world" program

Printing a string character can be considered as a critical part of the thread code. For this, implement a mechanism providing mutual exclusion, but without using any synchronization approaches (semaphores, locks, etc.).

  Six of the best practices should be general practices

The management team for MWS has asked for a simple but thorough checklist describing best practices for securing the operating systems used in the company. Six of the best practices should be general practices

  Give three advantages of virtual machine

In different communications models, communication may take place using either "message passing" or "shared memory". Distinguish between "message passing" and "shared memory", illustrating your answer with a diagram Give three advantages of virt..

  Single machine with total capacity

Suppose that there is a single machine with total capacity of 23 units of time, and that one gets partial credit for partially processing a task, so that processing a task of value Vi for time t

  Use of ntfs permissions for the folders or files on network

Justify the use of NTFS permissions for the folders / files on the network and explain the top two to three (2-3) reasons this is the most reliable option at the business unit leaders' disposal

  Write an exception class called mortgageinputexception.java

Modify MortgageDisplayGui.java to try and catch for this MortgageInputException and upon error, report the Error to the user via a JoptionPane using the ERROR_MESSAGE and DEFAULT_OPTION constants provided by the JoptionPane class.

  Present figures in power point presentation slides.

I need link for table of content, list of figures, list of tables. Few sections there is no link. Recently i updated the document. Could you please link it.

  Is the system currently deadlocked. is it in a safe state

is the system currently deadlocked? is it in a safe state? if it is not deadlocked and/or safe be sure to show initermediae states that lead you to that conclusion

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