요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
What: /sys/bus/nd/devices/regionX/nfit/ecc_unit_size
Date: Aug, 2017
KernelVersion: v4.14 (Removed v4.18)
Contact: nvdimm@lists.linux.dev
Description:
(RO) Size of a write request to a DIMM that will not incur a
read-modify-write cycle at the memory controller.
When the nfit driver initializes it runs an ARS (Address Range
Scrub) operation across every pmem range. Part of that process
involves determining the ARS capabilities of a given address
range. One of the capabilities that is reported is the 'Clear
Uncorrectable Error Range Length Unit Size' (see: ACPI 6.2
section 9.20.7.4 Function Index 1 - Query ARS Capabilities).
This property indicates the boundary at which the NVDIMM may
need to perform read-modify-write cycles to maintain ECC (Error
Correcting Code) blocks.
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
NFIT ecc_unit_size
1-17| 항목 | 값 |
|---|---|
| What | /sys/bus/nd/devices/regionX/nfit/ecc_unit_size |
| Date | 2017년 8월 |
| KernelVersion | v4.14에서 도입, v4.18에서 제거 |
| Contact | nvdimm@lists.linux.dev |
| access | read-only |
memory controller에서 read-modify-write cycle을 일으키지 않는 DIMM write request의 크기를 나타냈다.
nfit driver는 초기화할 때 모든 pmem range에 걸쳐 ARS(Address Range Scrub) 작업을 실행한다. 이 과정에는 각 address range의 ARS capability를 확인하는 절차가 포함된다. 보고되는 capability 가운데 하나가 'Clear Uncorrectable Error Range Length Unit Size'다. 자세한 정의는 ACPI 6.2 section 9.20.7.4의 Function Index 1, Query ARS Capabilities를 참조한다.
이 속성은 ECC(Error Correcting Code) block을 유지하기 위해 NVDIMM이 read-modify-write cycle을 수행해야 할 수 있는 경계를 나타냈다.
NFIT ECC write 단위
sysfs-bus-nfit:1-17ARS capability 조회에서 얻은 ECC unit 경계 정보를 노출하던 read-only 속성으로, v4.18에서 제거됐습니다.