-
Notifications
You must be signed in to change notification settings - Fork 2k
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
foldingathome: systemd cleanup, various fixues. #15145
Conversation
Pull Request assignmentSubmitter: @ferringb sci-biology/foldingathome: @axs-gentoo, @gentoo/sci-biology Linked bugsBugs linked: 712744 Missing GCO sign-offPlease read the terms of Gentoo Certificate of Origin and acknowledge them by adding a sign-off to all your commits. In order to force reassignment and/or bug reference scan, please append Docs: Code of Conduct ● Copyright policy (expl.) ● Devmanual ● GitHub PRs ● Proxy-maint guide |
/CC @juippis this is a followon to the systemd side. For systemd this is enough for my usage (or has been). I'd suggest replicating what is relevant- the group usage for the process for example- to the openrc scripts. I cannot test that pathway nor have interest to do so (I use just systemd these days). Also note that I already signed a copyright assignment a couple of decades back, so that's covered should it be part of the checklist. |
1) force the `foldingathome` user group for the process for obvious reasons. 2) link in the video group and add it to the foldingathome user- this is necessary for GPU utilization. 3) force nice=19 from systemd level. The batch processing attempts to do this for workers, but we might as well force it for the scheduler. 4) Add explicit configuration directives to force- irregardless of host config- the scheduler to be foreground'd and running in a fashion that integrates w/ systemd more sanely. 5) Lockdown some basic systemd security while I'm in here. 6) Finally, drop the pidfile directive for systemd. Foreground process- no pidfile to track (nor should we have the unit create it). Bug: https://bugs.gentoo.org/712744 Signed-off-by: Brian Harring <ferringb@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can't test this on systemd, but looks good, I trust it works. Thanks!
foldingathome
user group for the process for obviousreasons.
is necessary for GPU utilization.
do this for workers, but we might as well force it for the scheduler.
the scheduler to be foreground'd and running in a fashion that integrates w/
systemd more sanely.
no pidfile to track (nor should we have the unit create it).
Bug: https://bugs.gentoo.org/712744
Signed-off-by: Brian Harring ferringb@gmail.com