should set nice level

Bug #1220396 reported by Thomas Guettler
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Duplicity
New
Wishlist
Unassigned

Bug Description

If I run a backup, the whole system is slow. I think the backup process should set a nice level (and ionice), since it is a background job. The interactive processes (terminal, webbrowser ...) should not be slowed down by the backup process.

Revision history for this message
Michal Zubkowicz (michalzubkowicz) wrote :

Currently it's 10 so it's slowing down other tasks, it should be something like 19

Revision history for this message
Kenneth Loafman (kenneth-loafman) wrote : Re: [Bug 1220396] Re: should set nice level

Use *ionice* instead. Try "sudo ionice -c 3 duplicity ..." to set I/O
class to idle.

On Thu, Mar 10, 2016 at 2:45 PM, Michal Zubkowicz <
<email address hidden>> wrote:

> Currently it's 10 so it's slowing down other tasks, it should be
> something like 19
>
> --
> You received this bug notification because you are subscribed to
> Duplicity.
> https://bugs.launchpad.net/bugs/1220396
>
> Title:
> should set nice level
>
> Status in Duplicity:
> New
>
> Bug description:
> If I run a backup, the whole system is slow. I think the backup
> process should set a nice level (and ionice), since it is a background
> job. The interactive processes (terminal, webbrowser ...) should not
> be slowed down by the backup process.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/duplicity/+bug/1220396/+subscriptions
>

Revision history for this message
Thomas Guettler (guettli-lp) wrote :

I know how to use ionice. I want sane defaults. Duplicity should set the maximum ionice+nice level itself.

Revision history for this message
Kenneth Loafman (kenneth-loafman) wrote :

Actually, it should have an option to do this. *duplicity* is made to be
run off-hours with a cron job while users are not on the system. Unlike
interactive backups, there is no comprehension of user activity.

On Sun, Mar 13, 2016 at 2:22 PM, Thomas Guettler <<email address hidden>
> wrote:

> I know how to use ionice. I want sane defaults. Duplicity should set the
> maximum ionice+nice level itself.
>
> --
> You received this bug notification because you are subscribed to
> Duplicity.
> https://bugs.launchpad.net/bugs/1220396
>
> Title:
> should set nice level
>
> Status in Duplicity:
> New
>
> Bug description:
> If I run a backup, the whole system is slow. I think the backup
> process should set a nice level (and ionice), since it is a background
> job. The interactive processes (terminal, webbrowser ...) should not
> be slowed down by the backup process.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/duplicity/+bug/1220396/+subscriptions
>

Revision history for this message
Thomas Guettler (guettli-lp) wrote :

> *duplicity* is made to be run off-hours with a cron job while users are not on the system.".

What happens if duplicity runs with maximum nice+ionice during off-hours while users are not on the system?

Revision history for this message
Kenneth Loafman (kenneth-loafman) wrote : Re: [Bug 1220396] [NEW] should set nice level

Not a lot different unless you have other cron jobs running. They could
keep it from finishing on time, but thats about it.

Will have to investigate how other backups handle this. Can't really think
of a downside.

On Sunday, March 13, 2016, Thomas Guettler <email address hidden>
wrote:

> > *duplicity* is made to be run off-hours with a cron job while users
> are not on the system.".
>
> What happens if duplicity runs with maximum nice+ionice during off-hours
> while users are not on the system?
>
> --
> You received this bug notification because you are subscribed to
> Duplicity.
> https://bugs.launchpad.net/bugs/1220396
>
> Title:
> should set nice level
>
> Status in Duplicity:
> New
>
> Bug description:
> If I run a backup, the whole system is slow. I think the backup
> process should set a nice level (and ionice), since it is a background
> job. The interactive processes (terminal, webbrowser ...) should not
> be slowed down by the backup process.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/duplicity/+bug/1220396/+subscriptions
>

Changed in duplicity:
assignee: nobody → Kenneth Loafman (kenneth-loafman)
importance: Undecided → Low
status: New → In Progress
Changed in duplicity:
importance: Low → Wishlist
assignee: Kenneth Loafman (kenneth-loafman) → nobody
status: In Progress → Won't Fix
status: Won't Fix → New
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.