NUMA cache

楼主: HILL33LOVE (就是爱希尔)   2017-05-31 12:12:26
底下有个别执行
#dmidecode -t cache
#lstopo-no-graphics
的输出结果
想请教两个问题
Q1.Level 1 cache的Installed Size与Maximum Size都是显示 256 kB
而在lstopo-no-graphics显示却是L1d L#0 (32KB) + L1i L#0 (32KB)
这两边指的L1是不一样的东西吗?
Q2.在lstopo-no-graphics输出结果
在NUMA架构 每个Node都会有各自的RAM (此例是126GB)系统全部是252GB
那假设在NUMA Node 0里面的core 1要执行一只程式的内存如果要alloc超过126GB是可
以的吗?
谢谢
# dmidecode -t cache
# dmidecode 2.12
SMBIOS 2.7 present.
Handle 0x0700, DMI type 7, 19 bytes
Cache Information
Socket Designation: Not Specified
Configuration: Enabled, Not Socketed, Level 1
Operational Mode: Write Through
Location: Internal
Installed Size: 256 kB
Maximum Size: 256 kB
Supported SRAM Types:
Unknown
Installed SRAM Type: Unknown
Speed: Unknown
Error Correction Type: Single-bit ECC
System Type: Data
Associativity: 8-way Set-associative
Handle 0x0701, DMI type 7, 19 bytes
Cache Information
Socket Designation: Not Specified
Configuration: Enabled, Not Socketed, Level 2
Operational Mode: Write Through
Location: Internal
Installed Size: 2048 kB
Maximum Size: 2048 kB
Supported SRAM Types:
Unknown
Installed SRAM Type: Unknown
Speed: Unknown
Error Correction Type: Single-bit ECC
System Type: Unified
Associativity: 8-way Set-associative
Handle 0x0702, DMI type 7, 19 bytes
Cache Information
Socket Designation: Not Specified
Configuration: Enabled, Not Socketed, Level 3
Operational Mode: Write Back
Location: Internal
Installed Size: 20480 kB
Maximum Size: 20480 kB
Supported SRAM Types:
Unknown
Installed SRAM Type: Unknown
Speed: Unknown
Error Correction Type: Single-bit ECC
System Type: Unified
Associativity: 20-way Set-associative
Handle 0x0703, DMI type 7, 19 bytes
Cache Information
Socket Designation: Not Specified
Configuration: Enabled, Not Socketed, Level 1
Operational Mode: Write Through
Location: Internal
Installed Size: 256 kB
Maximum Size: 256 kB
Supported SRAM Types:
Unknown
Installed SRAM Type: Unknown
Speed: Unknown
Error Correction Type: Single-bit ECC
System Type: Data
Associativity: 8-way Set-associative
Handle 0x0704, DMI type 7, 19 bytes
Cache Information
Socket Designation: Not Specified
Configuration: Enabled, Not Socketed, Level 2
Operational Mode: Write Through
Location: Internal
Installed Size: 2048 kB
Maximum Size: 2048 kB
Supported SRAM Types:
Unknown
Installed SRAM Type: Unknown
Speed: Unknown
Error Correction Type: Single-bit ECC
System Type: Unified
Associativity: 8-way Set-associative
Handle 0x0705, DMI type 7, 19 bytes
Cache Information
Socket Designation: Not Specified
Configuration: Enabled, Not Socketed, Level 3
Operational Mode: Write Back
Location: Internal
Installed Size: 20480 kB
Maximum Size: 20480 kB
Supported SRAM Types:
Unknown
Installed SRAM Type: Unknown
Speed: Unknown
Error Correction Type: Single-bit ECC
System Type: Unified
Associativity: 20-way Set-associative
作者: ryoma617 (zhou)   2017-06-05 02:10:00
Q1:L1 cache 都是指相同的东西,新的CPU,L1 cache会有两个区域,L1i(instraction)与L1d(data);不建议您用dmi查询硬件资讯,因为此资询是BIOS产生,硬件厂商常常不会特别调整此值,因此常会是错误资讯Q2:NUMA只有在2个实体CPU以上的主机板才能在BIOS开启此功能,此功能主要是在提高Memory performance,因此你可以存取Memory所有空间

Links booklink

Contact Us: admin [ a t ] ucptt.com