Merge lp://staging/~mterry/deja-dup/more-idle into lp://staging/deja-dup/26
Proposed by
Michael Terry
Status: | Merged |
---|---|
Merged at revision: | 1444 |
Proposed branch: | lp://staging/~mterry/deja-dup/more-idle |
Merge into: | lp://staging/deja-dup/26 |
Diff against target: |
153 lines (+82/-22) 3 files modified
common/CommonUtils.vala (+46/-5) tests/unit/unit-tests.vala (+33/-0) tools/duplicity/DuplicityPlugin.vala (+3/-17) |
To merge this branch: | bzr merge lp://staging/~mterry/deja-dup/more-idle |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Robert Bruce Park (community) | Approve | ||
Review via email: mp+154725@code.staging.launchpad.net |
Description of the change
Newer versions of Linux support more aggressively idle states for processes.
In particular, non-root users can call "ionice -c3" in linux 2.6.25 and up. And "chrt --idle 0" is available in linux 2.6.23 and up.
So, we might as well use them, to reduce the strain of a backup on the system. Ideally the user never notices.
To post a comment you must log in.
Simple diff, good code-reuse, tests are passing, I like it ;-)