[En-Nut-Discussion] Off-topic - Building Nut/OS fast...very fast

Harald Kipp harald.kipp at egnite.de
Tue Jul 19 17:41:43 CEST 2011


Hi Nathan,

On 7/19/2011 4:26 PM, Nathan Moore wrote:
> "Oh now!  I did a 'make clean'"

:-)


> I'm not sure why this was so slow, but I suspect that it had to do with
> triggering
> GUI updates so that Explorer would display the changes to the filesystem as

On Win7 a lot of strange things are happening in the background. So I
tried to disable all this stuff for the SSD by following several advices
in the web, e.g.

http://www.pc-experience.de/wbb2/thread.php?threadid=30040/

The gain was marginal and I still can see, that system processes are
interfering.


> Another thing you might try is to do your builds on a FAT32 partition.

That looks like a good idea to me.


> As far as RAM, I'd just suggest more of the cheap stuff unless you find that
> your RAM
> is really crappy.

This is my experience too, so I never got any higher priced RAM to
compare. :-)


> make -j
> with no number lets make decide how many jobs to use, which I found works
> well.

As mentioned in my response to Thiago: If everything builds well, this
is really fast. If builds fail, the output is mangled by parallel
processes. If it builds well, I didn't care much. If several commits
introduce several failures, analyzing the logs can be quite time
consuming, as it has to be done by a human.


> I'm not sure how the build directories are set up now, but having a
> different directory

Yes, there's a specific directory for each target and each toolchain.

Thanks,

Harald



More information about the En-Nut-Discussion mailing list