Linux credit based algorithm and other scheduling algorithms
Compare between Linux credit based algorithm and other scheduling algorithms?
Expert
For the conventional time, shared processes, Linux employ a prioritized, credit-based algorithm. Each process possesses assured number of scheduling credits; while a new task has to be selected to run, the process with most credits is chosen. Every time that a timer interrupt take place, the currently running process loses one credit; while its credits reaches zero, it is suspended and another process is selected. If no run able processes have any credits, then Linux carry out a recrediting operation, adding credits to every process in the system (instead of just to the runnable ones), according to the following rule:
Credits = credits/2 + priority
The above scheduling class is employed for time-shared process and the in Linux for the real-time scheduling is simpler it employs scheduling classes: first come, first served (FCFS), & round-robin (RR) .In both cases, each of the process has a priority in addition to its scheduling class. In time-sharing scheduling, though, processes of distinct priorities can still compete with one another to some extent; in real-time scheduling, the scheduler always runs the process along with the highest priority. Amongst processes of equal priority, it runs the process which has been waiting longest. The only difference among FCFS and RR scheduling is that FCFS processes continue to run till they either exit or block, while a round-robin process will be preempted after a while and will be moved to the end of the scheduling queue.
Normal 0 false false
Explain the difference between the functions performed by the phloem and xylem?
What do you mean by the term carbohydrates? Explain cat grass.
Explain Free page pool?
Is monoculture a system which contributes to great biological diversity of the ecosystem?
Difference between primary & secondary storage device: In primary storage device the storage capacity is restricted. It contains volatile memory. In secondary storage device storage capacity is larger. This is
Domino theory: The reason for war during 1950s to 1980s started by US, that kept a look on states coming under the influence of communism. In any case some country came under communism influence then all other countries surrounding it would follow the
A* Search: A* (pronounced “A star”) is a best-first search that attempts to minimize the total length of the path from the initial state to the goal state. It combines advantages of breadth-first search, where the shortest path is found fi
18,76,764
1951314 Asked
3,689
Active Tutors
1440847
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!