Page 1 of 1
(Solved) Assigned CPU count not the same in the guest OS
Posted: 1. May 2014, 18:17
by theunsheydenrych
I have Ubuntu 14.04 and Virtualbox 4.3.10 installed from the ubuntu repos, the machine i am using have 8 cpu cores
I have Elementary OS running as a guest. I assigned 2 cpu's to the Elementary guest OS.
When running lshw in the Elementary guest OS it picks up that there is only one cpu, and i would like it to have 2 cpu's.
How can i fix this problem?
Thanks in advance
Re: Assigned CPU count not the same in the guest OS
Posted: 1. May 2014, 18:20
by loukingjr
you are not supposed to cross-post, you have asked this question twice in two different areas.
Re: Assigned CPU count not the same in the guest OS
Posted: 1. May 2014, 18:31
by theunsheydenrych
sorry about that
regarding the problem i have in which forum would you suggest is the correct one?
again, sorry about the cross post it will not happen again.
Re: Assigned CPU count not the same in the guest OS
Posted: 1. May 2014, 18:33
by loukingjr
theunsheydenrych wrote:sorry about that
regarding the problem i have in which forum would you suggest is the correct one?
again, sorry about the cross post it will not happen again.
it's okay. I was just letting you know. either would be fine. I was going to say some distros only report the total cpu usage. I can't remember but does EOS have a system monitor app?
Re: Assigned CPU count not the same in the guest OS
Posted: 1. May 2014, 19:31
by theunsheydenrych
Not as far as i know, but i used sudo lshw -C cpu to check it.
vboxmanage showvminfo Elementary_64 reports number of cpu's as 2
Re: Assigned CPU count not the same in the guest OS
Posted: 1. May 2014, 19:35
by loukingjr
theunsheydenrych wrote:Not as far as i know, but i used sudo lshw -C cpu to check it.
vboxmanage showvminfo Elementary_64 reports number of cpu's as 2
yep. I don't think the lshw command tells you how many cores. I checked a couple of my guests and all it said was it's running on an i7.
Code: Select all
louis@louis-VirtualBox:~$ sudo lshw -C cpu
[sudo] password for louis:
*-cpu
product: Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz
vendor: Intel Corp.
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 ht syscall nx rdtscp x86-64 constant_tsc rep_good nopl pni ssse3 lahf_lm
Re: Assigned CPU count not the same in the guest OS
Posted: 1. May 2014, 19:50
by theunsheydenrych
ok, thanks. I must then get some sort of system monitor for elementary
What you showed me was what i got aswell.
Thanks for the help.
Re: Assigned CPU count not the same in the guest OS
Posted: 1. May 2014, 19:53
by loukingjr
theunsheydenrych wrote:ok, thanks. I must then get some sort of system monitor for elementary
What you showed me was what i got aswell.
Thanks for the help.
you're welcome. I just assume when I have two CPUs assigned they are actually assigned.

Re: Assigned CPU count not the same in the guest OS
Posted: 1. May 2014, 19:58
by Perryg
try cat /proc/cpuinfo
Re: Assigned CPU count not the same in the guest OS
Posted: 1. May 2014, 20:01
by loukingjr
Perryg wrote:try cat /proc/cpuinfo
worked for me.
Code: Select all
louis@louis-VirtualBox:~$ cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 58
model name : Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz
stepping : 9
microcode : 0x19
cpu MHz : 3530.007
cache size : 6144 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 2
apicid : 0
initial apicid : 0
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 ht syscall nx rdtscp lm constant_tsc rep_good nopl pni ssse3 lahf_lm
bogomips : 7060.01
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:
processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 58
model name : Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz
stepping : 9
microcode : 0x19
cpu MHz : 3530.007
cache size : 6144 KB
physical id : 0
siblings : 2
core id : 1
cpu cores : 2
apicid : 1
initial apicid : 1
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 ht syscall nx rdtscp lm constant_tsc rep_good nopl pni ssse3 lahf_lm
bogomips : 7060.01
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:
louis@louis-VirtualBox:~$
Re: Assigned CPU count not the same in the guest OS
Posted: 1. May 2014, 20:08
by Perryg
Yup. I'm kind of like a broken watch. I know I will be right at least two times a day.

Re: Assigned CPU count not the same in the guest OS
Posted: 1. May 2014, 20:08
by loukingjr
lol you're a Linux guru is why

Re: Assigned CPU count not the same in the guest OS
Posted: 1. May 2014, 20:11
by Perryg
Well I'd not go that far. Perhaps a Linux GUR at this point. I occasionally find something that I need to look up because I forgot it.
Re: Assigned CPU count not the same in the guest OS
Posted: 1. May 2014, 20:11
by loukingjr
me too. like my phone #

Re: Assigned CPU count not the same in the guest OS
Posted: 1. May 2014, 20:14
by theunsheydenrych
OK, I installed the gnome-system-monitor and it does show 2 cpu cores in there.
the suggested cat /proc/cpuinfo also did the trick
Thanks for all the help