VirtualBox

Ticket #8987 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

Slow boot / high CPU load / snapshot delete stalls on 12 core Family 10h Opteron Ubuntu 10.04

Reported by: cruftex Owned by:
Priority: major Component: VMM/HWACCM
Version: VirtualBox 4.0.8 Keywords: slow boot, high cpu usage, Opteron Family 10h, Ubuntu 10.04, Ubuntu 11.04
Cc: Guest type: Linux
Host type: Linux

Description

I have some "multiple" strange behaviours on a new host system.

Parameters: Host: Ubuntu 10.04 aka Lucid 64 Bit, Kernel 2.6.32-31 Guest: Ubuntu 10.04 aka Lucid 32 Bit, Kernel 2.6.32-31 Virtualbox Version 4.0.8 AMD Opteron(tm) Processor 6174

I also did test with 11.04 and Kernel 2.6.38-8, and experimented with various guest options (ioapic, acpi, etc.). Overall, the behaviour keeps identicall.

Observations:

1. Slow output on the UART during boot.

2. The boot is slow. The process takes 55 seconds when 12 cores are enabled and 10 seconds when only 1 core is enabled.

3. When switching to multiple CPUs in the guest the UART output is corrupted during the initial boot phase.

4. When deleting a snapshot it stalls at 90% and the following processes run at the given CPU %, 63% VBoxSVC, 62% VBoxHeadless, 29% VBoxXPCOMIPCD. I wait for 20 minutes, no change. Then I aborted via rebooting the system.

The attached logs concentrate on the boot of in 10.04 with identical VM parameters, I did the following comparisons:

12core: All cores are enabled

1core: disabled all but one cpu with: for I in 1 2 3 4 5 6 7 8 9 10 11; do echo 0 > /sys/devices/system/cpu/cpu$I/online; done

downcore: Enabled BIOS Downcore setting to 1 core, which gives me 2 cores in reality.

1core and downcore have fine behaviour. So when the host system is booted with only 2 cores enabled, everything is fine!

Attachments

VBox-10.04-downcore.log Download (64.3 KB) - added by cruftex 3 years ago.
VBox-10.04-12core.log Download (64.6 KB) - added by cruftex 3 years ago.
VBox-10.04-1core.log Download (64.2 KB) - added by cruftex 3 years ago.
console-10.04-downcore.txt Download (18.9 KB) - added by cruftex 3 years ago.
console-10.04-12core.txt Download (19.0 KB) - added by cruftex 3 years ago.
console-10.04-1core.txt Download (18.9 KB) - added by cruftex 3 years ago.
oops-online-offline.txt Download (4.3 KB) - added by cruftex 3 years ago.
Additional finding, which may be related or not. Kernel oops in host during guest operation while settings cpus online/offline.
stacktrace-guest-boot.txt Download (1.8 KB) - added by cruftex 3 years ago.
Additional finding, which may be related or not. Kernel stacktrace during guest boot in a 11.04 / Natty host.

Change History

Changed 3 years ago by cruftex

Changed 3 years ago by cruftex

Changed 3 years ago by cruftex

Changed 3 years ago by cruftex

Changed 3 years ago by cruftex

Changed 3 years ago by cruftex

Changed 3 years ago by cruftex

Additional finding, which may be related or not. Kernel oops in host during guest operation while settings cpus online/offline.

Changed 3 years ago by cruftex

Additional finding, which may be related or not. Kernel stacktrace during guest boot in a 11.04 / Natty host.

comment:1 Changed 3 years ago by cruftex

Update: Ticket can be closed, we switched to KVM for virtualization in the data center.

comment:2 Changed 3 years ago by frank

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use