Bug 194635 - Add support for ionice
Summary: Add support for ionice
Status: RESOLVED FIXED
Alias: None
Product: kdesrc-build
Classification: Developer tools
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR wishlist
Target Milestone: ---
Assignee: Michael Pyne
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-30 11:09 UTC by Ivo Anjo
Modified: 2010-01-31 12:24 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ivo Anjo 2009-05-30 11:09:52 UTC
Version:            (using KDE 4.2.3)
OS:                Linux
Installed from:    SuSE RPMs

ionice is similar to nice, but it works for io (see ionice(1) on linux).

Building and installing kde modules causes a lot of io, and I've been replacing kdesvn-build with a script that runs "ionice -c3 ./real-kdesvn-build $*" for some releases now, because my system is a lot more responsive while doing builds and especially installs in the background (especially firefox with its fsync'iness).

It would be nice if this could be added as an option to the config file (and I'm sure it's the kind of thing a lot of users don't know about, but would like to turn on if they knew it was possible).
Comment 1 Michael Pyne 2010-01-31 03:04:27 UTC
SVN commit 1082647 by mpyne:

Add support for automatically using the ionice tool supported in Linux since 2.6.13 (or so)
using CFQ, in kdesvn-build. Also update the documentation at the same time for once.

To enable, set use-idle-io-priority to true in your .kdesvn-buildrc (it is
disabled by default for now).

BUG:194635


 M  +42 -16    doc/scripts/kdesvn-build/index.docbook  
 M  +16 -2     scripts/kdesvn-build  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1082647
Comment 2 Ivo Anjo 2010-01-31 12:24:47 UTC
Nice, thanks a lot! :)