You are not logged in.
Anyone tried this yet?
Offline
It looks like it patches against 2.6.37 at least, and I only know of one kernel26-* package in the AUR that is there currently. So no, you'd probably have to wait a bit.
Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.
Offline
I am compiling right now. If it works as described I'll make a AUR package myself. 10x improvement is not something I'd wait for too long.
Offline
Hello,
Has anyone tried to run custom kernel with the patch mentioned in this phoronix article: http://www.phoronix.com/scan.php?page=a … 2637_video ?
Does this patch really "does wonders" or at least makes a difference in responsivenes of linux desktops?
Last edited by praavDa (2010-11-16 16:13:38)
gvim -c "exec \"normal itYNQ#v'Z#ABG#GUR#BAYL#BAR\"|%s/#/ /g|normal ggVGg?ggVG~"
Offline
looks promising! If this can be integrated without any flaw....yeaharr let's compile it baby! but will this patch useful for older processors ( < I 3/5/7 )?
Further...is there any place to get this patch or do we have to copy it from this mail-list ?
Offline
I wouldn't touch this just yet -- though the idea appears to be sound, it's still in need of some polishing. Read the LKML thread if you want more detail. If you just want to skip ahead to where the problems are discovered, start here.
edit: Didn't bother to look at the dates on the LKML thread... Silly me. I'd still be careful as there's at least a half dozen versions of the patch on that thread, some of them with evil repercussions, and who knows what else will show up. This is certainly something to look forward to for 2.6.38, though.
Last edited by falconindy (2010-11-16 17:06:03)
Offline
Hi,
does anyone know if this does any good for low-perfomance cpus ? I currently use kernel26-n130 ( CK patchset) on an atom cpu.
Any ideas how CK and Mike Galbraith's compare? or if comparison makes sense ?
Offline
The new patch is for group scheduling under CFS, correct? Does anyone know if this patch will work under BFS? I think BFS only has a priority group and a standard group?
Offline
I am compiling right now. If it works as described I'll make a AUR package myself. 10x improvement is not something I'd wait for too long.
And crocowhile? Share the magic . . .
Offline
Where is compiled Arch kernel with this patch?
Offline
crocowhile wrote:I am compiling right now. If it works as described I'll make a AUR package myself. 10x improvement is not something I'd wait for too long.
And crocowhile? Share the magic . . .
I guess it didn't go too well
Arch linux
Offline
aha. no, I am still alive. The kernel is compiled but I didn't have time to start it up and compare yet. A small baby with a stomach bug is incompatible with any form of kernel hacking. Also, the computer I have at home is old; at work I have a i7 and I better try that one anyway.
Offline
aha. no, I am still alive. The kernel is compiled but I didn't have time to start it up and compare yet. A small baby with a stomach bug is incompatible with any form of kernel hacking. Also, the computer I have at home is old; at work I have a i7 and I better try that one anyway.
Sorry to hear abt the baby, but...you're not going to keep us waiting till tomorrow, are you?? Got a PKGBUILD to share?
Arch linux
Offline
^^
Here you go
1. git clone git://kernel.org/sources (use the actual url, I dunno what it is off the top of my head)
1.5: make xconfig
2. make -jX
3. make modules install
4. cp arch/${ARCH}/bzImage /boot/bzImage-2010-11-16-git
5. mkinitcpio --with-your-needed-options
6. Edit menu.list
Bang, bang, boom
Last edited by pyther (2010-11-16 22:54:45)
Offline
Zen-kernel and liquorix should have picked the patch up by now but unfortunately the site is down ....
Ah, good taste! What a dreadful thing! Taste is the enemy of creativeness.
Picasso
Perfection is reached, not when there is no longer anything to add, but when there is no longer anything to take away.
Saint Exupéry
Offline
The patch isn't in 2.6.37-rc2 as per the article. Have a look at the kernel's source code and you'll see that the files the patch modifies aren't changed (yet).
These are the files the patch changes from http://marc.info/?l=linux-kernel&m=128978361700898&w=2
---
Documentation/kernel-parameters.txt | 2
drivers/tty/tty_io.c | 1
include/linux/sched.h | 19 ++++
init/Kconfig | 12 +++
kernel/fork.c | 5 +
kernel/sched.c | 25 ++++--
kernel/sched_autogroup.c | 140 ++++++++++++++++++++++++++++++++++++
kernel/sched_autogroup.h | 18 ++++
kernel/sysctl.c | 11 ++
9 files changed, 224 insertions(+), 9 deletions(-)
So, you just have to create it manually. Simply copy and paste into a text file beginning with the line 'Index: linux-2.6/include/linux/sched.h' to the end.
The build procedure should be the same after you get, extract, and apply the patch.
$ cd to your linux source
(Assuming you have created the patch file called patch.txt in the parent of where you just extracted the kernel sources).
$ patch -p1 < ../patch.txt
patching file include/linux/sched.h
Hunk #3 succeeded at 1935 (offset -1 lines).
patching file kernel/sched.c
Hunk #2 succeeded at 616 (offset 10 lines).
Hunk #3 succeeded at 2020 (offset 10 lines).
Hunk #4 succeeded at 7967 (offset -17 lines).
Hunk #5 succeeded at 8497 (offset -17 lines).
Hunk #6 succeeded at 8522 (offset -17 lines).
patching file kernel/fork.c
patching file drivers/tty/tty_io.c
patching file kernel/sched_autogroup.h
patching file kernel/sched_autogroup.c
patching file kernel/sysctl.c
patching file init/Kconfig
patching file Documentation/kernel-parameters.txt
Last edited by slytux (2010-11-17 04:45:50)
Offline
Running 2.6.37-rc2 with this patch now (http://mail.kazgrid.kz/repo/i686/kernel … pkg.tar.xz)
How do I check, whether this patch is working or not?
make -j64 and Youtube shows videos nice
Last edited by crayxt (2010-11-17 09:24:23)
Всем выйти из Сумрака!!!
Уважение - это когда чтобы поприветствовать человека вытаскиваешь оба наушника.
my blog
Offline
Running 2.6.37-rc2 with this path now (http://mail.kazgrid.kz/repo/i686/kernel … pkg.tar.xz)
How do I check, whether this patch is working or not?
make -j64 and Youtube shows videos nice
cat /proc/sys/kernel/sched_autogroup_enabled
(I take it from a forum)
Last edited by snoopy33 (2010-11-17 09:21:48)
Offline
$ cat /proc/sys/kernel/sched_autogroup_enabled
1
Всем выйти из Сумрака!!!
Уважение - это когда чтобы поприветствовать человека вытаскиваешь оба наушника.
my blog
Offline
I've applied it on 2.6.37-rc2 (the dev of this patch applied it on 2.6.36), I can say that it works great.
With make -j64 I can browse, listen to music and all of that without hickups. Swap stays relatively small (~10MB)
Without this patch the whole desktop becomes totally unusable, I barely can close the browser, swap goes skyhigh...
We will se what will become of this
Offline
Zen stable git has included the patch 3 days ago
http://git.zen-kernel.org/zen-stable/log/?h=cfs
But we BFS users don't care
zʇıɹɟʇıɹʞsuɐs AUR || Cycling in Budapest with a helmet camera || Revised log levels proposal: "FYI" "WTF" and "OMG" (John Barnette)
Offline
As nobody seems to tell how they built the wonderous kernel, here's my way. This is a first time I build a kernel under arch, so ymmv, things can be done better, yada yada, hope it helps somebody.
1. built and installed linux-firmware-git from AUR,
2 - 5. took a source package of kernel26-git (yaourt -G kernel26-git), mkdir patches, pasted the magic patch into patches/magic.patch, and makepkg -i.
In the menuconfig checked "Automated process group scheduling", exited menuconfig and waited... waited... waited...
6. In /boot/menu/grub.conf copied and pasted the first entry to a new one,
title Das Experiment
root (hd0,0)
kernel /vmlinuz26-git root=/dev/disk/by-uuid/b53854c4-f022-437a-a53d-580f288fdc6b ro
initrd /kernel26-git.img
7. Rebooted, select Das Experiment at the grub prompt
8. cursed a bit, switched to nouveau
9. profit!
Offline
Offline
@madgnu
The link seems broken.
Running ArchLinux on Compaq Presario v2000
Offline
@madgnu
The link seems broken.
Works for me.
--
JSkier
Offline