我只有一个 1 核 CPU,但有些程序需要看到 4 个 CPU 才能正常工作(尽管它们不会使用全部)。
我正在使用 Ubuntu,我的 CPU 信息如下所示
ubuntu@z:~$ lscpu
Architecture: x86_64
CPU op-mode(s): 32-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
Hypervisor vendor: KVM
Virtualization type: full
L1d cache: 32K
L1i cache: 32K
L2 cache: 4096K
NUMA node0 CPU(s): 0