Open MPI logo

Hardware Locality Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |  

This web mail archive is frozen.

This page is part of a frozen web archive of this mailing list.

You can still navigate around this archive, but know that no new mails have been added to it since July of 2016.

Click here to be taken to the new web archives of this list; it includes all the mails that are in this frozen archive plus all new mails that have been sent to the list since it was migrated to the new archives.

Subject: Re: [hwloc-devel] 1.0-rc1
From: Jeff Squyres (jsquyres) (jsquyres_at_[hidden])
Date: 2010-03-03 06:37:10

Sounnds reasonable to me:

1. Drop --log and --phys; only have --verb
2. Print phys as an attribute; print lots more phys's with --verb
3. I don't have much of an opinion wrt gui output, but it should be consistent with all the other flavors of output

My $0.02.

Sent from my PDA. No type good.

----- Original Message -----
From: hwloc-devel-bounces_at_[hidden] <hwloc-devel-bounces_at_[hidden]>
To: Hardware locality development list <hwloc-devel_at_[hidden]>
Sent: Wed Mar 03 03:56:42 2010
Subject: Re: [hwloc-devel] 1.0-rc1

Brice Goglin wrote:
>> What hasn't been finished yet and to my opinion needs to be for v1.0, is
>> the prefix/suffix/whatever to easily distinguish between physical and
>> logical numbers in lstopo.
> I played with this today and arrived to these conclusions:
> * Having 'l' or 'p' prefix without # or any other special character is
> very confusing since we already have things like L1 for cache levels and
> P for proc numbers
> * Having nothing before the number is a bad idea, it would be confusing
> with cache/misc levels
> * I like '#' as a prefix since it's widely used as a symbol meaning
> "number" and I found no other nice character
> So I see two solutions:
> * p#2 and l#2 (prefixed with a space)
> [...]
> * #2p and #2l
> [...]

I am asking people here, some are confused by all these
--logical/--physical outputs. One idea that came is to always keep the
logical index and print the physical index as an attribute. Something like:

$ lstopo -
Machine(1508MB) + Socket#0 (phys=0) + L2(phys=0,2048KB)
  L1(phys=0,32KB) + Core#0(phys=0) + P#0(phys=0)
  L1(phys=1,32KB) + Core#1(phys=1) + P#1(phys=1)

I am interested by this idea. The physical index could actually be
displayed as an attribute for Proc all the time since it's often
interesting. The physical index of other objects is often useless and
even confusing.

So what about we:
1) keep --logical by default, add physical index in Proc attributes by
2) if --verbose, we add the physical index in every object attribute
3) if --physical, we replace #0 with physical indexes as #0p (and don't
print logical indexes anywhere)
I would actually just drop (3). If we really need --physical to match
other tools command-line options, we could just make --physical
equivalent to --verbose.


hwloc-devel mailing list