Kernel Recompilation/Optimization
I'd like to experiment with trimming out all the drivers, programs, and services on a few linux laptops I have laying around so as to optimize (speed them up) specifically for my hardware.
Can anyone recommend a howto or walk-through that demonstrates how to optimize and recompile a kernel (./configure options, etc). I searched around for a few days but wasn't able to find anything with any depth. I understand that LFS is a possibility but I'd prefer to work from an existing system. Does anyone here have experience recompiling kernels? Can doing this vastly improve system performance compared to a default distro installation? Thanks! |
Most recent distros use modular kernels. That means that only the parts needed to support the current hardware and services are loaded. The only savings you would get with a custom kernel is a few megabytes of disk space. On the downside, you would have to recompile a kernel for every piece of hardware you added. In short, don't bother trying to optimize the kernel.
You can get some significant savings by shutting down services you don't need. In a root terminal on Fedora, for example, you can run: Code:
chkconfig --list | grep 5:on Code:
chkconfig <service name> off |
Quote:
Thanks! |
All times are GMT -5. The time now is 09:29 AM. |