VirtualBox 5.0 - Problem on Hyperthreaded CPU
Posted: 6. Sep 2015, 18:35
Hi,
As I would like to build my own ROM for my smartphone, I have to use Linux.
(I know it's possible to build natively in MacOsX, but I've never been able to set-up my Mac to do that, and never heard of anyone able to build with OsX ! - All guides that can be founded on the internet are false or deprecated
So I decided to go for VB as it's free and offers a lot of possibilities.
But I think I am doing something wrong. Let me explain.
I run VB on a MacPro 4.1 with MacOsX 10.10.5, driven by 2 Xeon 5560 and 40GB of RAM.
The storage HDD is on a raided array of 2 X 600GB Intel DC-S3500 SSD's on a PCI card (up to 850GB/s speed).
It's a 200GB fixed size disk image configured with Virtual Box.
Basic settings are :
- resources allocated to VM : 100%
- RAM allocated to VM : 16GB
- Number of processors used : 16
My problem is following...
The MacPro sprots Xeon processors that supports Hyperthreading. I have 8 physical cores that are splitted to get 16 cores when hyperthreaded.
This is why I decided to allocate 16 processors in VB settings...
The Guest is Debian 8.1 "Pure" (not a Debian based distro).
It launches and is rather reactive.
If I look at the CPU monitor, 16 cores are recognized.
When I launch my build, the 16 cores sometimes (but ONLY SOMETIMES) go up to 16 X 80%... but even then, looking at the Host monitor, only 45-50% of CPU resources are used.
So my conclusion is that VB does not take advantage of Hyperhreading in a Mac...
And that gets obvious when I consider the build times : about 75 minutes in VB. The exact same config in VMWare Fusion is done in 38 minutes...
MY QUESTION :
- 1°) Is VB supposed to support Hyperthreading in MacOs ?
- 2°) If answer to 1°) is YES, how should I set up VB so it uses 100% of CPU resources of the MacOs X Host ?
Thanks for your answers.
Regards.
As I would like to build my own ROM for my smartphone, I have to use Linux.
(I know it's possible to build natively in MacOsX, but I've never been able to set-up my Mac to do that, and never heard of anyone able to build with OsX ! - All guides that can be founded on the internet are false or deprecated
So I decided to go for VB as it's free and offers a lot of possibilities.
But I think I am doing something wrong. Let me explain.
I run VB on a MacPro 4.1 with MacOsX 10.10.5, driven by 2 Xeon 5560 and 40GB of RAM.
The storage HDD is on a raided array of 2 X 600GB Intel DC-S3500 SSD's on a PCI card (up to 850GB/s speed).
It's a 200GB fixed size disk image configured with Virtual Box.
Basic settings are :
- resources allocated to VM : 100%
- RAM allocated to VM : 16GB
- Number of processors used : 16
My problem is following...
The MacPro sprots Xeon processors that supports Hyperthreading. I have 8 physical cores that are splitted to get 16 cores when hyperthreaded.
This is why I decided to allocate 16 processors in VB settings...
The Guest is Debian 8.1 "Pure" (not a Debian based distro).
It launches and is rather reactive.
If I look at the CPU monitor, 16 cores are recognized.
When I launch my build, the 16 cores sometimes (but ONLY SOMETIMES) go up to 16 X 80%... but even then, looking at the Host monitor, only 45-50% of CPU resources are used.
So my conclusion is that VB does not take advantage of Hyperhreading in a Mac...
And that gets obvious when I consider the build times : about 75 minutes in VB. The exact same config in VMWare Fusion is done in 38 minutes...
MY QUESTION :
- 1°) Is VB supposed to support Hyperthreading in MacOs ?
- 2°) If answer to 1°) is YES, how should I set up VB so it uses 100% of CPU resources of the MacOs X Host ?
Thanks for your answers.
Regards.