Em 23-09-2013 00:45, Bruce Dubbs escreveu:
> 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.
> 

Just run the same script for SBU (using binutils-2.23.2):

Host : SBU=121s
Guest: SBU=180s

Guest is VMPlayer, runinng LFS7.4. Host runs LFS7.1. Host gave the same
value in two runs. Guest gave 186s and 174s.

I chose VMware over VirtualBox, which was faster, (at the time made by
Sun), because it could create v-disks separated in 2GB files, easier to
backup and transfer.

-- 
[]s,
Fernando
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to