Bug 194635

Summary: Add support for ionice
Product: [Developer tools] kdesrc-build Reporter: Ivo Anjo <ivo>
Component: generalAssignee: Michael Pyne <mpyne>
Status: RESOLVED FIXED    
Severity: wishlist    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:

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! :)