Mark Musique process as having a high priority #44
Labels
No Label
bug
enhancement
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: s416496/musique#44
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
For performance and deterministic purposes, we need to define Musique interpreter instance as important for operating system.
Linux
nice value can be set, but only on processes with CAP_SYS_NICE capability which can be aquired either by running as root or marking executable with this capability:
Unfortunately this is not a part of ELF file, so it must be applied manually.
Lower value of nice (negative) means more scheduling privilages.
Windows
https://learn.microsoft.com/en-us/windows/win32/api/processthreadsapi/nf-processthreadsapi-setpriorityclass
macOS
Nice and root required as in Linux but without capabilities found on Linux