If the schedutils package - which includes ionice(1) - is installed (and cfq is the active io scheduler on the relevant devices), we can run updatedb with a very low IO priority. This might improve response times for other applications while updatedb is running, as the cfq IO scheduler will permit their requests to barge ahead of those from updatedb in the IO queue. In theory.
The enclosed patch is a modification for /etc/cron.daily/slocate which will run updatedb with minimum IO priority if ionice(1) is installed. The effect of this is kind of hard to measure objectively, but someone who feels like scratching this itch might be interested in testing it. ** Attachment added: "Patch for /etc/cron.daily/slocate to reduce the IO priority of updatedb if ionice(1) is installed" http://librarian.launchpad.net/7600284/slocate_cron.daily.diff -- slocate daily anacron job makes system feel slow https://bugs.launchpad.net/bugs/13671 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs