Re: Why build kernel for minimum size?

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

 



Steve Snyder wrote:
> I notice that the FC2 kernels are built for size, not speed.  (The config 
> option for compiling for size is selected.)
> 
> What is the thinking behind this?  Is the configuration biased toward 
> low-memory systems?  Are there CPU cache considerations that effective 
> make a small build (-Os) faster than a more optimized (-O2) build?

The latter: plus the kernel is a rather specialised application, that is
tuned with (at least) one eye on what gcc produces, which mean that
there isn't the opportunity for -O2 to do much good (but it will bulk
out the code).

James.

-- 
E-mail address: james |    "Just for once, I wish we would encounter an
@westexe.demon.co.uk  | alien menace that wasn't immune to bullets..."
                      |     -- The Brigadier, 'Doctor Who'



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux