Lower priority of borg process to reduce contention with other processes #32

Closed
opened 2018-01-05 05:34:20 +00:00 by import_bot · 1 comment
Collaborator

From Randy:

Thanks for the excellent scripts. Saved me writing my own bash borg wrapper.

I use borg on a RPI-based NAS + Kodi box. Clearly when using Kodi, borg needs to step aside so the media applications can run as a priority.

To do this I renice the borg process to a low priority nice-level 10.

IO can also be adjusted to make borg play nice on the drive-access via ionice.

I run ionice -c 2 -‎n 7 which lowers the IO priority.

It would seem these options would be natural additions to borgmatic.

For what it's worth.


Imported from Taiga issue 31 (to do). Created on 2017-07-23T05:06:31+0000 by Dan Helfman.

From Randy: Thanks for the excellent scripts. Saved me writing my own bash borg wrapper. I use borg on a RPI-based NAS + Kodi box. Clearly when using Kodi, borg needs to step aside so the media applications can run as a priority. To do this I renice the borg process to a low priority nice-level 10. IO can also be adjusted to make borg play nice on the drive-access via ionice. I run ionice -c 2 -‎n 7 which lowers the IO priority. It would seem these options would be natural additions to borgmatic. For what it's worth. --- Imported from Taiga issue 31 (to do). Created on 2017-07-23T05:06:31+0000 by Dan Helfman.
Owner

This is now supported via systemd, and it's included in the sample systemd configuration: https://projects.torsion.org/witten/borgmatic/raw/branch/master/sample/systemd/borgmatic.service

This is now supported via systemd, and it's included in the sample systemd configuration: https://projects.torsion.org/witten/borgmatic/raw/branch/master/sample/systemd/borgmatic.service
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: borgmatic-collective/borgmatic#32
No description provided.