Linux - GeneralThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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?
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.
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
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.
Sorry, I need to correct one thing. The value of apicid for each core is different.
Quote:
Originally Posted by johnsfine
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.