How does the scheduler know the time how it should be scheduled.
Answer Posted / kwrtos
It depends on what type of scheduling policy has been
chosen. In general, the way to schedule the time quantum
(time slice)is either to take a fixed or variable length of
time unit. In an adaptive style of scheduling policy, the
scheduler will give a high priority process as much time as
it needs unless another higher priority process comes in the
ready queue to demand quantum of execution time. In this
case, a variable number of time units will be given to that
process. However, in a round-robin style of scheduling
policy, the time quantum is fiexed and predefined, and each
of processes that gets its turn to run through the time
quantum will complete the full length of the time unit
allocated to it before a context switch takes place. In
other words, the scheduler has to schedule the processes
according to its scheduling policy as it's been designed.
| Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers
Can I install chrome os on my laptop?
What causes a computer not to boot up?
How do I combine multiple folders on a mac?
Can we compare two files in notepad ++?
How do I clean up and speed up my computer?
1) What is an Virtual memory? 2) How do we test API's in both Windows/Linux/Unix? 3) What is an IOCTL? 4) How do you open a char device through API's? 5) What is major num/ minor num? 6) What is the max num for minor num? 7) Who gives you the major / minor numbers? 8) Reverse a string using recursive func. 9) fork/vfork/clone. 10) What does fork returns? 11) What is a zombie process? 12) What happens when a child completes before parent tries to wait for it? 13) Interrupt handlers, top-hdnl....?
what is ms configure?
What is the best memory for a laptop?
How can I clean up my computer?
Is 4 cores enough for streaming?
discuss the procedures to evaluate disk excess time
Explian T - Factor?
Is microsoft coming out with a new operating system?
How do I upgrade my operating system?
How many goroutines are in a core?