Re: [RFC] lscpu - CPU architecture information helper

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

 



Samuel Thibault wrote:
>>  _______________________________________________________________
>> |      |       |            |     |     |      |       |        |
>> | cpu0 |       |            |     |     |      |       |        |
>> |______| core0 |            | L1d | L1i | L2d  |       |        |
>> |      |       |            | 16K | 16K | 256K |       |        |
>> | cpu1 |       |            |     |     |      |       |        |
>> |______|_______| processor0 |_____|_____|______| L2i   | L3     |
>> |      |       |            |     |     |      | 1024K | 12288K |
>> | cpu2 |       |            |     |     |      |       |        |
>> |______| core1 |            | L1d | L1i | L2d  |       |        |
>> |      |       |            | 16K | 16K | 256K |       |        |
>> | cpu3 |       |            |     |     |      |       |        |
>> |______|_______|____________|_____|_____|______|_______|________|
>> |      |       |            |     |     |      |       |        |
>> | cpu4 |       |            |     |     |      |       |        |
>> |______| core2 |            | L1d | L1i | L2d  |       |        |
>> |      |       |            | 16K | 16K | 256K |       |        |
>> | cpu5 |       |            |     |     |      |       |        |
>> |______|_______| processor1 |_____|_____|______| L2i   | L3     |                    
>> |      |       |            |     |     |      | 1024K | 12288K |
>> | cpu6 |       |            |     |     |      |       |        |
>> |______| core3 |            | L1d | L1i | L2d  |       |        |
>> |      |       |            | 16K | 16K | 256K |       |        |
>> | cpu7 |       |            |     |     |      |       |        |
>> |______|_______|____________|_____|_____|______|_______|________|
> 
> That would be an even more readable form, and I think it wouldn't be
> difficult to generate, except that you'll need to use some topology
> sorting (cpu numbers are not always in local order...)

That output would be great, though probably
a pain in the ass to do in shell script.

Pádraig.
--
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