Walter P. Little wrote: > I finished an LFS 7.4 install in VMware recently (Ubuntu 12.04 LTS host) > and was not disappointed with the performance... Binutils clocked in at > roughly 75 seconds if I recall correctly. However, I'm not in a position > to build LFS on this host system directly, so I have no basis for > comparison. The host hardware is a Sandy Bridge era i7 (3.4 GHz) with 32 > GB of RAM. VM is configured to use 2 of the 4 cores, and has 2 GB of RAM > allocated to it.
Thanks for the data. On your host you could time a configure && make of binutils without installing it to get a rough idea of the base system. I did find a paper on line that compared vmware and kvm and showed a fairly dramatic slowdown for IO on kvm. > I'm not hugely surprised that your ramdisk didn't make a noticeable > difference, as this sort of work seems largely CPU-bound. One thought > would be to look into adjusting qemu's "nice" value to see if that gets the > build time closer to that of the native hardware. Nice wouldn't do anything since nothing else was running at the time. I'll note that there is a fair amount of IO in a build since compilers, linkers, scripts, headers, c code, etc are read a lot and object files written. An interesting experiment would be to put /tools on a ram disk and try timing that. On a base LFS system, that's about 725M not stripped. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page