-
Notifications
You must be signed in to change notification settings - Fork 10
Suggestion: Increase priority for the Main MiSTer process #4
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
Comments
which function improved by this? |
I believe this process should be prioritized by the Linux kernel against all the other processes running in the system. Today, its priority is the same as all the other running processes. This configuration should put Main MiSTer in front of the others in the Kernel process scheduling, improving overall responsiveness (although not easily perceivable) of the services provided by Main MiSTer. |
basically MiSTer process is running on separate CPU core, so it has 99.9% of time. |
That helps. But since it has same priority (20) as the other processes, kernel won't give it special treatment/priority if needed, for some reason. |
Yes, but those other Linux processes should ideally be essential for maintaining the system, so it's best that they get equal priority. If there is a slowdown issue, the proper solution would be to identify processes related to non-essential services and just remove them if possible. |
Well, my point is: FTP server can wait, let's say, 16ms for CPU attention, but input processing inside Main MiSTer can't. Can't see any "unnecessary" process from htop here, but I see that, given the importance of Main MiSTer, it should be given at least higher priority among other processes. |
i think it's more about lowering the priority for less important tasks like FTP, than boosting the MiSTer. |
/etc/inittab entry for MiSTer process should be:
::sysinit:nice -n -20 /media/fat/MiSTer &
The text was updated successfully, but these errors were encountered: