요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
Performance monitoring
sysfs-bus-nvdimm:10-46format은 perf_event_attr.config bit range를, events는 PMU event를, cpumask는 event counter 데이터를 가져올 CPU를 노출합니다.
CXL identity and provider
sysfs-bus-nvdimm:47-59CXL 전용 id는 장치 serial을, provider는 NVDIMM 장치와 CXL memory 장치를 연결하는 CXL bridge 장치를 제공합니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
1
What: nvdimm
2
Date: July 2020
3
KernelVersion: 5.8
4
Contact: Dan Williams <[email protected]>
5
Description:
7
The libnvdimm sub-system implements a common sysfs interface for
8
platform nvdimm resources. See Documentation/driver-api/nvdimm/.
10
What: /sys/bus/event_source/devices/nmemX/format
11
Date: February 2022
12
KernelVersion: 5.18
13
Contact: Kajol Jain <[email protected]>
14
Description: (RO) Attribute group to describe the magic bits
15
that go into perf_event_attr.config for a particular pmu.
16
(See ABI/testing/sysfs-bus-event_source-devices-format).
18
Each attribute under this group defines a bit range of the
19
perf_event_attr.config. Supported attribute is listed
20
below::
22
event = "config:0-4" - event ID
24
For example::
26
ctl_res_cnt = "event=0x1"
28
What: /sys/bus/event_source/devices/nmemX/events
29
Date: February 2022
30
KernelVersion: 5.18
31
Contact: Kajol Jain <[email protected]>
32
Description: (RO) Attribute group to describe performance monitoring events
33
for the nvdimm memory device. Each attribute in this group
34
describes a single performance monitoring event supported by
35
this nvdimm pmu. The name of the file is the name of the event.
36
(See ABI/testing/sysfs-bus-event_source-devices-events). A
37
listing of the events supported by a given nvdimm provider type
38
can be found in Documentation/driver-api/nvdimm/$provider.
40
What: /sys/bus/event_source/devices/nmemX/cpumask
41
Date: February 2022
42
KernelVersion: 5.18
43
Contact: Kajol Jain <[email protected]>
44
Description: (RO) This sysfs file exposes the cpumask which is designated to
45
to retrieve nvdimm pmu event counter data.
47
What: /sys/bus/nd/devices/nmemX/cxl/id
48
Date: November 2022
49
KernelVersion: 6.2
50
Contact: Dave Jiang <[email protected]>
51
Description: (RO) Show the id (serial) of the device. This is CXL specific.
53
What: /sys/bus/nd/devices/nmemX/cxl/provider
54
Date: November 2022
55
KernelVersion: 6.2
56
Contact: Dave Jiang <[email protected]>
57
Description: (RO) Shows the CXL bridge device that ties to a CXL memory device
58
to this NVDIMM device. I.e. the parent of the device returned is
59
a /sys/bus/cxl/devices/memX instance.
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
libnvdimm 공통 sysfs interface
1-9| 항목 | 한국어 전문 번역 |
|---|---|
| What | nvdimm |
| Date | 2020년 7월 |
| KernelVersion | 5.8 |
| Contact | Dan Williams <[email protected]> |
| Description | libnvdimm subsystem은 platform NVDIMM resource를 위한 공통 sysfs interface를 구현합니다. |
| Reference | Documentation/driver-api/nvdimm/ |
NVDIMM PMU event format
10-27| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/event_source/devices/nmemX/format |
| Date | 2022년 2월 |
| KernelVersion | 5.18 |
| Contact | Kajol Jain <[email protected]> |
| Description | (RO) 특정 PMU의 perf_event_attr.config에 들어가는 magic bit를 설명하는 attribute group입니다. 이 group 아래의 각 속성은 perf_event_attr.config의 bit range를 정의합니다. |
| Reference | ABI/testing/sysfs-bus-event_source-devices-format |
event = "config:0-4" - event ID
ctl_res_cnt = "event=0x1"
NVDIMM PMU event 목록
28-39| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/event_source/devices/nmemX/events |
| Date | 2022년 2월 |
| KernelVersion | 5.18 |
| Contact | Kajol Jain <[email protected]> |
| Description | (RO) NVDIMM memory 장치의 performance monitoring event를 설명하는 attribute group입니다. 이 group의 각 속성은 해당 NVDIMM PMU가 지원하는 event 하나를 설명하고 file 이름은 event 이름입니다. 주어진 NVDIMM provider 유형이 지원하는 event 목록은 provider별 문서에서 확인할 수 있습니다. |
| Reference | ABI/testing/sysfs-bus-event_source-devices-events / Documentation/driver-api/nvdimm/$provider |
NVDIMM PMU CPU mask
40-46| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/event_source/devices/nmemX/cpumask |
| Date | 2022년 2월 |
| KernelVersion | 5.18 |
| Contact | Kajol Jain <[email protected]> |
| Description | (RO) NVDIMM PMU event counter 데이터를 가져오도록 지정된 cpumask를 노출합니다. 원문에는 'to'가 두 번 반복되어 있습니다. |
CXL memory 장치 serial
47-52| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/nd/devices/nmemX/cxl/id |
| Date | 2022년 11월 |
| KernelVersion | 6.2 |
| Contact | Dave Jiang <[email protected]> |
| Description | (RO) 장치의 ID(serial)를 표시합니다. CXL 전용 속성입니다. |
CXL provider bridge
53-59| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/nd/devices/nmemX/cxl/provider |
| Date | 2022년 11월 |
| KernelVersion | 6.2 |
| Contact | Dave Jiang <[email protected]> |
| Description | (RO) CXL memory 장치를 이 NVDIMM 장치에 연결하는 CXL bridge 장치를 표시합니다. 반환된 장치의 parent는 /sys/bus/cxl/devices/memX instance입니다. |
Common platform interface
sysfs-bus-nvdimm:1-9libnvdimm subsystem은 platform NVDIMM resource를 위한 공통 sysfs interface를 구현합니다.