You are not logged in.

#1 2008-08-05 01:48:50

pogeymanz
Member
Registered: 2008-03-11
Posts: 1,020

Will a custom kernel improve anything but boot time?

If I strip down a kernel, it wont help my overall system performance, will it?

(I realize that even if it does theoretically increase responsiveness, it most-likely wont be noticeable)

Also, what are these custom kernels floating around with -mm and -zen in the name? Why are they special?

Offline

#2 2008-08-05 01:55:45

whargoul
Member
From: Odense, Denmark
Registered: 2005-04-04
Posts: 546

Re: Will a custom kernel improve anything but boot time?

Read this http://wiki.archlinux.org/index.php/Ker … _Patchsets and this http://zen-source-org

But it helps to have custom build kernel. You can strip all those things out that you don't use, thus keeping it smaller in size and make it lighter in RAM. There is also a lot performance related patchsets, like -rt, -mm etc.


Arch - It's something refreshing

Offline

#3 2008-08-05 01:56:45

smurnjiff
Member
Registered: 2007-06-25
Posts: 211

Re: Will a custom kernel improve anything but boot time?

I recently compiled the latest git kernel.  My load avg decreased by about 0.15.  Great stuff.

Offline

#4 2008-08-05 02:02:02

pogeymanz
Member
Registered: 2008-03-11
Posts: 1,020

Re: Will a custom kernel improve anything but boot time?

whargoul wrote:

Read this http://wiki.archlinux.org/index.php/Ker … _Patchsets and this http://zen-source-org

But it helps to have custom build kernel. You can strip all those things out that you don't use, thus keeping it smaller in size and make it lighter in RAM. There is also a lot performance related patchsets, like -rt, -mm etc.

So, does the whole kernel stay loaded in RAM? Is that why it would be lighter in RAM?

Offline

#5 2008-08-05 05:45:33

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: Will a custom kernel improve anything but boot time?

Um, the Arch kernel is reasonably light, as almost everything is built as modules.

There's not really any point compiling custom kernels unless you need to patch for a feature you require or a hardware issue. Setup initcpio right and it'll be as fast as any self compiled kernel.

Offline

#6 2008-08-05 13:16:46

whargoul
Member
From: Odense, Denmark
Registered: 2005-04-04
Posts: 546

Re: Will a custom kernel improve anything but boot time?

iphitus wrote:

There's not really any point compiling custom kernels unless you need to patch for a feature you require or a hardware issue. Setup initcpio right and it'll be as fast as any self compiled kernel.

Maybe, but the last couple of days I have had a lot troubles getting a right setup for initcpio.


Arch - It's something refreshing

Offline

#7 2008-08-05 13:40:15

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: Will a custom kernel improve anything but boot time?

whargoul wrote:
iphitus wrote:

There's not really any point compiling custom kernels unless you need to patch for a feature you require or a hardware issue. Setup initcpio right and it'll be as fast as any self compiled kernel.

Maybe, but the last couple of days I have had a lot troubles getting a right setup for initcpio.

Just workout what modules you need for filesystem and ide/sata then you should be able to set those to MODULES="" in mkinitcpio.conf.  More complicated configurations will need more effort.

Offline

#8 2008-08-05 16:13:43

whargoul
Member
From: Odense, Denmark
Registered: 2005-04-04
Posts: 546

Re: Will a custom kernel improve anything but boot time?

iphitus wrote:
whargoul wrote:
iphitus wrote:

There's not really any point compiling custom kernels unless you need to patch for a feature you require or a hardware issue. Setup initcpio right and it'll be as fast as any self compiled kernel.

Maybe, but the last couple of days I have had a lot troubles getting a right setup for initcpio.

Just workout what modules you need for filesystem and ide/sata then you should be able to set those to MODULES="" in mkinitcpio.conf.  More complicated configurations will need more effort.

I have tried that, but I can't boot nevertheless. I can't even use the 'autodetect'  hook.


Arch - It's something refreshing

Offline

#9 2008-08-05 16:48:13

whargoul
Member
From: Odense, Denmark
Registered: 2005-04-04
Posts: 546

Re: Will a custom kernel improve anything but boot time?

Oh I figured it out. Apparently modules from kernel26tp was build into the kernel26's image. Still, I need udev to boot. Does the 'resume' hook depend on  the 'udev' hook?

Last edited by whargoul (2008-08-05 16:54:04)


Arch - It's something refreshing

Offline

Board footer

Powered by FluxBB