LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   A question about the topology of 48 cores system (https://www.linuxquestions.org/questions/linux-general-1/a-question-about-the-topology-of-48-cores-system-858020/)

jeffwang66 01-22-2011 04:00 PM

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,

AlucardZero 01-22-2011 04:01 PM

Hyperthreading? What processor is this?

jeffwang66 01-23-2011 09:12 AM

It is AMD Opteron 6174

johnsfine 01-23-2011 09:41 AM

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?

jeffwang66 01-24-2011 11:32 AM

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.

johnsfine 01-24-2011 12:25 PM

Quote:

Originally Posted by jeffwang66 (Post 4236247)
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.

archtoad6 01-25-2011 07:49 AM

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.

jeffwang66 01-25-2011 03:20 PM

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 (Post 4236284)
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.


jeffwang66 01-25-2011 03:23 PM

Sorry, I need to correct one thing. The value of apicid for each core is different.


Quote:

Originally Posted by johnsfine (Post 4236284)
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.



All times are GMT -5. The time now is 10:20 AM.