Package: findutils Version: 4.2.31-1 Severity: wishlist
The attached patch suggests how to introduce I/O idle scheduling, by tuning the CFQ scheduler (available since kernel 2.6.13) through the ionice utility provided by the util-linux package (schedutils in Ubuntu). Thanks! -- a.m. -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.23.1 Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages findutils depends on: ii libc6 2.6.1-6 GNU C Library: Shared libraries findutils recommends no packages. -- no debconf information
--- debian/find-cron.daily 2007-10-28 20:30:00.000000000 +0100 +++ debian/find-cron.daily.orig 2007-10-28 20:33:48.000000000 +0100 @@ -5,6 +5,16 @@ # Written by Ian A. Murdock <[EMAIL PROTECTED]> and # Kevin Dalley <[EMAIL PROTECTED]> +# +# Set the task to run with "idle" I/O priority if possible +# Linux supports io scheduling priorities and classes since +# 2.6.13 with the CFQ io scheduler +# + +if [ -f /usr/bin/ionice ]; then +ionice -c3 -p$$ +fi + LOCALUSER="nobody" export LOCALUSER if [ -f /etc/updatedb.conf ]; then