Too many CPUs warning

This is for discussing general topics about how to use VirtualBox.
science_man
Posts: 22
Joined: 7. Nov 2014, 04:05

Re: Too many CPUs warning

Post by science_man »

loukingjr wrote:Just trying to help. I take it you didn't read the info on the Bugtracker page.

Look forward to your "fix".
I did read the bug tracker page, but I didn't see the use in posting anything else. In all honesty, this is a really low priority issue, and the devs are probably better off fixing real issues.

...I'm not sure why you put fix in quotes.
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: just about all that run

Re: Too many CPUs warning

Post by loukingjr »

As long as your don't think it's relevant that's all that matters.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
giacomo
Posts: 10
Joined: 17. Dec 2015, 06:45

Re: Too many CPUs warning

Post by giacomo »

Using the i7-i7-4790K as an example, to do this right Linux should be setup with 4 CPUs x 2 threads per CPU. When it runs with 8 CPUs x 1 thread per CPU, it probably doesn't know which logical cores are paired. To take full advantage of the logical cores, the two threads in a physical core should be from the same process.

This is probably why the warning exists, but it is by no means worded correctly. It is also a limitation of VirtualBox, not user error. Practically speaking, I don't know how much it matters.

I found the documentation to correctly determine logical cores and physical cores for Intel and AMD.

https://software.intel.com/en-us/articl ... umeration/

http://developer.amd.com/resources/docu ... ing-cpuid/

I found these at the following stackoverflow topic
http://stackoverflow.com/questions/2901 ... -threading
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: just about all that run

Re: Too many CPUs warning

Post by loukingjr »

giacomo wrote:This is probably why the warning exists, but it is by no means worded correctly. It is also a limitation of VirtualBox, not user error.
So your main point was you object to how the warning is worded? :roll:
It's just a guideline. How is that a limitation?
I wasn't aware of anyone saying anything about user error.

Talk about making a mountain out of a mole hill.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
giacomo
Posts: 10
Joined: 17. Dec 2015, 06:45

Re: Too many CPUs warning

Post by giacomo »

The implementation is incorrect and the warning is misleading and you have added nothing to this discussion other than to show how little you understand about the topic.
giacomo
Posts: 10
Joined: 17. Dec 2015, 06:45

Re: Too many CPUs warning

Post by giacomo »

As I mentioned above, the implementation should have the guest with 4 CPUs x 2 threads per CPU not 8 CPUs x 1 thread per CPU.

Maybe try actually reading what people write before you go shooting your mouth off.
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: just about all that run

Re: Too many CPUs warning

Post by loukingjr »

What I understand about the topic is, many, MANY users who assigned all cores to a guest, not even counting threads had issues up to and including their guests crashing. Which just coincedently went away when they reduced the number of CPUs they set for the guest.

Which is why the warning exists.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
giacomo
Posts: 10
Joined: 17. Dec 2015, 06:45

Re: Too many CPUs warning

Post by giacomo »

It is a bug with VirtualBox. It should be fixed. What your problem is, I can only guess.
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: just about all that run

Re: Too many CPUs warning

Post by loukingjr »

A bug is something that doesn't work as intended. Do you have some evidence that's not what the developers intended?
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: just about all that run

Re: Too many CPUs warning

Post by loukingjr »

I thought not.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
science_man
Posts: 22
Joined: 7. Nov 2014, 04:05

Re: Too many CPUs warning

Post by science_man »

No wait it is a bug. I'm sure they wouldn't have a warning for something that certainly works properly: assigning more cpus than exist physical cores. Whether or not that is a good idea is a separate issue. The fact remains that it should be possible, without a warning, to give as much of my CPU to the guest as possible.
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: just about all that run

Re: Too many CPUs warning

Post by loukingjr »

:shock: :roll:

fine. I'm bored with the two of you.

ciao.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Too many CPUs warning

Post by Perryg »

loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: just about all that run

Re: Too many CPUs warning

Post by loukingjr »

:)
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
Locked