Open MPI logo

Hardware Locality Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Hardware Locality Development mailing list

Subject: Re: [hwloc-devel] P#0 -> P0 for logical numbers?
From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2010-01-28 09:31:56


On Jan 28, 2010, at 9:05 AM, Samuel Thibault wrote:

> Since we changed the default behavior of lstopo to display logical
> numbers instead of physical numbers, I've quite a few times taken one
> for the other, leading to confusion.

Mmm... good point.

> I agree on the fact that it's
> better to have coherency, but maybe we could change the output of lstopo
> to distinguish between physical and logical? I.e. for instance
>
> € lstopo -p -
> Machine(993MB) + Socket#0 + L2(2048KB)
> L1(32KB) + Core#0 + P#0
> L1(32KB) + Core#1 + P#1
> € lstopo -
> Machine(993MB) + Socket0 + L20(2048KB)
> L10(32KB) + Core0 + P0
> L11(32KB) + Core1 + P1

How about <foo>0p for physical, such as Core0p? The "#" doesn't really mean / connote anything.

-----
€ lstopo -p -
Machine(993MB) + Socket0p + L2(2048KB)
  L1(32KB) + Core0p + P0p
  L1(32KB) + Core1p + P1p
€ lstopo -
Machine(993MB) + Socket0 + L20(2048KB)
  L10(32KB) + Core0 + P0
  L11(32KB) + Core1 + P1
-----

Ooo -- how about roman numerals for physical?

-----
€ lstopo -p -
Machine(993MB) + SocketIIV + L2(2048KB)
  L1(32KB) + CoreX + PXI
  L1(32KB) + CoreXI + PXI
-----

Drat; Roman numerals have no "0". So -- scratch that... ;-)

-- 
Jeff Squyres
jsquyres_at_[hidden]