[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Why compiling.



Am Mittwoch, 11. Juli 2012 schrieb Kumar Appaiah:
> On Tue, Jul 10, 2012 at 08:54:29AM -0700, Mike McClain wrote:
> > The kernel provided when you install Linux, Debian included, has to
> > work on nearly every system out there so it includes drivers for
> > nearly piece of hardware that can be installed in a PC.
> > 
> > I always compile a kernel with only the hardware I have in my
> > computer. This gives me a smaller memory footprint and a smaller
> > disk footprint.
> 
> I'd like to get some proof of this. For many years, the Linux kernel
> has been modular, and, barring some filesystem support and similar,
> almost all hardware support is achieved by means of loadable
> modules. So, a module is loaded only if you have the hardware which
> has a need for it. This is why a stock Debian kernel will load the
> driver for just an Intel sound card if you have one, and not drivers
> for any other brands. However, tomorrow, when you switch out the sound
> card, the same kernel can support the new sound card without needing a
> rebuild.
> 
> Please correct me if I have missed something here.

I agree here.

I do not think that building lots of modules raises boot time or memory 
footprint if they are not loaded.

-- 
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA  B82F 991B EAAC A599 84C7


Reply to: