Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. 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 am running VirtualBox (using the Qiime image http://qiime.org/install/virtual_box.html)

The physical hardware is a 32 core machine. The virtual machine in VirtualBox has been given 16 cores.

When booting I get:

Ubuntu 10.04.1 LTS
Linux 2.6.38-15-server

# grep . /sys/devices/system/cpu/*

# ls /sys/kernel/debug/tracing/per_cpu/
cpu0  cpu1  cpu10  cpu11  cpu12  cpu13  cpu14  cpu15  cpu2  cpu3  cpu4  cpu5  cpu6  cpu7  cpu8  cpu9

# ls /sys/devices/system/cpu/
cpu0  cpufreq  cpuidle  kernel_max  offline  online  possible  present  probe  release  sched_mc_power_savings

# echo 1 > /sys/devices/system/cpu/cpu6/online 
-su: /sys/devices/system/cpu/cpu6/online: No such file or directory

So it seems it detects the resources for 16 CPUs, but it only sets one online.

I have tested with another image that the VirtualBox host can run a guest with 16 cores. That works. So the problem is to trouble shoot the Qiime image to figure out why this guest image only detects 1 CPU.

share|improve this question
Is it booting an SMP enabled kernel? uname -v should output something like "#1 SMP Thu May 3 14:46:44 UTC 2012" – uther May 11 '12 at 14:23
Yes. #59~lucid1-Ubuntu SMP Mon Apr 30 23:56:18 UTC 2012 – Ole Tange May 12 '12 at 23:24
is IO_APIC enabled ? – warl0ck May 19 '12 at 1:48
How do I test if IO_APIC is enabled? – Ole Tange May 20 '12 at 12:09

It sounds like your VM has been configured to provide a single virtual cpu.

The following documentation might help you in reconfiguring your VM to provide multiple cores:


This may help, I had a similar issue with an Ubuntu VM. This help me with my original question

share|improve this answer
As mention in the question I already tried that. – Ole Tange May 20 '12 at 1:51
up vote 0 down vote accepted

QIIME came out with a new virtualbox image (version 1.5), which works.

If no one finds the answer to the problem above I will close the question in a week.

share|improve this answer

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.