Messages in this thread | | | From | Paul Mackerras <> | Date | Sat, 4 May 2002 18:03:54 +1000 (EST) | Subject | Re: kbuild 2.5 is ready for inclusion in the 2.5 kernel |
| |
I wrote:
> I seriously doubt that last statement. Building the global makefile > takes about 20 seconds on the box I compile on. On a kernel tree > without object files I can read all the files in the kernel tree in > about 0.8 seconds, and I can calculate an md5sum of every file in 3.2 > seconds. I can do an md5sum of all the Makefile.in's in 0.1 seconds. > This is with pp_makefile* compiled with -O2 -DNDEBUG=1.
I made a mistake, the time to build the global makefile is in fact around 12 seconds with -O2 -DNDEBUG=1. And I should point out that this is a machine with enough RAM to keep the whole kernel tree in memory (so disk bandwidth is not an issue).
I still think that the time to build the global makefile is big enough and obvious enough that many people (including myself) will want to see it optimized, either by making the process itself more efficient or by caching the result and re-using it where possible.
Paul. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |