If I launch the Fedora graphical updater (gpk-update-viewer), I see that it launches other commands (yumBackend.py, apply-delta-rpm, etc), and all of them run with normal priority (0). While my system is being updated, I do other things (play music, edit files, etc), and I note that the update is eating cpu, because the things I'm doing are not too fluid. So I would like to give the suggestion of changing the default priority of gpk-update-viewer (and the priority of all processes that are launched by it) to a low priority (for example, the equivalent of "nice -n 19 <command>"), in order to give more cpu to the user programs.
Any feedback on the suggestion? (good/bad, agree/disagree, etc)
CPU priorities are already implemented, see /etc/PackageKit/PackageKit.conf entries for BackendSpawnNiceValue BackendSpawnNiceValueBackground Probably could do IO priorities too (not implemented as far as I'm aware). Now, whether the defaults should be modified... especially in f19... the answer is likely no (bugzilla isnt really the place for decisions like this).
Thank you for the info. In my PackageKit.conf (fedora 19) the default values are: BackendSpawnNiceValue=0 BackendSpawnNiceValueBackground=10 I would set: BackendSpawnNiceValue=19 BackendSpawnNiceValueBackground=19 Could the default values be changed in future fedora releases? (fedora 21 for example) Please re-post the suggestion at the adecuate forums, if bugzilla is not the correct place. If you can't, please let me know the forums and I will try to post there. Thank you
I have re-posted the suggestion to the PackageKit mail list: http://lists.freedesktop.org/mailman/listinfo/packagekit My message isn't shown for now: http://lists.freedesktop.org/archives/packagekit/2014-February/thread.html Probably an admin will have to review it before being shown.
Most mailing lists only allow posts from subscribers, so if you want to participate in the discussion there, it would be best to subscribe first.
Ok, I have just subscribed, and re-sent the message. Still not shown, probaly takes some time. Tomorrow I'll review the list.
My fail. I sent the message to an incorrect email address. The suggestion is shown now: http://lists.freedesktop.org/archives/packagekit/2014-February/thread.html
Thanks, let's let the conversation take it's course upstream.