LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-22-2011, 04:00 PM   #1
jeffwang66
LQ Newbie
 
Registered: Jan 2011
Posts: 27

Rep: Reputation: 0
A question about the topology of 48 cores system


Hi, guys:

I have a 48 cores system, which has 4 packages. Each package contains 12 cores. I have a question about its topology. In each package, why the range of core id is only from 0 to 5, rather than from 0 to 11? It seems like there are two logical processors in the same package sharing a same core id number. But each core only has a single thread.


Thanks,
 
Old 01-22-2011, 04:01 PM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Hyperthreading? What processor is this?
 
Old 01-23-2011, 09:12 AM   #3
jeffwang66
LQ Newbie
 
Registered: Jan 2011
Posts: 27

Original Poster
Rep: Reputation: 0
It is AMD Opteron 6174
 
Old 01-23-2011, 09:41 AM   #4
johnsfine
LQ Guru
 
Registered: Dec 2007
Distribution: Centos
Posts: 5,286

Rep: Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197
I don't think AMD has Hyperthreading.

That CPU has two dies per package and six cores per die, and you say you have four packages.

How many different physical ID's are reported?

The two dies in one package behave (for most SMP considerations) like two different packages, rather than like twice as many cores in one package. So it seems reasonable for you to have eight different physical IDs, and it makes sense that (as you have reported) you have only six different core IDs).

But a lot of licensing is based on CPU packaging, and AMD understands that, so they might report to the OS as one 12-core package rather than indicating the two 6-core internal structure.

Does Linux report 48 total logical processors? If not, are you sure that version of Linux understands that CPU chip? Does the BIOS see/report/enable all 48 cores?

Last edited by johnsfine; 01-23-2011 at 09:48 AM.
 
Old 01-24-2011, 11:32 AM   #5
jeffwang66
LQ Newbie
 
Registered: Jan 2011
Posts: 27

Original Poster
Rep: Reputation: 0
Yes, it reports 48 total logical processors, but only reports physical package ids from 0 to 3. And the cpu is AMD Opteron(tm) Processor 6168.
 
Old 01-24-2011, 12:25 PM   #6
johnsfine
LQ Guru
 
Registered: Dec 2007
Distribution: Centos
Posts: 5,286

Rep: Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197
Quote:
Originally Posted by jeffwang66 View Post
Yes, it reports 48 total logical processors, but only reports physical package ids from 0 to 3.
So there are only four different physical IDs and four different core IDs in /proc/cpuinfo, but 48 different "processor" numbers.

So for each of the twelve combinations of physical ID and core ID there are two different processor numbers.

If I have all that correct, please post two sections of /proc/cpuinfo showing different processor numbers but the same physical ID and core ID. I'm curious especially about what differences there are other than processor number, but also about all the other details of that cpuinfo.
 
Old 01-25-2011, 07:49 AM   #7
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 234Reputation: 234Reputation: 234
jeffwang66,

When you click "Report" instead of "Quote", your post gets lost; as you may have noticed.

Also, it usually isn't necessary to quote the post immediately before your post.
 
Old 01-25-2011, 03:20 PM   #8
jeffwang66
LQ Newbie
 
Registered: Jan 2011
Posts: 27

Original Poster
Rep: Reputation: 0
I checked /proc/cpuinfo file, for each core in the same package, one parameter called "apicid" is different. The range of this parameter is from 0 to 11 in each package to label each core I think . Do you know what is it? Does it mean each die in the same package contain six cores ?


Quote:
Originally Posted by johnsfine View Post
So there are only four different physical IDs and four different core IDs in /proc/cpuinfo, but 48 different "processor" numbers.

So for each of the twelve combinations of physical ID and core ID there are two different processor numbers.

If I have all that correct, please post two sections of /proc/cpuinfo showing different processor numbers but the same physical ID and core ID. I'm curious especially about what differences there are other than processor number, but also about all the other details of that cpuinfo.
 
Old 01-25-2011, 03:23 PM   #9
jeffwang66
LQ Newbie
 
Registered: Jan 2011
Posts: 27

Original Poster
Rep: Reputation: 0
Sorry, I need to correct one thing. The value of apicid for each core is different.


Quote:
Originally Posted by johnsfine View Post
So there are only four different physical IDs and four different core IDs in /proc/cpuinfo, but 48 different "processor" numbers.

So for each of the twelve combinations of physical ID and core ID there are two different processor numbers.

If I have all that correct, please post two sections of /proc/cpuinfo showing different processor numbers but the same physical ID and core ID. I'm curious especially about what differences there are other than processor number, but also about all the other details of that cpuinfo.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Network topology question... cavingman Linux - Server 4 03-09-2009 11:17 AM
Is this network topology available? bambeklis Linux - Networking 6 03-25-2008 03:43 PM
pen-testing client, question on gateway and network topology b0nd Linux - General 0 01-10-2008 08:18 AM
basic networking topology question mehesque Linux - Networking 2 11-07-2003 02:17 PM
Question : catching cores Saeven Linux - General 2 06-13-2002 04:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:25 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
Open Source Consulting | Domain Registration