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

Add an options to change process priority for runtime optimization #1504

Open
3 tasks done
deadlevel13 opened this issue Jan 20, 2025 · 1 comment
Open
3 tasks done
Labels
Feature New feature or request

Comments

@deadlevel13
Copy link

Please check before submitting an issue

  • I am using the latest version of App Manager
  • I have searched the issues and haven't found anything relevant
  • I have read the docs

Describe a description of the new feature

When using the runtime optimization, the Dex2Oat process are using a priority of 30? (see the attached image, use top in shell also show that number), which makes sometime the process just stuck at some absolutely random part, or even crash App Manager in the process.

Describe the solution you'd like

An options/box to change the process priority of the runtime optimization to the lowest possible in the working mode (ie, 0 on ADB and -20 on Root)

Describe alternatives you've considered

I knows that there are nice and renice command to change the process priority, and you can change the priority to 0 on non-root and -20 on root, so I have tried to change parent and child process priority, change parents do absolutely nothing, the child process is just changing way too fast to have a realistic way to do that by hands, through when the process stuck that tricks is good enough to let the process continue

Additional context

Image

@deadlevel13 deadlevel13 added the Feature New feature or request label Jan 20, 2025
@MuntashirAkon
Copy link
Owner

An options/box to change the process priority of the runtime optimization to the lowest possible in the working mode (ie, 0 on ADB and -20 on Root)

I'm not sure I understand your proposition. Do you want the priority (nice value) to be changed for this particular process name or any processes? It's not difficult to add an option to change the process priority next to the field.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants