Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I've installed Ubuntu in a virtual enviroment using Oracle VM VirtualBox Manager and it works great.

However I'd like to enable multiple cores - as seen in the image below my Windows machine has 2 cores:

enter image description here

Now when I run the lscpu in Ubunto I get the following info revealing that only 1 core is being utilized:

enter image description here

I've tried changing the settings of the virtual box to enable multiple processors but it won't allow me to do so as shown in the image below:

Image

How do I enable multiple cores (processors) in my virtual enviroment?

share|improve this question
add comment

2 Answers

To enable more than 1 CPU in your VM the following settings are needed in addition:

  • 64-bit virtual guest hardware in General settings tab

    enter image description here

  • enable I/O APIC in the Motherboard settings tab

    enter image description here

  • enable hardware virtualization (VT-x/AMD-V) in the Acceleration tab

    enter image description here

Note that if your run your VM on all cores available you may experience a better host performance when assigning an execution cap to the CPU.

share|improve this answer
add comment

If your VM is currently running (or "Saved") you can't change that value. Power off your VM first.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.