Karol 19:44, 13 February 2011 (EST)
BFQ Scheduler auto loading
Inspired by a forumpost i recommend to ad the following text and script to the Wiki at the end of section 2.2.5:
When using more than one kernel at the same system, you can use the following script in Template:Filename This will automitically load the BFQ Scheduler only when kernel26-ck is loaded. The BFQ status will be written to a logfile.
#Enable BFQ for precompiled kernel26-ck from the unofficial repository TID=$(date +%c) KERN=$(uname -r | cut -d"-" -f2) if [ "$KERN" == 'ck' ]; then modprobe bfq-iosched echo bfq > /sys/block/sda/queue/scheduler echo "$TID $(uname -r) with $KERN patch so started bfq for sda" >> /var/log/bfq.log else echo "$TID $(uname -r) no bfq loaded" >> /var/log/bfq.log fi