요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
.. SPDX-License-Identifier: GPL-2.0
===========================================
HMAT - Heterogeneous Memory Attribute Table
===========================================
The Heterogeneous Memory Attributes Table contains information such as cache
attributes and bandwidth and latency details for memory proximity domains.
For the purpose of this document, we will only discuss the SSLIB entry.
SLLBI
=====
The System Locality Latency and Bandwidth Information records latency and
bandwidth information for proximity domains.
This table is used by Linux to configure interleave weights and memory tiers.
Example (Heavily truncated for brevity) ::
Structure Type : 0001 [SLLBI]
Data Type : 00 <- Latency
Target Proximity Domain List : 00000000
Target Proximity Domain List : 00000001
Entry : 0080 <- DRAM LTC
Entry : 0100 <- CXL LTC
Structure Type : 0001 [SLLBI]
Data Type : 03 <- Bandwidth
Target Proximity Domain List : 00000000
Target Proximity Domain List : 00000001
Entry : 1200 <- DRAM BW
Entry : 0200 <- CXL BW
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
HMAT와 SLLBI
1-17.. SPDX-License-Identifier: GPL-2.0
Heterogeneous Memory Attribute Table(HMAT)에는 memory proximity domain의 cache attribute, bandwidth, latency 같은 정보가 들어 있습니다. 이 문서에서는 SSLIB entry만 다룹니다. 다음 heading과 dump에서는 같은 항목을 `SLLBI`로 표기합니다.
System Locality Latency and Bandwidth Information(SLLBI)은 proximity domain의 latency와 bandwidth 정보를 기록합니다. Linux는 이 table로 interleave weight와 memory tier를 구성합니다.
SLLBI 예시
18-32간략화한 예시는 두 target proximity domain에 대한 DRAM·CXL latency와 bandwidth entry를 각각 보여 줍니다.
Structure Type : 0001 [SLLBI]
Data Type : 00 <- Latency
Target Proximity Domain List : 00000000
Target Proximity Domain List : 00000001
Entry : 0080 <- DRAM LTC
Entry : 0100 <- CXL LTC
Structure Type : 0001 [SLLBI]
Data Type : 03 <- Bandwidth
Target Proximity Domain List : 00000000
Target Proximity Domain List : 00000001
Entry : 1200 <- DRAM BW
Entry : 0200 <- CXL BW
두 target proximity domain에 대응하는 DRAM과 CXL 성능 값을 metric별로 구조화했습니다.
요약과 해설
hmat.rst:1-32HMAT의 latency·bandwidth 값은 Linux가 CXL memory를 적절한 memory tier에 놓고 weighted interleave를 구성하는 근거입니다. SRAT의 proximity domain과 함께 해석해야 합니다.