I added the following patch to my slocate on my edgy system. I also used class 2 and priority 7.
It has made my system much better behaved, so much so that I no longer notice what slocate is started 15mins or so after I boot up (it doesn't run 24/7) diff -u -r1.1 slocate --- slocate 2007/08/02 18:12:30 1.1 +++ slocate 2007/08/02 18:35:08 @@ -1,4 +1,5 @@ #! /bin/sh +ionice -c2 -n7 -p$$ if [ -x /usr/bin/slocate ] then -- updatedb cron job should make use of ionice https://bugs.launchpad.net/bugs/134692 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs