Thursday, September 24, 2009

AUR new brainfuck bfs scheduler archlinux install - feels fast as hell

AUR

http://aur.archlinux.org/packages.php?ID=29842 download the tarball

pacman -S base-devel

edit /etc/makepkg.conf and set the -j to your number of cpu
for me with 1 cu hyperthreaded [2 total] this meant: MAKEFLAGS="-j2"

tar xvfzm the tarball, cd into it, do a makepkg -s --asroot, install the package with pacman -U

now carefully edit grub, adding a new (0) option and incrementing the other 2; then reboot:
# cat /boot/grub/menu.lst
# (0) Arch Linux
title Arch Linux
root (hd0,0)
kernel /vmlinuz26-bfs root=/dev/disk/by-uuid/e594fe32-a76e-4a03-a9bf-2e16743a5869 ro
initrd /kernel26-bfs.img

# (1) Arch Linux
title Arch Linux
root (hd0,0)
kernel /vmlinuz26 root=/dev/disk/by-uuid/e594fe32-a76e-4a03-a9bf-2e16743a5869 ro
initrd /kernel26.img

# (2) Arch Linux
title Arch Linux Fallback
root (hd0,0)
kernel /vmlinuz26 root=/dev/disk/by-uuid/e594fe32-a76e-4a03-a9bf-2e16743a5869 ro
initrd /kernel26-fallback.img


It feels much faster on my p4 3.0ghz hyperthread [2 virt cpu] with 4g ram [3168m visible to os]
$ uname -a
Linux 2.6.31-bfs #1 SMP PREEMPT Thu Sep 24 20:14:02 PDT 2009 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz GenuineIntel GNU/Linux

go con!
http://www.linux-magazine.com/Online/News/Con-Kolivas-Introduces-New-BFS-Scheduler

No comments: