Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1675861
| From | Brice Goglin <brice.goglin@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 1/2] x86/CPU/AMD: Present package as die instead of socket |
| Date | 2017-06-27 17:00 +0200 |
| Message-ID | <tX089-1VG-11@gated-at.bofh.it> (permalink) |
| References | <tWWee-7HI-5@gated-at.bofh.it> <tWWee-7HI-7@gated-at.bofh.it> <tWWee-7HI-3@gated-at.bofh.it> <tWZ2q-1ch-11@gated-at.bofh.it> <tWZF9-1JQ-51@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Le 27/06/2017 16:21, Thomas Gleixner a écrit :
> On Tue, 27 Jun 2017, Suravee Suthikulpanit wrote:
>> On 6/27/17 17:48, Borislav Petkov wrote:
>>> On Tue, Jun 27, 2017 at 01:40:52AM -0500, Suravee Suthikulpanit wrote:
>>>> However, this is not the case on AMD family17h multi-die processor
>>>> platforms, which can have up to 4 dies per socket as shown in the
>>>> following system topology.
>>> So what exactly does that mean? A die is a package on ZN and you can have up
>>> to 4 packages on a physical socket?
>> Yes. 4 packages (or 4 dies, or 4 NUMA nodes) in a socket.
> And why is this relevant at all?
>
> The kernel does not care about sockets. Sockets are electromechanical
> components and completely irrelevant.
>
> The kernel cares about :
>
> Threads - Single scheduling unit
>
> Cores - Contains one or more threads
>
> Packages - Contains one or more cores. The cores share L3.
>
> NUMA Node - Contains one or more Packages which share a memory
> controller.
>
> I'm not aware of x86 systems which have several Packages
> sharing a memory controller, so Package == NUMA Node
> (but I might be wrong here).
You often have multiple NUMA nodes inside a single package. That's what
we see in sysfs on Intel (since haswell, when Cluster-on-Die is enabled)
and on AMD (since magny-cours).
Kernel "packages" contains cores whose "physical_package_id" are the
same. Documentation says:
physical_package_id: physical package id of cpu#. Typically
corresponds to a physical socket number, but the actual value
is architecture and platform dependent.
I don't know if it's possible on x86 to have different
physical_package_ids for different cores on a single socket.
Brice
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: [PATCH 1/2] x86/CPU/AMD: Present package as die instead of socket Borislav Petkov <bp@alien8.de> - 2017-06-27 12:50 +0200
Re: [PATCH 1/2] x86/CPU/AMD: Present package as die instead of socket Borislav Petkov <bp@alien8.de> - 2017-06-27 15:50 +0200
Re: [PATCH 1/2] x86/CPU/AMD: Present package as die instead of socket Borislav Petkov <bp@alien8.de> - 2017-06-27 19:50 +0200
RE: [PATCH 1/2] x86/CPU/AMD: Present package as die instead of socket "Ghannam, Yazen" <Yazen.Ghannam@amd.com> - 2017-06-27 20:40 +0200
Re: [PATCH 1/2] x86/CPU/AMD: Present package as die instead of socket Borislav Petkov <bp@alien8.de> - 2017-06-27 20:50 +0200
Re: [PATCH 1/2] x86/CPU/AMD: Present package as die instead of socket Borislav Petkov <bp@alien8.de> - 2017-06-28 11:20 +0200
Re: [PATCH 1/2] x86/CPU/AMD: Present package as die instead of socket Thomas Gleixner <tglx@linutronix.de> - 2017-06-27 16:30 +0200
Re: [PATCH 1/2] x86/CPU/AMD: Present package as die instead of socket Brice Goglin <brice.goglin@gmail.com> - 2017-06-27 17:00 +0200
RE: [PATCH 1/2] x86/CPU/AMD: Present package as die instead of socket "Duran, Leo" <leo.duran@amd.com> - 2017-06-27 17:50 +0200
RE: [PATCH 1/2] x86/CPU/AMD: Present package as die instead of socket Thomas Gleixner <tglx@linutronix.de> - 2017-06-27 18:20 +0200
RE: [PATCH 1/2] x86/CPU/AMD: Present package as die instead of socket "Duran, Leo" <leo.duran@amd.com> - 2017-06-27 18:40 +0200
Re: [PATCH 1/2] x86/CPU/AMD: Present package as die instead of socket Borislav Petkov <bp@alien8.de> - 2017-06-27 18:20 +0200
RE: [PATCH 1/2] x86/CPU/AMD: Present package as die instead of socket "Duran, Leo" <leo.duran@amd.com> - 2017-06-27 18:30 +0200
Re: [PATCH 1/2] x86/CPU/AMD: Present package as die instead of socket Borislav Petkov <bp@alien8.de> - 2017-06-27 18:40 +0200
Re: [PATCH 1/2] x86/CPU/AMD: Present package as die instead of socket Borislav Petkov <bp@alien8.de> - 2017-06-27 18:50 +0200
RE: [PATCH 1/2] x86/CPU/AMD: Present package as die instead of socket "Duran, Leo" <leo.duran@amd.com> - 2017-06-27 19:10 +0200
RE: [PATCH 1/2] x86/CPU/AMD: Present package as die instead of socket "Duran, Leo" <leo.duran@amd.com> - 2017-06-27 18:50 +0200
Re: [PATCH 1/2] x86/CPU/AMD: Present package as die instead of socket Borislav Petkov <bp@alien8.de> - 2017-06-27 18:20 +0200
csiph-web