Skip to content

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.

  1. 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?

  2. 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.

0 points8 comments
Open on Reddit
About this post
Posted
Archived
Score
0 · 100% up
Kind
Text
ID
2ywidv

Author

21
posts
51
comments
1
media
View profile

8 comments

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.

0 points

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.

1 points

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.

2 points

Modules are parts of the kernel not loaded every time unless activated.

2 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.