VirtualBox 来宾:检测到 16 个 CPU,但只有 1 个在线

Ole*_*nge 7 cpu kernel virtualbox hot-plug smp

我正在运行 VirtualBox(使用 Qiime 图像http://qiime.org/install/virtual_box.html

物理硬件是一台 32 核的机器。VirtualBox 中的虚拟机拥有 16 个内核。

启动时我得到:

Ubuntu 10.04.1 LTS
Linux 2.6.38-15-server

# grep . /sys/devices/system/cpu/*
/sys/devices/system/cpu/kernel_max:255
/sys/devices/system/cpu/offline:1-15
/sys/devices/system/cpu/online:0
/sys/devices/system/cpu/possible:0-15
/sys/devices/system/cpu/present:0
/sys/devices/system/cpu/sched_mc_power_savings:0

# 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
Run Code Online (Sandbox Code Playgroud)

所以看起来它检测了16个CPU的资源,但它只设置了一个在线。

我已经用另一个镜像进行了测试,VirtualBox 主机可以运行一个 16 核的来宾。那个有效。所以问题是麻烦拍摄 Qiime 图像以找出为什么这个访客图像只检测到 1 个 CPU。

Ole*_*nge -1

QIIME 推出了一个新的 virtualbox 镜像(版本 1.5),可以运行。

如果没有人找到上述问题的答案,我将在一周内关闭该问题。