[oe] Using bitbake in minimal chroot environment

Koen Kooi k.kooi at student.utwente.nl
Mon Feb 15 22:15:59 UTC 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 15-02-10 23:04, Tom Rini wrote:
> On Mon, 2010-02-15 at 19:43 +0100, Koen Kooi wrote:
> 
> [snip]
>> On a recent intel/amd cpu VMs I can't measure much difference between VM
>> and non-vm builds.
>> My main buildmachine at work is an ubuntu 8.04LTS vm running under
>> windows XP. The only major speedup I can get building in a native
>> install would be using 64bit, since the VM is 32 bit, but it does expose
>> both CPU cores :)
> 
> What are you (and everyone else saying it's fine) running the VM with?
> I've got people reporting just unusable build times inside VMs on what
> should be reasonable hardware.  That said, I've profiled some builds and
> seen that IO is not a bottleneck (stuff like waiting for virtual/libc to
> stage and gcc-cross to get populated is).

I'm using virtualbox on a Dell D630 (core2duo, 4GB of ram) laptop. I
managed to cut 2 hours (yes, hours) of the buildtime by moving lots of
stuff to new style staging. With a big tmpdir (6 machines, 2 different
archs, lots of machine specific stuff) old-style staging takes eons to
stat every file and build a list.
Using virtualbox on a 2GB osx machine isn't running so hot because OSX
seems to go out of its way to put the VM in swap instead of ram :(

regards,

Koen

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFLecefMkyGM64RGpERAmLWAJ0dsBhzCnV86Z/rxJKVVGMUS+4q2wCfTPZb
ykkNNSvTlPN2ZEIQT8xgfqY=
=PZD0
-----END PGP SIGNATURE-----





More information about the Openembedded-devel mailing list