Define the scheduling in multitasking, Operating System

Assignment Help:

Define the Scheduling in Multitasking

Earlier we learned the concepts and advantages of multitasking. In a system in which one or more tasks( threads or processes) attempt to share the resources of the CPU, some means of scheduling must be offered. Scheduling is just the operating system mechanism that arbitrates the CPU resource among the running tasks. In this topic, the word task denotes an entity ( process or thread) that can be scheduled. In several computer science texts, a task that can be scheduled is considered to as a job or process.

A major design principle of any operating system is the means of scheduling awaiting tasks. There are several  different algorithms for scheduling the CPU resources. In our evaluated platforms, the very common scheduling mechanism are either priority – based preemptive mode or a round- robin non-preemptive method. Another more traditional operating systems may use such scheduling algorithms as shortest- job-first or first- come- first served.


Related Discussions:- Define the scheduling in multitasking

Read - write cycles of microprocessors, Examining the write/cycles as shown...

Examining the write/cycles as shown below We can see that the bus is designed for asynchronous read/write cycles. The operation of the write cycle is simple in that the add

Linear Programing, . A paper mill produces two grades of paper viz., X and ...

. A paper mill produces two grades of paper viz., X and Y. Because of raw material restrictions, it cannot produce more than 400 tons of grade X paper and 300 tons of grade Y paper

How can an index file be used to speed up, How can an index file be used to...

How can an index file be used to speed up the access in direct-access files? Have an index in memory; the index gives the key and the disk location of its corresponding record.

How does an operating system make multiprogramming possible, How does an op...

How does an operating system make multiprogramming possible by using single processor?

Synchronization, As we already know, threadsmust ensure consistency; otherw...

As we already know, threadsmust ensure consistency; otherwise, race conditions (non-deterministic results) might happen. Now consider the "too much milk problem": two people share

Need of shift alteration in critical section problem?, Explain with an exam...

Explain with an example the need of Shift Alteration in critical section problem? Consider processes P i and P j and consider the algorithm for P i and P j .

Plot a function for value of heights, The performance of a file system depe...

The performance of a file system depends upon the cache hit rate (fraction of blocks found in the cache). If it takes 1 msec to satisfy a request from the cache, but 40 msec to sat

Is data in a file access sequentially or randomly, Q. Give an instance of ...

Q. Give an instance of an application in which data in a file should be accessed in the following order: a. Sequentially b. Randomly Answer: a. Print the content of

Basic server model, Suppose we want to program a Web server; we could easil...

Suppose we want to program a Web server; we could easily do so without using concurrency, as follows: while(true) wait connection read from socket and parse url look up url cont

Write Your Message!

Captcha
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