Answer the question
In order to leave comments, you need to log in
Where can I find documentation on thread/process/task scheduler settings in Windows 7?
Hello!
I'm not a programmer, but I like to fiddle with fine-tuning the system - whether it's Windows or Linux. Today I thought about the distribution of processes in Windows by processor cores, then the thought went about the distribution of priorities, in the end I stumbled upon a certain ProcessLasso, which has an interesting feature - ProBalance. But ... it still has a certain menu with access to the "NT Task Scheduler" settings. I immediately understood what it was about. However, in the free version of the program, you will not be able to play around with the settings. They are not available for saving.
I decided that since the Windows registry has a global database of all parameters, then the scheduler takes them from there.
I will not describe my many hours of digging in the registry. I found the setting. And he is alone.
Located in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\PriorityControl and named Win32PrioritySeparation.
Interestingly, on a freshly installed system, the parameter is 0x2, if you specify "Programs" in the window of standard settings for the distribution of processor time, then the parameter will become 0x26, if you specify "Background tasks" - 0x18.
The question actually is: is there any official documentation from MS on the Windows kernel task scheduler? How many dug the Internet, did not find anything. I would like to know in detail what values mean what.
Answer the question
In order to leave comments, you need to log in
Answer found!
A certain Habr user Dmitry Lapshin (http://dmitriyl.livejournal.com/) wrote me today in a comment on my website and gave a link: www.intuit.ru/department/pl/cil/11/2.html
Everything is perfectly described here scheduler options.
Thanks to him and everyone for their help.
I’ll add on my own: set the Win32PrioritySeparation value to the default during installation, that is, 0x2 (decimal 2), and the OS will become noticeably more responsive due to the fact that important background processes will not be blocked by overly active ones.
The start console command allows you to start a process with different priorities.
Start /?
Yes, I know that, thanks. But if we talk about priorities, then it's one thing to run a program with a certain priority, and another to dynamically change the priority depending on the load on the CPU. Here's a ProcessLasso feature called ProBalance that automatically lowers a program's priority if it uses more than a certain percentage of CPU. The same thing seems to be in AnVir Task Manager.
But the main question about documentation on the Windows kernel scheduler remains open...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question