Difference between revisions of "Talk:Linux-ck"

From ArchWiki
Jump to: navigation, search
(BFQ Scheduler auto loading: new section)
(Enabling BFQ selectively section: new section)
(13 intermediate revisions by 6 users not shown)
Line 1: Line 1:
= kernel26-ck-atom =
 
[http://en.wikipedia.org/wiki/List_of_Intel_Atom_microprocessors#Single-Core_Netbook_processors Atom N270 and N280] do not support Intel64, but Atom 230 does. That means [https://wiki.archlinux.org/index.php?title=Kernel26-ck&diff=130852&oldid=130834 N270] can't run 64-bit code.
 
 
[[User:Karol|Karol]] 19:44, 13 February 2011 (EST)
 
 
 
== BFQ Scheduler auto loading ==
 
== 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:
 
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 {{Filename|/etc/rc.local}}
+
When using more than one kernel at the same system, you can use the following script in {{ic|/etc/rc.local}}
 
This will automitically load the BFQ Scheduler only when kernel26-ck is loaded. The BFQ status will be written to a logfile.
 
This will automitically load the BFQ Scheduler only when kernel26-ck is loaded. The BFQ status will be written to a logfile.
  
Line 21: Line 16:
 
  echo "$TID $(uname -r) no bfq loaded" >> /var/log/bfq.log
 
  echo "$TID $(uname -r) no bfq loaded" >> /var/log/bfq.log
 
  fi
 
  fi
 +
 +
:Thanks for the suggestion.  I modified the linux-ck package to actually compile in the BFQ (just not enabled by default).  Once CK and Paolo get release their respective patches for 3.0.1, I'll update the repo and the wiki page.  Thanks for the re-direct btw! [[User:Graysky|Graysky]] 17:12, 8 August 2011 (EDT)
 +
::It seems like BFQ was not compiled into linux-ck-core2 3.0.1-3 ("zcat /proc/config.gz | grep BFQ" shows nothing, and I'm running the -ck kernel).[[User:Jimreynold2nd|Jimreynold2nd]] 14:44, 15 August 2011 (EDT)
 +
:::Right, that's because BFQ for 3.0 does not yet exist.  Paolo hasn't released the code for the 3.0 series :)  I will update as soon as he does. [[User:Graysky|Graysky]] 04:32, 16 August 2011 (EDT)
 +
 +
== Enabling BFQ selectively section ==
 +
 +
This section should be updated: you say to put the "echo bfq" command in rc.local...there is no more support for it, and there is:
 +
1)the systemd-way -> tmpfiles
 +
2)the udev-rule way.
 +
 +
May be you should report both, or choose what do you think is the best, i trust you!
 +
 +
Thanks for your time (i preferred to open  discussion rather than change it myself, did i the right thing?)

Revision as of 16:54, 15 October 2012

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 /etc/rc.local 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
Thanks for the suggestion. I modified the linux-ck package to actually compile in the BFQ (just not enabled by default). Once CK and Paolo get release their respective patches for 3.0.1, I'll update the repo and the wiki page. Thanks for the re-direct btw! Graysky 17:12, 8 August 2011 (EDT)
It seems like BFQ was not compiled into linux-ck-core2 3.0.1-3 ("zcat /proc/config.gz | grep BFQ" shows nothing, and I'm running the -ck kernel).Jimreynold2nd 14:44, 15 August 2011 (EDT)
Right, that's because BFQ for 3.0 does not yet exist. Paolo hasn't released the code for the 3.0 series :) I will update as soon as he does. Graysky 04:32, 16 August 2011 (EDT)

Enabling BFQ selectively section

This section should be updated: you say to put the "echo bfq" command in rc.local...there is no more support for it, and there is: 1)the systemd-way -> tmpfiles 2)the udev-rule way.

May be you should report both, or choose what do you think is the best, i trust you!

Thanks for your time (i preferred to open discussion rather than change it myself, did i the right thing?)