Talk:Linux-ck

From ArchWiki
Revision as of 20:37, 24 July 2011 by Xclaude (Talk | contribs) (BFQ Scheduler auto loading: new section)

Jump to: navigation, search

kernel26-ck-atom

Atom N270 and N280 do not support Intel64, but Atom 230 does. That means N270 can't run 64-bit code.

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