Re: [RESEND][RFC] lscpu - CPU architecture information helper

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

From: Samuel Thibault <samuel.thibault@xxxxxxxxxxxx>
Subject: Re: [RESEND][RFC] lscpu - CPU architecture information helper
Date: Thu, 10 Jul 2008 10:24:38 +0100

> Cai Qian, le Thu 10 Jul 2008 11:14:55 +0800, a écrit :
> > From: Samuel Thibault <samuel.thibault@xxxxxxxxxxxx>
> > Subject: Re: [RESEND][RFC] lscpu - CPU architecture information helper
> > Date: Wed, 9 Jul 2008 11:46:32 +0100
> > 
> > > Hello,
> > > 
> > > Cai Qian, le Wed 09 Jul 2008 11:50:51 +0800, a écrit :
> > > > #CPU,Core,Socket,Node,L1d,L1i,L2,L3
> > > > 0,0,0,0,0,0,0,0
> > > > 1,1,1,0,1,1,1,1
> > > > 2,2,2,1,2,2,2,2
> > > > 3,3,3,1,3,3,3,3
> > > 
> > > I'm wondering whether it may be a bit hard to grasp the switch from Node
> > > to L1d, maybe we should add a separator there?
> > > 
> > 
> > Although it maybe a little bit diffcult to match, the advantage is to
> > use CSV format and be compact. Alternatively, it could be something like
> > this,
> > 
> > cpu,0,core,0,socket,0,node,0,l1d,0,l1i,0,l2,0,l3,0
> > cpu,1,core,1,socket,1,node,0,l1d,1,l1i,1,l2,1,l3,1
> > cpu,2,core,2,socket,2,node,1,l1d,2,l1i,2,l2,2,l3,2
> > cpu,3,core,3,socket,3,node,1,l1d,3,l1i,3,l2,3,l3,3
> 
> or 
> 
> 0,0,0,0,,0,0,0,0
> 1,1,1,0,,1,1,1,1
> 2,2,2,1,,2,2,2,2
> 3,3,3,1,,3,3,3,3
> 

Yes, that looks good to me.

CaiQian

> The empty field being a extendable way to express "between processor
> topology and cache topology".
> 
> Samuel
> --
> To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux