Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explore the possibility of using Windows Registry for process priority management #20

Open
SystemXFiles opened this issue Sep 22, 2024 · 0 comments
Labels
enhancement New feature or request P:Low Low priority

Comments

@SystemXFiles
Copy link
Owner

SystemXFiles commented Sep 22, 2024

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.

@SystemXFiles SystemXFiles added enhancement New feature or request P:Low Low priority labels Sep 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request P:Low Low priority
Projects
None yet
Development

No branches or pull requests

1 participant