[packagekit] [RFE] use lower iopriority for background update checking

James Westby jw+debian at jameswestby.net
Thu Aug 21 05:45:54 PDT 2008


On Thu, 2008-08-21 at 14:39 +0200, drago01 wrote:
> Hi,
> 
> Currently packagekit check for updates right after login which results
> into high disk usage.
> This leads to a noticeable slowdown. (After login the user wants to
> start apps so its even worse at this time).
> A solution would be to use a lower iopriority for the background
> update checking process.
> This can be done by either using the SYS_ioprio_set syscall or better
> ioprio_set.

What update-manager (and several other tools do) is wait an amount
of time before initiating the action. I don't know whether this solution
is better, and perhaps they should be combined.

Is that API available on all of the target platforms?

Thanks,

James




More information about the PackageKit mailing list