LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 10-02-2017, 12:05 PM   #1
keif
Member
 
Registered: Apr 2013
Posts: 97

Rep: Reputation: Disabled
No cores in /proc/cpuinfo


Hello all,

I'm doing a spredsheet on servers at my work. And I have to list CPUs with cores. And I am not familiar with how cpus and cores work 100%. So I am here to hopefully obtain some wisdom, as I cannot seem to find a clear answer doing info searches.

The output below is a virtualized CentOS unit.

My question is, since it doesn't show any cores in the output, does that mean this cpu does not have cores?

Code:
[root@host ~]# cat /proc/cpuinfo 
processor	: 0
vendor_id	: GenuineIntel
cpu family	: 6
model		: 15
model name	: Intel(R) Xeon(R) CPU            5160  @ 3.00GHz
stepping	: 1
cpu MHz		: 3000.106
cache size	: 4096 KB
fpu		: yes
fpu_exception	: yes
cpuid level	: 10
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss syscall nx lm constant_tsc pni ssse3 cx16 lahf_lm
bogomips	: 6000.21
clflush size	: 64
cache_alignment	: 64
address sizes	: 40 bits physical, 48 bits virtual
power management:

processor	: 1
vendor_id	: GenuineIntel
cpu family	: 6
model		: 15
model name	: Intel(R) Xeon(R) CPU            5160  @ 3.00GHz
stepping	: 1
cpu MHz		: 3000.106
cache size	: 4096 KB
fpu		: yes
fpu_exception	: yes
cpuid level	: 10
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss syscall nx lm constant_tsc pni ssse3 cx16 lahf_lm
bogomips	: 6000.59
clflush size	: 64
cache_alignment	: 64
address sizes	: 40 bits physical, 48 bits virtual
power management:
I know this might sound like a dumb question, but the topic of cpus and cores has not been an easy learn for me and I am still trying to get it. Thanks

Last edited by keif; 10-02-2017 at 12:06 PM. Reason: took out hostname
 
Old 10-02-2017, 12:32 PM   #2
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 2,552

Rep: Reputation: 924Reputation: 924Reputation: 924Reputation: 924Reputation: 924Reputation: 924Reputation: 924Reputation: 924
If you don't see a "cpu cores" line then assume it's a single core processor if it's a virtualised environment.

For virtual machines this is a throw-back to when certain packages were licensed per-cpu-slot, so a 4 core processor on a single die was considered one slot even though it was effectively 4 CPUs (this is pretty simplistic as there are other factors coming in to play but it's a good enough analogy)

These days it's more common in virtualisation environments to just specif the number of virtual CPUs rather than a particular slot/core topology.

Last edited by TenTenths; 10-02-2017 at 12:34 PM.
 
Old 10-02-2017, 12:35 PM   #3
keif
Member
 
Registered: Apr 2013
Posts: 97

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TenTenths View Post
If you don't see a "cpu cores" line then assume it's a single core processor if it's a virtualised environment.

For virtual machines this is a throw-back to when certain packages were licensed per-cpu-slot, so a 4 core processor on a single die was considered one slot even though it was effectively 4 CPUs (this is pretty simplistic as there are other factors coming in to play but it's a good enough analogy)

These days it's more common in virtualisation environments to just specif the number of virtual CPUs rather than a particular slot/core topology.
Thank you for the explanation. It solved my problem.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Six-Core AMD Opteron(tm) Processor 8435 only show 2 cores in cpuinfo eltonsky Linux - Hardware 2 03-08-2012 04:12 PM
proc/cpuinfo question pilot117 Linux - Hardware 1 03-07-2010 08:49 PM
missing number of cores in according to /proc/cpuinfo centguy Linux - Software 14 01-10-2010 10:22 PM
Proc/CpuInfo sipsipi Linux - Software 4 03-03-2006 12:42 PM
/proc/cpuinfo embsupafly Linux - General 3 12-29-2003 07:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 04:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration