[yocto] Build time data
Koen Kooi
koen at dominion.thruhere.net
Fri Apr 13 03:23:18 PDT 2012
Op 13 apr. 2012, om 11:56 heeft Tomas Frydrych het volgende geschreven:
> On 12/04/12 01:30, Darren Hart wrote:
>> Next up is storage.
>
> Indeed. In my experience by far the biggest limiting factor in the
> builds is getting io bound. If you are not running a dedicated build
> machine, it is well worth using a dedicated disk for the poky tmp dir;
> assuming you have cpu time left, this leaves the machine completely
> usable for other things.
>
>
>> Now RAM, you will want about 2 GB of RAM per core, with a minimum of 4GB.
>
> My experience does not bear this out at all; building Yocto on a 6 core
> hyper threaded desktop machine I have never ever seen the system memory
> use to get significantly over a 2GB mark (out of 8GB available), doing
> Yocto build using 10 cores/threads.
Try building webkit or asio, the linker will uses ~1.5GB per object, so for asio you need PARALLEL_MAKE * 1.5 GB of ram to avoid swapping to disk.
More information about the yocto
mailing list