Ved International Discussion Board


Join the forum, it's quick and easy

Ved International Discussion Board
Ved International Discussion Board
Would you like to react to this message? Create an account in a few clicks or log in to continue.

A variant of the MLFQ (multi-level feedback queues)

Go down

A variant of the MLFQ (multi-level feedback queues)  Empty A variant of the MLFQ (multi-level feedback queues)

Post by binusasi Sun Jul 15, 2012 5:58 pm

A variant of the MLFQ (multi-level feedback queues) selection algorithm is particularly attractive for this situation. The queues are numbered from 0 up to some maximum. When a job becomes ready, it enters queue zero. The CPU scheduler always runs a job from the lowest-numbered non-empty queue (i.e., the priority is the negative of the queue number). It runs a job from queue i for a maximum of i quanta. If the job does not block or complete within that time limit, it is added to the next higher queue. Jobs with short quanta in that short bursts get high priority, but does not incur the overhead of frequent swaps between jobs with long bursts
binusasi
binusasi
LEADER Of ALL
LEADER Of ALL

Posts : 7988
Join date : 2011-12-07

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum