Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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:


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

share|improve this question

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 (for 64-bit guests)

    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
so this is not possible on a 32 bit Ubuntu? – cipricus Oct 9 '14 at 15:44
@cipricus thanks for the notice, 64-bit is only required for a 64-bit guest, of course. – Takkat Oct 9 '14 at 17:48
@Takkat I am using 32 bit Ubuntu as guest OS. How can I enable multiple cpus? – smwikipedia May 9 '15 at 9:56

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

share|improve this answer
Though it would be really cool if we could swap processors at runtime. That would give CPU throttling a new dimension. – Tomáš Zato Oct 2 '15 at 11:12
Virtualbox supports CPU hot-plugging – brunoqc Dec 18 '15 at 18:35

Your Answer


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.