Answer the question
In order to leave comments, you need to log in
What kernel tuning strategy should a Gentoo newbie adopt?
Despite the fact that my question in the subject suggests the contents of a FAQ, however, a satisfactory answer was not found.
I'm a beginner and just reading a handbook, experimenting in a virtual machine on VmWare along the way and trying to install Gentoo amd64 from the last minimal disk as of yesterday. The main goal is to get comfortable and put on my home Lenovo ThinkPad Edge E120.
At the moment, I have reached the kernel configuration, i.e. to the lines in the headbook:
# cd /usr/src/linux
# make menuconfig
Answer the question
In order to leave comments, you need to log in
emerge sys-kernel/gentoo-sources
emerge sys-kernel/genkernel
zcat /proc/config.gz >> /usr/src/linux/myconfig
genkernel all --menuconfig
load your config from file
myconfig You'll be able to figure out a little about what's needed and what's not.
Then, you can leave the default settings - you should have enough. And so - there are quite intelligible descriptions of each of the settings, and on the Internet you can find out the details.
So if you are interested in learning more deeply, then read and dig, if you are not interested, then it is not clear why you need gentoo)
Read at your leisure, well, and the previous part
Nuclear physics for housewives v.3
www.unix-lab.org/posts/kernel-v3
Also do not forget to enable devtmpfs and cgroups
You just need to sequentially look through all the settings that are in the kernel in order to at least begin to navigate in it, to understand what is needed and what is not. In addition, there is help for each parameter (often the words “if in doubt, choose yes” are written there). The main thing is that you have already decided what configuration you want to put in the kernel.
and also, so that the network interfaces would be called the old way, add "net.ifnames=0" to the kernel line in grub
Boot from the LiveCD, check if everything works (network, graphics, LVM, etc.), If everything is in order and you don't have exotic hardware, then see what modules are loaded (lsmod). Create default config, add missing modules from the list. Should earn. Well, then you can experiment.
In fact, there are not as many necessary settings in the kernel as it seems. Over 70% are hardware drivers that you will most likely never encounter.
Don't forget to turn on UEVENT, Xs hook input devices through it (you can do it the old fashioned way).
You can add the experimental flag to the kernel. Then a patch with BFS (a smart scheduler from a well-known anesthesiologist) will be applied to the core, an indispensable thing for the desktop.
Well, read about systemd, although it is scolded, it is faster than OpenRC.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question