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

update example service and timer in manpage #100

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bdaase
Copy link

@bdaase bdaase commented Jan 30, 2021

This does four things:

  • Set the "IOSchedulingClass" and "CPUSchedulingPolicy" to "idle" (we are a background task and should never block the system in any way)
  • Add "--quiet" to the exec line (at best, backups are fire and forget)
  • Mention our own man page in the "Documentation=" directive (good style)
  • Move the [Install] section to the bottom (convention)

This does four things:
- Set the "IOSchedulingClass" and "CPUSchedulingPolicy" to "idle" (we are a background task and should never block the system in any way)
- Add "--quiet" to the exec line (at best, backups are fire and forget)
- Mention our own man page in the "Documentation=" directive (good style)
- Move the [Install] section to the bottom (convention)
@wesbarnett
Copy link
Collaborator

Hi @BjoernDaase, thanks for the contribution. Keep in mind these are just examples that the user is intended to tweak on their own. So setting IOSchedulingClass and CPUSchedulingPolicy to idle might not be the correct solution for everyone since the process may become starved if higher priority processes are constantly running. Setting Nice might be a better option for many. See this discussion.

@bdaase
Copy link
Author

bdaase commented Jan 31, 2021

Hi Wes, thanks for your quick reply!

I have just added them to the service based on my personal experience, where they work fine, and because they they look like sane defaults to me. However, I can also drop those two lines completely from the patch if you don't feel comfortable recommending this as a default. Just let me know what you prefer :)

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.

2 participants