新的 Ubuntu 安裝,只看到我的雙核心 CPU 的 1 個核心

新的 Ubuntu 安裝,只看到我的雙核心 CPU 的 1 個核心

全新安裝 11.10 64 位元 Ubuntu。在啟動並運行我的 conky 腳本時,我不斷看到錯誤Conky: attempting to use more CPUs than you have! ,這很奇怪,因為我以前從未在同一台機器上的其他發行版中見過這種情況,這絕對是雙核心 CPU。

經過一些調查,Ubuntu 似乎只辨識 CPU 上的 1 個核心。我的 BIOS 中確實啟用了 ACPI。我不確定這是否重要,但這是安裝在 Windows7 64 位元主機上的 VirtualBox 中的來賓虛擬機器。

這是以下的輸出:lshw -class cpu

*-cpu
   product: AMD Athlon(tm) 7850 Dual-Core Processor
   vendor: Hynix Semiconductor (Hyundai Electronics)
   physical id: 2
   bus info: cpu@0
   width: 64 bits
   capabilities: fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx fxsr_opt rdtscp x86-64 3dnowext 3dnow up rep_good nopl extd_apicid pni monitor lahf_lm cr8_legacy

輸出cat /proc/cpuinfo

processor   : 0
vendor_id   : AuthenticAMD
cpu family  : 16
model       : 2
model name  : AMD Athlon(tm) 7850 Dual-Core Processor
stepping    : 3
cpu MHz     : 2687.223
cache size  : 512 KB
fpu     : yes
fpu_exception   : yes
cpuid level : 5
wp      : yes
flags       : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx fxsr_opt rdtscp lm 3dnowext 3dnow up rep_good nopl extd_apicid pni monitor lahf_lm cr8_legacy
bogomips    : 5374.44
TLB size    : 1024 4K pages
clflush size    : 64
cache_alignment : 64
address sizes   : 48 bits physical, 48 bits virtual
power management:

完整輸出dmesg可以在這裡找到http://pastebin.com/b03PetVx

任何意見將不勝感激。

答案1

聽起來您的虛擬機器已配置為在給定dmesg輸出的情況下提供單一虛擬核心。

以下文件可能會協助您重新配置虛擬機器以提供多個核心:

https://www.virtualbox.org/manual/ch03.html#settings-processor

相關內容