On Thu, Feb 2, 2012 at 2:09 AM, Matthew Burgess
<[email protected]> wrote:
> On Thu, 02 Feb 2012 03:44:55 -0600, Bruce Dubbs <[email protected]> wrote:
>> I built LFS tonight on a kvm VM.  Here are a couple of comments:
>>
>> The total build time was 6.3 hours.  The last build (LFS 7.0) on the
>> same machine, but on the HW was 4.1 hours.  That's a 50% increase in
>> time.  I'm not sure why.
>
> Building on a VM was noticeably slower for me as well, or more accurately,
> building on bare metal was noticeably quicker for me! The GCC and auto* tests
> were particularly slow.  If you've still got logs around, it may be worth 
> looking
> at if the slowdown is averaged over all packages, or whether there are
> particular packages that are adversely affected by building on a VM.
>
>> The section 7.2.1. Creating stable names for network interfaces failed.
>>
>> The instructions are:
>>
>> for NIC in /sys/class/net/* ; do
>>      INTERFACE=${NIC##*/} udevadm test --action=add $NIC
>> done
>>
>> But no /etc/udev/rules.d/70-persistent-net.rules file is generated.
>>
>> /sys/class/net/* expands to "/sys/class/net/lo /sys/class/net/eth0"
>
> Did you build using jhalfs?  If not, did you add '--enable-rule_generator' to
> your Udev build script to enable this recently deprecated functionality?
>
> Regards,
>
> Matt.

I was wondering, if using --enable-kvm --drive file=os.img,if=virtio
would give any noticable improvement

--enable-kvm, use the virtualization instructions in the processor (faster)
--drive file=os.img,if=virtio, (Requires VIRTIO_BLK in kernel),

threw a thread up on blfs-dev's virtualization topic that flushed out
the above a bit


Could be worth checking the difference between using the graphical
output, as opposed to ssh as well.  In the past, I've noticed some
slow compilations due to the computer trying to scroll the text.
(xorg, intel's driver when they started switching to uxa).  I suppose
it's possible the horse power is going to the screen trying to keep up
with the scrolling text.

-- 
Nathan Coulson (conathan)
------
Location: British Columbia, Canada
Timezone: PST (-8)
Webpage: http://www.nathancoulson.com
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to