LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 03-08-2017, 03:21 PM   #1
rajkamalhm
LQ Newbie
 
Registered: Apr 2016
Posts: 4

Rep: Reputation: Disabled
Core count differs between /proc/cpuinfo and dmidecode


/proc/cpuinfo shows I have 8 cores per processor and dmidecode shows that I have 16 cores per processor in my HP ProLiant server.

Code:
[root@testserver ~]# cat /proc/cpuinfo | grep "core id" | sort -u
core id : 0
core id : 1
core id : 2
core id : 3
core id : 4
core id : 5
core id : 6
core id : 7

Code:
[root@testserver ~]# dmidecode -t processor | grep -E '(Core Count|Thread Count)' | sort -u
Core Count: 16
Thread Count: 16



More information that could help:
Code:
[root@testserver ~]# cat /proc/cpuinfo | grep "physical id" | sort -u
physical id : 1
physical id : 2
physical id : 3
physical id : 4

Code:
[root@testserver ~]# cat /proc/cpuinfo | grep "processor" | sort -u | wc -l
64

Code:
[root@testserver ~]# cat /proc/cpuinfo | grep "cpu cores" | sort -u
cpu cores : 8

Code:
[root@testserver ~]# cat /proc/cpuinfo | grep "siblings" | sort -u
siblings : 16

Code:
[root@testserver ~]# dmidecode -t processor | grep HTT
HTT (Multi-threading)
HTT (Multi-threading)
HTT (Multi-threading)
HTT (Multi-threading)
 
Old 03-09-2017, 08:02 PM   #2
Timothy Miller
Moderator
 
Registered: Feb 2003
Location: Arizona, USA
Distribution: Debian, EndeavourOS, OpenSUSE, KDE Neon
Posts: 4,005
Blog Entries: 26

Rep: Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521
Only thing I can think of off the top of my head, and I'm fairly certain from your output the answer is no, is there some virtualization layer between your OS and the actual hardware?
 
Old 03-10-2017, 10:35 PM   #3
digdogger
Member
 
Registered: Mar 2007
Distribution: CentOS
Posts: 32

Rep: Reputation: 2
Could hyper threading:

https://en.wikipedia.org/wiki/Hyper-threading

be a factor here? You'd end up with twice as many logical cores as physical cores, if I'm not mistaken.
 
  


Reply



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
4.8.16 only reports a single core in /proc/cpuinfo blastwave Linux - Kernel 10 01-17-2017 09:50 AM
cat /proc/cpuinfo showing 1 core instead of 16 ashangel Linux - Kernel 4 08-10-2012 04:33 AM
processor count differs in dmidecode & /proc/cpuinfo output Linuxfan0001 Linux - Hardware 3 02-26-2009 10:26 PM
How do I know I have a Venice core from /proc/cpuinfo ? jkl555 Linux - Hardware 2 01-19-2007 11:15 AM
Proc/CpuInfo sipsipi Linux - Software 4 03-03-2006 11:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:16 PM.

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
Open Source Consulting | Domain Registration