VirtualBox

Ticket #7494 (closed defect: obsolete)

Opened 4 years ago

Last modified 7 weeks ago

Very slow configure run on 64-bit Windows 7

Reported by: sfink Owned by:
Priority: major Component: other
Version: VirtualBox 3.2.6 Keywords:
Cc: Guest type: Windows
Host type: Linux

Description (last modified by frank) (diff)

I am using VirtualBox to host a 64-bit Windows 7 build box for compiling Firefox, and the configure step is mind-numbingly slow.

Host: Fedora 13 x86_64 with 12GB RAM, 8 cores (+ 8 hyperthreaded), 2.27GHz Guest: Windows 7 64-bit

I'm testing by running ./config.status at the toplevel (using the MozillaBuild msys build environment). I aborted after several hours, and switched to timing running js/src/config.status, which works on a much smaller subset of the tree.

On hardware, this took a few seconds to run. On my VM, it took 19.9seconds when giving the guest 4GB of RAM and 4 CPUs. The build directory was shared via guest additions with the host.

If I dropped the memory to 1GB RAM, it slowed down to 21sec. Dropping to 1 CPU sped it up. Switching to a Samba share sped it up. The fastest run I could get was 11.3sec.

In the fastest configuration, I tried the toplevel config.status again. It took 13.5 minutes; much faster but still far slower than hardware.

I have disabled Windows Defender, all the virus checkers I could find, and lots of stuff carried over from when it was a physical machine.

The guest CPU or CPUs are all pretty much maxed out during this test. When running with 4 guest CPUs, the real CPUs show about 25% utilization for half the CPUs, <2% for the other half. Neither the host nor the guest show significant disk or network I/O.

This configure test starts up many, many processes through the msys shell.

Attachments

VBox.log Download (48.5 KB) - added by sfink 4 years ago.

Change History

Changed 4 years ago by sfink

comment:1 Changed 4 years ago by sfink

Note that this is going through several snapshots, but I had similar behavior when going straight to a (dynamic) VDI.

comment:2 Changed 3 years ago by sfink

Steps to reproduce:

install MozillaBuild from  http://ftp.mozilla.org/pub/mozilla.org/mozilla/libraries/win32/MozillaBuildSetup-Latest.exe

download and unpack  http://people.mozilla.com/~sfink/speed-test.zip

From within the msys shell started by MozillaBuild, go into the speed-test directory and run

time ./config.status

comment:3 Changed 7 weeks ago by frank

  • Status changed from new to closed
  • Resolution set to obsolete
  • Description modified (diff)
Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use