(Solved) Assigned CPU count not the same in the guest OS
-
theunsheydenrych
- Posts: 9
- Joined: 4. May 2010, 10:55
- Primary OS: Ubuntu other
- VBox Version: OSE other
- Guest OSses: Win XP
(Solved) Assigned CPU count not the same in the guest OS
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
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
Last edited by theunsheydenrych on 1. May 2014, 20:16, edited 1 time in total.
-
loukingjr
- Volunteer
- Posts: 8851
- Joined: 30. Apr 2009, 09:45
- Primary OS: Mac OS X other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: just about all that run
Re: Assigned CPU count not the same in the guest OS
you are not supposed to cross-post, you have asked this question twice in two different areas.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
There are three groups of people. Those that can count and those that can't.
-
theunsheydenrych
- Posts: 9
- Joined: 4. May 2010, 10:55
- Primary OS: Ubuntu other
- VBox Version: OSE other
- Guest OSses: Win XP
Re: Assigned CPU count not the same in the guest OS
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.
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.
-
loukingjr
- Volunteer
- Posts: 8851
- Joined: 30. Apr 2009, 09:45
- Primary OS: Mac OS X other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: just about all that run
Re: Assigned CPU count not the same in the guest OS
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?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.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
There are three groups of people. Those that can count and those that can't.
-
theunsheydenrych
- Posts: 9
- Joined: 4. May 2010, 10:55
- Primary OS: Ubuntu other
- VBox Version: OSE other
- Guest OSses: Win XP
Re: Assigned CPU count not the same in the guest OS
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
vboxmanage showvminfo Elementary_64 reports number of cpu's as 2
-
loukingjr
- Volunteer
- Posts: 8851
- Joined: 30. Apr 2009, 09:45
- Primary OS: Mac OS X other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: just about all that run
Re: Assigned CPU count not the same in the guest OS
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.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
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
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
There are three groups of people. Those that can count and those that can't.
-
theunsheydenrych
- Posts: 9
- Joined: 4. May 2010, 10:55
- Primary OS: Ubuntu other
- VBox Version: OSE other
- Guest OSses: Win XP
Re: Assigned CPU count not the same in the guest OS
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.
What you showed me was what i got aswell.
Thanks for the help.
-
loukingjr
- Volunteer
- Posts: 8851
- Joined: 30. Apr 2009, 09:45
- Primary OS: Mac OS X other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: just about all that run
Re: Assigned CPU count not the same in the guest OS
you're welcome. I just assume when I have two CPUs assigned they are actually assigned.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.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
There are three groups of people. Those that can count and those that can't.
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Assigned CPU count not the same in the guest OS
try cat /proc/cpuinfo
-
loukingjr
- Volunteer
- Posts: 8851
- Joined: 30. Apr 2009, 09:45
- Primary OS: Mac OS X other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: just about all that run
Re: Assigned CPU count not the same in the guest OS
worked for me.Perryg wrote:try cat /proc/cpuinfo
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:~$
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
There are three groups of people. Those that can count and those that can't.
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Assigned CPU count not the same in the guest OS
Yup. I'm kind of like a broken watch. I know I will be right at least two times a day. 
-
loukingjr
- Volunteer
- Posts: 8851
- Joined: 30. Apr 2009, 09:45
- Primary OS: Mac OS X other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: just about all that run
Re: Assigned CPU count not the same in the guest OS
lol you're a Linux guru is why 
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
There are three groups of people. Those that can count and those that can't.
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Assigned CPU count not the same in the guest OS
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.
-
loukingjr
- Volunteer
- Posts: 8851
- Joined: 30. Apr 2009, 09:45
- Primary OS: Mac OS X other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: just about all that run
Re: Assigned CPU count not the same in the guest OS
me too. like my phone # 
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
There are three groups of people. Those that can count and those that can't.
-
theunsheydenrych
- Posts: 9
- Joined: 4. May 2010, 10:55
- Primary OS: Ubuntu other
- VBox Version: OSE other
- Guest OSses: Win XP
Re: Assigned CPU count not the same in the guest OS
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
the suggested cat /proc/cpuinfo also did the trick
Thanks for all the help