Minimal Kernel Config for a F14 KVM guest

agraham agraham at g-b.net
Fri Jul 1 15:01:32 UTC 2011


On 07/01/2011 04:12 AM, Dave Quigley wrote:
> Hello,
>      I will be teaching a one day class in a few weeks and I am going to
> have the students do some kernel programming. Since it is only a one day
> course I need to pack as much info into it as possible so I would like
> to minimize the build times as much as possible. The modifications that
> they will be making will be touching core kernel headers so it will have
> to rebuild almost all of the kernel every time. Because of this I'd like
> to get a kernel config that can get F14 booting (the minimal install) in
> KVM with the shortest build time possible. I've gotten the build down to
> 9 minutes and 55 seconds but I would like it sub 5 minutes. Does anyone
> have or know of a place where I can find a bare minimum config. I've
> been working on trimming down the stock F14 kernel but there is so much
> to go through I'm thinking it might be best to build it up from an
> allnoconfig instead.
>
> Dave

When making the kernel use make -j8 (assuming you have 8 cores) that 
should reduce your time by running 8 parallel processes, in addition, 
install ccache, that only compiles the code if it has changed or is 
dependant on some other change, this should result in recompile of only 
a few mins.

Albert.



More information about the users mailing list