Neue Ubuntu-Installation, sehe nur 1 Kern meiner Dual-Core-CPU

Neue Ubuntu-Installation, sehe nur 1 Kern meiner Dual-Core-CPU

Ganz neue Installation von 11.10 64-Bit-Ubuntu. Während ich mein Conky-Skript zum Laufen brachte, trat immer wieder der Fehler auf, Conky: attempting to use more CPUs than you have! und das war komisch, weil ich das noch nie zuvor bei anderen Distributionen auf derselben Box gesehen hatte, die definitiv eine Dual-Core-CPU ist.

Bei einigen Untersuchungen stellte sich heraus, dass Ubuntu nur einen Kern auf der CPU erkennt. Ich habe ACPI in meinem BIOS aktiviert. Ich bin mir nicht sicher, ob das wichtig ist, aber dies ist eine Gast-VM, die in VirtualBox auf einem 64-Bit-Host mit Windows 7 installiert ist.

Hier ist die Ausgabe von: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

Ausgabe voncat /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:

Die vollständige Ausgabe dmesgfinden Sie hierhttp://pastebin.com/b03PetVx

Wir sind für jeden Beitrag dankbar.

Antwort1

Es hört sich so an, als ob Ihre VM so konfiguriert wurde, dass sie bei dieser dmesgAusgabe einen einzelnen virtuellen Kern bereitstellt.

Die folgende Dokumentation kann Ihnen bei der Neukonfiguration Ihrer VM zur Bereitstellung mehrerer Kerne hilfreich sein:

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

verwandte Informationen