VirtualBox

Opened 11 years ago

Closed 8 years ago

#12056 closed defect (obsolete)

VB Freeze while using multi cpu

Reported by: Alexey Kuznetsov Owned by:
Component: other Version: VirtualBox 4.2.16
Keywords: Cc:
Guest type: Linux Host type: Mac OS X

Description

VB Freeze every 30-60 minutes while compiling the cyanogenmod.org repo. Hudge IO operations cause application to freeze and do not respond to any click. Even VB GUI application frezze until you kill VB Guest.

1 CPU does not freeze (but it takes forever to comiplie the source, so i havent tested it mutch)

Attachments (8)

Ubuntu 13.04 (64)-2013-08-29-14-41-52.log (69.3 KB ) - added by Alexey Kuznetsov 11 years ago.
VBox.log (69.7 KB ) - added by Alexey Kuznetsov 11 years ago.
VBox.2.log (64.1 KB ) - added by Alexey Kuznetsov 11 years ago.
VBox.3.log (59.8 KB ) - added by Alexey Kuznetsov 11 years ago.
Screen Shot 2013-10-16 at 23.55.27.png (98.4 KB ) - added by Alexey Kuznetsov 11 years ago.
VBox.4.log (58.5 KB ) - added by Alexey Kuznetsov 11 years ago.
8 cores hungs
VBox.5.log (62.9 KB ) - added by Alexey Kuznetsov 11 years ago.
4 cores hungs (at boot time)
VBox.6.log (71.2 KB ) - added by Alexey Kuznetsov 11 years ago.
2 cores hungs (at compile time)

Download all attachments as: .zip

Change History (24)

by Alexey Kuznetsov, 11 years ago

comment:1 by Alexey Kuznetsov, 11 years ago

playing with it all day:

  • vbox can hungs even at boot if numbers of CPU's > 1 (even 2 will stuck the VB)
  • i have anohter notebook with i7 cpu, with 4 cores - no hungs
  • seems like it is only Mac Pro issue with 2 x 2.93 GHz 6-Core Intel Xeon (24 cores)
Last edited 11 years ago by Alexey Kuznetsov (previous) (diff)

comment:2 by Alexey Kuznetsov, 11 years ago

my laptop cpu: 2,66 GHz Intel Core i7

working fine even for 4 cpu running.

comment:3 by Alexey Kuznetsov, 11 years ago

it is standing on night long with 1 cpu and 2 x 2.93 GHz 6-Core Intel Xeon with no issues.

by Alexey Kuznetsov, 11 years ago

Attachment: VBox.log added

comment:4 by Alexey Kuznetsov, 11 years ago

4.3 keep hunging

comment:5 by Frank Mehnert, 11 years ago

You have 12 physical CPU cores and you assign 24 virtual CPUs to your guest -- how should that work? Do you still experience these hangs if you assign not more than 12 virtual CPUs to your guest?

by Alexey Kuznetsov, 11 years ago

Attachment: VBox.2.log added

comment:6 by Alexey Kuznetsov, 11 years ago

I have 12 real cores + hyperthreading for each. Normally linux and all apps detecting 24 cors.

Processor 2 x 2,93 GHz 6-Core Intel Xeon

including VirtualBox. It allows me to assign 24 cores (saying it is a max).

Now it wont even boot, hungs at the begining. 12 hungs as well at boot.

by Alexey Kuznetsov, 11 years ago

Attachment: VBox.3.log added

by Alexey Kuznetsov, 11 years ago

comment:7 by Frank Mehnert, 11 years ago

Hyperthreads don't count, please never use more than 12 guest CPUs. It's still unclear why the VM hangs with 12 guest CPUs. Are you running several VMs in parallel?

comment:8 by Alexey Kuznetsov, 11 years ago

nope. only one machine. even if i use 2 cores it hungs (can't confirm it for 4.3VB yet, takes some time)

Last edited 11 years ago by Alexey Kuznetsov (previous) (diff)

comment:9 by Alexey Kuznetsov, 11 years ago

and about your statement about cores. now i'm runining VB with 2 cores attached. cat /proc/cpuinfo also shows 2 cores (i can assume, if you suggest not to use hypertreading cores with vb, then vb shall emulate hypertreading by it self, but it doesnt)

axet@ubuntu2:~/source/cm-10.1-odroidu2$ cat /proc/cpuinfo 
processor	: 0
vendor_id	: GenuineIntel
cpu family	: 6
model		: 44
model name	: Intel(R) Xeon(R) CPU           X5670  @ 2.93GHz
stepping	: 2
cpu MHz		: 2932.819
cache size	: 6144 KB
physical id	: 0
siblings	: 2
core id		: 0
cpu cores	: 2
apicid		: 0
initial apicid	: 0
fpu		: yes
fpu_exception	: yes
cpuid level	: 5
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx rdtscp lm constant_tsc rep_good nopl pni ssse3 lahf_lm
bogomips	: 5865.63
clflush size	: 64
cache_alignment	: 64
address sizes	: 40 bits physical, 48 bits virtual
power management:

processor	: 1
vendor_id	: GenuineIntel
cpu family	: 6
model		: 44
model name	: Intel(R) Xeon(R) CPU           X5670  @ 2.93GHz
stepping	: 2
cpu MHz		: 2932.819
cache size	: 6144 KB
physical id	: 0
siblings	: 2
core id		: 1
cpu cores	: 2
apicid		: 1
initial apicid	: 1
fpu		: yes
fpu_exception	: yes
cpuid level	: 5
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx rdtscp lm constant_tsc rep_good nopl pni ssse3 lahf_lm
bogomips	: 5865.63
clflush size	: 64
cache_alignment	: 64
address sizes	: 40 bits physical, 48 bits virtual
power management:
power management:

axet@ubuntu2:~/source/cm-10.1-odroidu2$ 

by Alexey Kuznetsov, 11 years ago

Attachment: VBox.4.log added

8 cores hungs

by Alexey Kuznetsov, 11 years ago

Attachment: VBox.5.log added

4 cores hungs (at boot time)

by Alexey Kuznetsov, 11 years ago

Attachment: VBox.6.log added

2 cores hungs (at compile time)

comment:10 by Frank Mehnert, 11 years ago

VirtualBox does not need to emulate hyperthreading. Just don't count the hyperthreads when considering the number of virtual CPUs, that's it. That's a general remark, not necessarily related to your hang problem.

comment:11 by Frank Mehnert, 11 years ago

Oh, I forgot to ask: What kind of guest are you running?

comment:12 by Alexey Kuznetsov, 11 years ago

Host: Mac 64, Guest: Ubuntu 64

comment:13 by Alexey Kuznetsov, 11 years ago

On Maveric, it does not hungs, but also does not load more then 2 cpu (200% on the activity maganer) even if I have more then 2+ CPU assigned to the VB

comment:14 by Alexey Kuznetsov, 11 years ago

On the same hardware a have native linux installation and VB on it. It has no issues even with 24 CPUS!

So. Here is a two reasons why it is a OSX HOST issue ( 1) maverics act different 2) linux on the same hardware works fine ). Not hardware!

comment:15 by Alexey Kuznetsov, 11 years ago

Freeze under linux too. So it is a CPU issue

comment:16 by aeichner, 8 years ago

Resolution: obsolete
Status: newclosed

Please reopen if still relevant with a recent VirtualBox release.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use