process-governor
process-governor copied to clipboard
Explore the possibility of using Windows Registry for process priority management
trafficstars
Currently, Process Governor manages CPU and IO priorities using psutil. We propose to explore an alternative method through Windows Registry keys, specifically leveraging Image File Execution Options to set CpuPriorityClass and IoPriority for specific executables. This method allows setting priorities directly at the OS level, which may improve performance or integration. An example of such a registry configuration is provided below:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\GoWR.exe\PerfOptions]
"CpuPriorityClass"=dword:00000003
"IoPriority"=dword:00000003
Investigate and evaluate if this approach is feasible, compare it to the existing implementation, and decide if it can be integrated into Process Governor.