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

Lowering the priority of python.exe to reduce lags #18

Merged
merged 2 commits into from Sep 10, 2021

Conversation

mickyngub
Copy link
Contributor

If a user is mining gems in the background while using other compute-intensive programs, the user might experience lags due to 100% CPU utilization. By lowering the priority of python.exe miner, other programs will have higher priorities. Thus, users would be less likely to experience lagging issues.

Under a normal circumstance in which the CPU utilization is less than 100%, it should have no impact on iter/sec.

Before

image

After

image

@yoyoismee
Copy link
Owner

nice.
might be nice if you can make this configurable. (for superuser)
but great QoL improvement overall. sgtm

@yoyoismee yoyoismee merged commit 0c549a7 into yoyoismee:main Sep 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants