요약·해설, 영어 원문, 전체 번역을 구분해 실었습니다. API 이름, 코드 심벌, 소스 경로는 원문 표기를 유지합니다.
1. 요약·해설
원문의 핵심 내용을 정리하고 커널 프로그래밍에 필요한 설명을 덧붙였습니다. 아래의 전체 번역과는 별도로 작성한 해설입니다.
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: [email protected]
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. 한국어 전문 번역
영어 원문의 문단 순서와 의미에 맞춰 전체 내용을 번역했습니다. 코드, 함수명, 코드 심벌, 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 | [email protected] |
| 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에서 제거됐습니다.