6
1
What is the scheduling algorithm used in Windows 7?
6
1
What is the scheduling algorithm used in Windows 7?
12
Windows uses a round-robin technique with a multi-level feedback queue for priority scheduling ever since NT, Though in Vista there were some smart heuristic improvements to ensure that some processes, such as the disk defragmenter, are at a lower priority in order to not interfer with foreground processes. To the best of my knowledge, Windows 7 uses the same scheduler as Vista, though there may have been minor improvements.
2For details – to the extent they have been published – see Windows Internals by Mark Russinovich et al. – Richard – 2012-07-24T07:20:35.373
4
Windows NT-based operating systems use a multilevel feedback queue
. So, I feel that Windows 7 must also be using the same scheduling algorithm.
The scheduler was modified in Windows Vista with the inclusion of a priority scheduler and also to use the cycle counter register of modern processors to keep track of exactly how many CPU cycles a thread has executed.
On similar lines, there may be some improvements in Windows 7 too. But the algorithm may be the same.
0
User-mode scheduling (UMS) is a light-weight mechanism that applications can use to schedule their own threads. An application can switch between UMS threads in user mode without involving the system scheduler and regain control of the processor if a UMS thread blocks in the kernel. UMS threads differ from fibers in that each UMS thread has its own thread context instead of sharing the thread context of a single thread. The ability to switch between threads in user mode makes UMS more efficient than thread pools for managing large numbers of short-duration work items that require few system calls.
1What makes you think this question was about UMS? – David Schwartz – 2012-07-24T05:10:59.307
This is an extremely vague and open-ended question. What do you want to know? – David Schwartz – 2012-07-24T05:13:17.683
1Many scheduling algorithms like First come first serve, Priority based, Round Robin are there. Is there any specific algorithm is used in that OS? – arulappan – 2012-07-24T05:15:27.840
1
It is a multilevel feedback queue with some modifications.
– David Schwartz – 2012-07-24T05:19:13.293@arulappan: scheduling algorithm for what kind of items? – akira – 2012-07-24T06:44:57.730
1@akira: To schedule tasks for the processor in 'Multitasking' environment. – arulappan – 2012-07-24T07:00:16.157
1@arulappan: put that into your question. – akira – 2012-07-24T07:02:46.793