Re: [RFC/PULL 00/11] introduce export.h; reduce module.h usage

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

 



* Paul Gortmaker <paul.gortmaker@xxxxxxxxxxxxx> wrote:

> >  - how much does this actually improve compile times (for a 
> > "normal" build or a "allmodconfig" one)?
> 
> Let me run some "real world" use cases and get back to you in a 
> couple of hours with that.  But Ingo's testing on a much earlier 
> snapshot was showing roughly a couple percent.  ( 
> https://lkml.org/lkml/2011/5/28/60 )

I found that it's pretty hard to measure these things accurately and 
reliably, kernel build times are very noisy.

Note that you can use my numbers to estimate expected savings: just 
build before/after .i files in a common directory like kernel/*.c and 
measure their combined size. The size decrease of the preprocessor 
output scales almost linearly with runtime.

You could standardize on that kind of metric "these patches decrease 
preprocessor output by 0.5%" - those translate almost 1:1 into 
compile time speedups, and you don't really have to re-measure 
compile times every time you come up with such patches.

Thanks,

	Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-arch" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel]     [Kernel Newbies]     [x86 Platform Driver]     [Netdev]     [Linux Wireless]     [Netfilter]     [Bugtraq]     [Linux Filesystems]     [Yosemite Discussion]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]

  Powered by Linux