Virtual Box configurado com 8 cpus mas nproc em shows de vm 1

1

Eu criei e configurei a VM com 8 cpus (no servidor com 48 cpus). Aqui vboxmanage showvminfo output:

  Memory size:     40960MB
    Page Fusion:     off
    VRAM size:       8MB
    CPU exec cap:    100%
    HPET:            off
    Chipset:         piix3
    Firmware:        BIOS
    Number of CPUs:  8
    PAE:             on
    Long Mode:       on
    CPUID Portability Level: 0

When i login to vm, and use command 'nproc' the output is 1.

Além disso, a saída de cat /proc/cpuinfo é:

processor   : 0
vendor_id   : GenuineIntel
cpu family  : 6
model       : 63
model name  : Intel(R) Xeon(R) CPU E5-2680 v3 @ 2.50GHz
stepping    : 2
cpu MHz     : 2495.836
cache size  : 30720 KB
physical id : 0
siblings    : 1
core id     : 0
cpu cores   : 1
apicid      : 0
initial apicid  : 0
fpu     : yes
fpu_exception   : yes
cpuid level : 15

uname -a output:

Linux node1.cluster 3.19.0-25-generic #26~14.04.1-Ubuntu SMP Fri Jul 24 21:16:20 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

lscpu output:

Architecture:          x86_64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                1
On-line CPU(s) list:   0
Thread(s) per core:    1
Core(s) per socket:    1
Socket(s):             1
NUMA node(s):          1
Vendor ID:             GenuineIntel
CPU family:            6
Model:                 63
Stepping:              2
CPU MHz:               2495.836
BogoMIPS:              4991.67
Hypervisor vendor:     KVM
Virtualization type:   full
L1d cache:             32K
L1i cache:             32K
L2 cache:              256K
L3 cache:              30720K
NUMA node0 CPU(s):     0

É assim que supõe ser? Ou talvez eu esteja fazendo algo errado?

    
por Farseer 16.02.2016 / 15:25

1 resposta

0

Encontrou o problema.

Esqueci de ativar o APIC de E / S para máquinas virtuais que pretendo usar no modo de 64 bits.

vboxmanage modifyvm "Node1" --ioapic on sovled o problema. Meu mal.

    
por 17.02.2016 / 10:27