New Arch installation with custom kernel
I got a new hard drive for my laptop and decided, instead of porting my current installation of Arch to install it all from scratch.
I intend to use "Linux-pf" as my kernel, and for optimized performance I wish to compile it under my current installation, and install the newly-compiled version on the fresh Arch installation.
-
What do you think? When would it be the best time to install the new kernel? would it work better if installed straight after the base package, and before nearly any configuration took place, or should I properly configure the system and install the new kernel after everything works?
-
I've been trying to look for a guide that would take me through all of the configuration options of linux-pf. Anyone here running Linux-pf or have a tutorial about optimizing the kernel?
Thanks.
About this post
- Posted
- Archived
- Score
- 0 · 100% up
- Kind
- Text
- ID
- 2ywidv
8 comments
just use localmodconfig and linux-pf or linux-ck kernel from the AUR and be done. Not hard...
https://wiki.archlinux.org/index.php?title=Modprobed-db&redirect=no
If you want to compile, you might want to consider Gentoo or LFS. The performance gains are likely going to be minimal since it's hardware-limited at the end of the day.
Whoa, Gentoo? I'm not there yet. I just want a kernel that wouldn't have to load modules that I'd never use, while offering teaks that would boost it's performance. Having it per-compiled, if I understand it right, is meant to offer more flexibility in customizing it rather than building a machine-specific piece of software.
I would install the new kernel after everything is setup, so you have a system you work with. It should not matter when you do it, since it doesn't really affect any other software.
However the kernel should not load modules it is not using, so you won't really gain any speed.
I'd recommend the linux-ck kernel and in turn the repo-ckrepository. On a first look it includes nearly the same patches und it is available precompiled in a few version targeting specific cpus. So basically what you want to accomplish.
Modules are parts of the kernel not loaded every time unless activated.