title: Is there a maximum number of CPU's that a VirtualBox could bare?
body: <p>I am using VirtualBox 5.1 running in a host with 48 CPU's and 250GB of RAM
  the virtual machine that I am importing (the guest) initially had 2 CPU's and 4GB of RAM.</p>
  
  <p>Inside this machine I am running a process with Java that starts a dynamic number of threads to perform some tasks.</p>
  
  <p>I ran it with configurations below:</p>
  
  <p>The whole process in my laptop (2 CPUs/4GB RAM) ~ 11 seconds</p>
  
  <p>same program in the virtual machine in the server
  (15 CPUs and 32GB of RAM) ~ 45 seconds</p>
  
  <p>same program in the virtual machine in the server
  (20 CPUs and 32GB of RAM) ~ 100+ seconds</p>
  
  <p>same program in the virtual machine in the server
  (10 CPUs and 32GB of RAM) ~ 5+ seconds</p>
  
  <p>First I thought that there was a problem in how I was managing the threads from Java but after many tests I figured out that there was a relation between the number of CPU's that the virtual machine has and its performance, the maximum was 10, after that the overall performance of the machine slows down(CPU starvation?)</p>
  
  <p>The virtual machine runs Oracle Enterprise Linux 6.7 and the host runs Oracle Enterprise Linux 6.9</p>
  
  <p>I couldn't found any hard limit in the Virtual Machine documentation regarding the number of CPU's.</p>
  
  <p><strong>Is there a setting that needs to be set to enable/take advantage of more than 10 CPU's in a VirtualBox instance?</strong></p>