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
jsquy...@cisco.com


Reply via email to