I'm using BuildRoot to build root filesystem images, from within VirtualBox. The builds are very slow.
Is there any advantage to running "make -j2" in the virtual machine? The /proc/cpuinfo from within the virtual machine is:
smachin@smachin-ubuntu:~/neo-build/rfs$ cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 58 model name : Intel(R) Core(TM) i7-3687U CPU @ 2.10GHz stepping : 9 microcode : 0x19 cpu MHz : 2594.218 cache size : 6144 KB physical id : 0 siblings : 1 core id : 0 cpu cores : 1 apicid : 0 initial apicid : 0 fpu : yes fpu_exception : yes cpuid level : 5 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx rdtscp lm constant_tsc rep_good nopl pni monitor ssse3 lahf_lm bogomips : 5188.43 clflush size : 64 cache_alignment : 64 address sizes : 36 bits physical, 48 bits virtual power management:
make -j2
? (Even though you've only configured one virtual CPU, if anything is I/O bound in the build process-j2
could make the overall build faster.)