Bug#652547: Support of altering *both* IO and CPU scheduler priorities in checkarray script

Sergey B Kirpichev skirpichev at gmail.com
Sun Dec 18 13:28:13 UTC 2011


Package: mdadm
Severity: wishlist

Hello,

This can be useful at least in some workloads and/or for some
raid types (cpu-intensive, e.g. raid5).

You can take look on /usr/sbin/raid-check in
CentOS (quoted below).  $NICE variable looks like
an exact opportunity for --high/--low/--idle switches:
-->8--
ionice=""
renice=""
case $NICE in
    high)
	renice="-n -5"
	;;
    low)
	renice="-n 5"
	ionice="-c2 -n7"
	;;
    idle)
	renice="-n 15"
	ionice="-c3"
	;;
    *)
	;;
esac
-->8--





More information about the pkg-mdadm-devel mailing list