Samuel Thibault wrote: > Brice Goglin, le Fri 26 Feb 2010 15:32:08 +0100, a écrit : > >> * are there actually some important warnings to fix ? >> > > In my memory there isn't. > > 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) $ utils/lstopo - Machine(1509MB) + Socket l#0 + L2 l#0(2048KB) L1 l#0(32KB) + Core l#0 + P l#0 L1 l#1(32KB) + Core l#1 + P l#1 $ utils/lstopo - -p Machine(1509MB) + Socket p#0 + L2(2048KB) L1(32KB) + Core p#0 + P p#0 L1(32KB) + Core p#1 + P p#1 * #2p and #2l $ utils/lstopo - -l Machine(1509MB) + Socket#0l + L2#0l(2048KB) L1#0l(32KB) + Core#0l + P#0l L1#1l(32KB) + Core#1l + P#1l $ utils/lstopo - -p Machine(1509MB) + Socket#0p + L2(2048KB) L1(32KB) + Core#0p + P#0p L1(32KB) + Core#1p + P#1p I think I prefer the latter. Brice