Re: RFC: /proc/cpuinfo confusion with AMD processors

2014-07-02 Thread Pavel Machek
On Mon 2014-06-30 15:38:03, Borislav Petkov wrote: > On Mon, Jun 30, 2014 at 09:29:05AM -0400, Prarit Bhargava wrote: > > Yes, I get that. But this doesn't uniquely identify *which* processor > > it is. > > What do you mean, which processor it is? You want to know which > processor on the motherbo

Re: RFC: /proc/cpuinfo confusion with AMD processors

2014-06-30 Thread Borislav Petkov
On Mon, Jun 30, 2014 at 10:07:57AM -0400, Prarit Bhargava wrote: > Sorry, yes, exactly that. Requests have come in where an admin > is setting up system loads relative to specific nodes and cores. > Determining that information is trivial on Intel and a lot more > difficult on AMD. (see below) Yea

Re: RFC: /proc/cpuinfo confusion with AMD processors

2014-06-30 Thread Prarit Bhargava
On 06/30/2014 09:38 AM, Borislav Petkov wrote: > On Mon, Jun 30, 2014 at 09:29:05AM -0400, Prarit Bhargava wrote: >> Yes, I get that. But this doesn't uniquely identify *which* processor >> it is. > > What do you mean, which processor it is? You want to know which > processor on the motherboard,

Re: RFC: /proc/cpuinfo confusion with AMD processors

2014-06-30 Thread Borislav Petkov
On Mon, Jun 30, 2014 at 09:29:05AM -0400, Prarit Bhargava wrote: > Yes, I get that. But this doesn't uniquely identify *which* processor > it is. What do you mean, which processor it is? You want to know which processor on the motherboard, physically? When you look at the mobo and if all is enumer

Re: RFC: /proc/cpuinfo confusion with AMD processors

2014-06-30 Thread Prarit Bhargava
On 06/30/2014 09:13 AM, Borislav Petkov wrote: > On Mon, Jun 30, 2014 at 08:50:47AM -0400, Prarit Bhargava wrote: >> AMD defines a "Package" as the hardware processor itself. Each Package >> contains >> multiple Nodes, and each Node has multiple Compute Units. Each Compute Unit >> can >> have

Re: RFC: /proc/cpuinfo confusion with AMD processors

2014-06-30 Thread Borislav Petkov
On Mon, Jun 30, 2014 at 08:50:47AM -0400, Prarit Bhargava wrote: > AMD defines a "Package" as the hardware processor itself. Each Package > contains > multiple Nodes, and each Node has multiple Compute Units. Each Compute Unit > can > have up to 2 cores that [with the 62xx and 63xx] do not have

RFC: /proc/cpuinfo confusion with AMD processors

2014-06-30 Thread Prarit Bhargava
AMD defines a "Package" as the hardware processor itself. Each Package contains multiple Nodes, and each Node has multiple Compute Units. Each Compute Unit can have up to 2 cores that [with the 62xx and 63xx] do not have multiple Threads. That is, to determine the number of CPUs that Linux sees,