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