You are not logged in.
Does bfq enable by default in repo packages? Because i don't make any changes but in kernel log it say bfq is default.
Offline
seems like bfq is not quite ready.
dmesg: http://pastebin.com/R813xB9a
Arch64/DWM || My Dropbox referral link
Offline
Does bfq enable by default in repo packages? Because i don't make any changes but in kernel log it say bfq is default.
It should not be enabled by default. Can someone else confirm? I can't reboot right now or else I would
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
BFQ is no longer a module, I only enabled it from the kernel line on boot.
Proud Arch Linux user since 2007.
Offline
It's the default scheduler for both of my computers (kernel-ck-k8 x86_64, kernel-ck-atom i686), though it seems to have okay performance unlike last time I tried it.
Offline
@twilight0 - correct, it is not a module, it is now available hardcoded as an option like the other 3.
@sossi and Zom - thanks for the info and for the confirmation. I have fixed the minor PKGUBILD error that caused this in the 3.0.4-3 release (which just hit the AUR). I will rebuilt for the repo and update accordingly.
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
sossi wrote:Does bfq enable by default in repo packages? Because i don't make any changes but in kernel log it say bfq is default.
It should not be enabled by default. Can someone else confirm? I can't reboot right now or else I would
I don't know exactly how to test it. Does this log mean its enabled by default?
sxe@main ~ $ dmesg |grep bfq
[ 0.003175] Initializing cgroup subsys bfqio
[ 1.185936] io scheduler bfq registered
Offline
@sxe - no need, problem fixed with the 3.0.4-3 release. FYI, "cat /sys/block/sda/queue/scheduler"
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
Hi graysky, thx for the quick reply (and your work on packaging this of course).
Here is what i get:
sxe@main ~ $ sudo cat /sys/block/sdb/queue/scheduler
noop deadline [cfq] bfq
I guess this means that bfq is an option but not enabled for that device?
Is it still valid, that the preferred way to enable bfq for all devices you have to add "elevator=bfq" to your kernel line in menu.lst?
Last edited by sxe (2011-09-24 09:16:58)
Offline
@sxe -
1) which version of the package are you using -- 3.0.4-1, 3.0.4-2, or 3.0.4-3?
2) Did you compile it yourself from the AUR or download from the repo?
To answer your question, yes and refer to the wiki (link in my sig) for an alternative method.
Last edited by graysky (2011-09-24 09:40:34)
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
Ah ok, the wiki says it all now. The last time i checked it, that information was missing. Thx
edit:
sxe@main ~ $ sudo cat /sys/block/sdb/queue/scheduler
Password:
noop deadline cfq [bfq]
works.
Last edited by sxe (2011-09-24 11:06:41)
Offline
1) which version of the package are you using -- 3.0.4-1, 3.0.4-2, or 3.0.4-3?
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
Ah sry, i thought that is not interisting anymore since i get it to work. I'm using the "repo-ck/linux-ck-corei7 3.0.4-3".
Offline
@sxe - thanks for the info, just wanting to make sure my fix works on other cpu types. I can only test core2 and generic here.
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
Hi,
with an Intel Pentium SU4100 (link) should I install the linux-ck-core2 package or the linux-ck-p4?
Laptop: Acer Aspire S3 | Linux Mint Cinnamon 64-bit
Offline
Hi,
with an Intel Pentium SU4100 (link) should I install the linux-ck-core2 package or the linux-ck-p4?
Dunno... what does the following command return for march and mtune?
gcc -c -Q -march=native --help=target | grep march
gcc -c -Q -march=native --help=target | grep mtune
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
I am Gianluca wrote:Hi,
with an Intel Pentium SU4100 (link) should I install the linux-ck-core2 package or the linux-ck-p4?Dunno... what does the following command return for march and mtune?
gcc -c -Q -march=native --help=target | grep march gcc -c -Q -march=native --help=target | grep mtune
Them give me:
[gianluca@gianluca-laptop ~]$ gcc -c -Q -march=native --help=target | grep march
-march= core2
[gianluca@gianluca-laptop ~]$ gcc -c -Q -march=native --help=target | grep mtune
-mtune= core2
Laptop: Acer Aspire S3 | Linux Mint Cinnamon 64-bit
Offline
The latest version is not playing nice:
$ sudo cat /sys/block/sdb/queue/scheduler
cat: /sys/block/sdb/queue/scheduler: No such file or directory
$ sudo echo bfq > /sys/block/sda/queue/scheduler
bash: /sys/block/sda/queue/scheduler: Permission denied
$ pacman -Qs linux-ck
local/linux-ck-corei7 3.0.4-3 (ck-corei7)
I already have it set to enable from GRUB2 as well.
Offline
The latest version is not playing nice:
$ sudo cat /sys/block/sdb/queue/scheduler
cat: /sys/block/sdb/queue/scheduler: No such file or directory
Do you have a device called sdb then?
$ sudo echo bfq > /sys/block/sda/queue/scheduler
bash: /sys/block/sda/queue/scheduler: Permission denied
Redirects like these don't work with sudo.
$ pacman -Qs linux-ck
local/linux-ck-corei7 3.0.4-3 (ck-corei7)I already have it set to enable from GRUB2 as well.
Good for you. You didn't post how you enabled it from GRUB2 though, so we don't know whether you did it correctly or not.
FWIW, it works just fine here with atom- and k8-kernels.
Offline
b9anders wrote:The latest version is not playing nice:
$ sudo cat /sys/block/sdb/queue/scheduler
cat: /sys/block/sdb/queue/scheduler: No such file or directoryDo you have a device called sdb then?
Weird, I am sure I simply copypasted the command from the wiki to terminal (and from there to here). My fault of course for not looking at it properly.
It gives the expected output with sda in place of sdb.
Redirects like these don't work with sudo.
And that would explain why this didn't work. Works just fine from root.
Two unrelated mistakes here to create one mistaken impression.
Thanks for the clearup.
Last edited by b9anders (2011-09-27 17:20:46)
Offline
@I am Gianluca - looks like you want the core2 packages.
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
Hello graysky or anyone who can answer this,
I had read a lot about these patches the linux-ck kernel uses and that it would improve performance. I have since recently installed it and thanks to the wiki I succeeded immediately (first time using a non-stock kernel, on any distro) but, I don't really notice any improvements. Could someone perhaps elaborate on exactly what improvements I could expect and what not? I'm sorry if the answers are available out on the web already, but most Google searches turned on pages with all sorts of terms and language I don't understand, so I'm asking here hoping someone could explain it on a somewhat noob-proof level.
If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres
Offline
Hello graysky or anyone who can answer this,
I had read a lot about these patches the linux-ck kernel uses and that it would improve performance. I have since recently installed it and thanks to the wiki I succeeded immediately (first time using a non-stock kernel, on any distro) but, I don't really notice any improvements. Could someone perhaps elaborate on exactly what improvements I could expect and what not? I'm sorry if the answers are available out on the web already, but most Google searches turned on pages with all sorts of terms and language I don't understand, so I'm asking here hoping someone could explain it on a somewhat noob-proof level.
Most of the improvements aren't actually regarded to performance. They're there to make your desktop more responsive. This isn't a magic patch that makes your CPU go into a hidden turbo mode, it just prioritizes stuff differently.
The best way to test it IMO is to try doing many things at once. Start a compile, some music, and try watching a flash video. Your desktop should still be responsive. Heck, you can start 64 make jobs and still watch a movie without any real effect on the viewing experience. That said, the performance must come from somewhere, so while CFQ (probably) would finish that compile faster, it would also make the movie stutter, drop frames or hang (most likely the latter).
There's also some improvements regarding battery life, but most of the patch is geared towards a responsive desktop rather than anything else.
That said, even though the focus is primarily towards responsiveness, I haven't actually noticed any drawback in performance, things like compile times. In theory, they should be a bit longer, since they can no longer hog the CPU as they'd like.
This is just AFAIK of course, so I could be pretty damn wrong. I'm sure someone will set me straight then.
Offline
Oh I see.. but I never do that many stuff at once will use it some longer to see if I notice anything worth keeping it for! Thank you
If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres
Offline
@Unia - Compiling anything + web browsing is enough reason to use BFQ. If you're on a laptop, that alone is enough reason to use BFS (better battery life). Using any multithread app such as video encoding is enough reason to use BFS.
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline