요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
Controller correctable and uncorrectable errors
sysfs-devices-edac:31-65Controller-level CE·UE total과 DIMM slot을 특정할 수 없는 noinfo count를 제공하며 CE non-zero 값은 DIMM failure의 조기 신호로 감시해야 합니다.
Scrub bandwidth and memory layout
sysfs-devices-edac:66-85sdram_scrub_rate는 requested minimum bandwidth를 controller rate로 변환하고 실제 rate를 반환하며 max_location은 userspace가 memory filling layout을 표시하게 합니다.
DIMM and rank metadata
sysfs-devices-edac:86-141각 DIMM/rank는 size, DRAM device width, EDAC mode, physical label·location과 buffered/unbuffered memory type을 제공합니다.
Per-DIMM error counters
sysfs-devices-edac:142-157dimm_ce_count와 dimm_ue_count는 특정 DIMM의 correctable·uncorrectable error total을 제공합니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
What: /sys/devices/system/edac/mc/mc*/reset_counters
Date: January 2006
Contact: [email protected]
Description: This write-only control file will zero all the statistical
counters for UE and CE errors on the given memory controller.
Zeroing the counters will also reset the timer indicating how
long since the last counter were reset. This is useful for
computing errors/time. Since the counters are always reset
at driver initialization time, no module/kernel parameter
is available.
What: /sys/devices/system/edac/mc/mc*/seconds_since_reset
Date: January 2006
Contact: [email protected]
Description: This attribute file displays how many seconds have elapsed
since the last counter reset. This can be used with the error
counters to measure error rates.
What: /sys/devices/system/edac/mc/mc*/mc_name
Date: January 2006
Contact: [email protected]
Description: This attribute file displays the type of memory controller
that is being utilized.
What: /sys/devices/system/edac/mc/mc*/size_mb
Date: January 2006
Contact: [email protected]
Description: This attribute file displays, in count of megabytes, of memory
that this memory controller manages.
What: /sys/devices/system/edac/mc/mc*/ue_count
Date: January 2006
Contact: [email protected]
Description: This attribute file displays the total count of uncorrectable
errors that have occurred on this memory controller. If
panic_on_ue is set, this counter will not have a chance to
increment, since EDAC will panic the system
What: /sys/devices/system/edac/mc/mc*/ue_noinfo_count
Date: January 2006
Contact: [email protected]
Description: This attribute file displays the number of UEs that have
occurred on this memory controller with no information as to
which DIMM slot is having errors.
What: /sys/devices/system/edac/mc/mc*/ce_count
Date: January 2006
Contact: [email protected]
Description: This attribute file displays the total count of correctable
errors that have occurred on this memory controller. This
count is very important to examine. CEs provide early
indications that a DIMM is beginning to fail. This count
field should be monitored for non-zero values and report
such information to the system administrator.
What: /sys/devices/system/edac/mc/mc*/ce_noinfo_count
Date: January 2006
Contact: [email protected]
Description: This attribute file displays the number of CEs that
have occurred on this memory controller wherewith no
information as to which DIMM slot is having errors. Memory is
handicapped, but operational, yet no information is available
to indicate which slot the failing memory is in. This count
field should be also be monitored for non-zero values.
What: /sys/devices/system/edac/mc/mc*/sdram_scrub_rate
Date: February 2007
Contact: [email protected]
Description: Read/Write attribute file that controls memory scrubbing.
The scrubbing rate used by the memory controller is set by
writing a minimum bandwidth in bytes/sec to the attribute file.
The rate will be translated to an internal value that gives at
least the specified rate.
Reading the file will return the actual scrubbing rate employed.
If configuration fails or memory scrubbing is not implemented,
the value of the attribute file will be -1.
What: /sys/devices/system/edac/mc/mc*/max_location
Date: April 2012
Contact: Mauro Carvalho Chehab <[email protected]>
Description: This attribute file displays the information about the last
available memory slot in this memory controller. It is used by
userspace tools in order to display the memory filling layout.
What: /sys/devices/system/edac/mc/mc*/(dimm|rank)*/size
Date: April 2012
Contact: Mauro Carvalho Chehab <[email protected]>
Description: This attribute file will display the size of dimm or rank.
For dimm*/size, this is the size, in MB of the DIMM memory
stick. For rank*/size, this is the size, in MB for one rank
of the DIMM memory stick. On single rank memories (1R), this
is also the total size of the dimm. On dual rank (2R) memories,
this is half the size of the total DIMM memories.
What: /sys/devices/system/edac/mc/mc*/(dimm|rank)*/dimm_dev_type
Date: April 2012
Contact: Mauro Carvalho Chehab <[email protected]>
Description: This attribute file will display what type of DRAM device is
being utilized on this DIMM (x1, x2, x4, x8, ...).
What: /sys/devices/system/edac/mc/mc*/(dimm|rank)*/dimm_edac_mode
Date: April 2012
Contact: Mauro Carvalho Chehab <[email protected]>
Description: This attribute file will display what type of Error detection
and correction is being utilized. For example: S4ECD4ED would
mean a Chipkill with x4 DRAM.
What: /sys/devices/system/edac/mc/mc*/(dimm|rank)*/dimm_label
Date: April 2012
Contact: Mauro Carvalho Chehab <[email protected]>
Description: This control file allows this DIMM to have a label assigned
to it. With this label in the module, when errors occur
the output can provide the DIMM label in the system log.
This becomes vital for panic events to isolate the
cause of the UE event.
DIMM Labels must be assigned after booting, with information
that correctly identifies the physical slot with its
silk screen label. This information is currently very
motherboard specific and determination of this information
must occur in userland at this time.
What: /sys/devices/system/edac/mc/mc*/(dimm|rank)*/dimm_location
Date: April 2012
Contact: Mauro Carvalho Chehab <[email protected]>
Description: This attribute file will display the location (csrow/channel,
branch/channel/slot or channel/slot) of the dimm or rank.
What: /sys/devices/system/edac/mc/mc*/(dimm|rank)*/dimm_mem_type
Date: April 2012
Contact: Mauro Carvalho Chehab <[email protected]>
Description: This attribute file will display what type of memory is
currently on this csrow. Normally, either buffered or
unbuffered memory (for example, Unbuffered-DDR3).
What: /sys/devices/system/edac/mc/mc*/(dimm|rank)*/dimm_ce_count
Date: October 2016
Contact: [email protected]
Description: This attribute file displays the total count of correctable
errors that have occurred on this DIMM. This count is very important
to examine. CEs provide early indications that a DIMM is beginning
to fail. This count field should be monitored for non-zero values
and report such information to the system administrator.
What: /sys/devices/system/edac/mc/mc*/(dimm|rank)*/dimm_ue_count
Date: October 2016
Contact: [email protected]
Description: This attribute file displays the total count of uncorrectable
errors that have occurred on this DIMM. If panic_on_ue is set, this
counter will not have a chance to increment, since EDAC will panic the
system
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
Reset controller error counters
1-11| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/devices/system/edac/mc/mc*/reset_counters |
| Date | 2006년 1월 |
| Contact | [email protected] |
| Description | 해당 memory controller의 UE와 CE error statistical counter를 모두 0으로 만드는 write-only control file입니다. Counter를 0으로 만들면 마지막 counter reset 뒤 경과 time을 나타내는 timer도 reset됩니다. 이를 errors/time 계산에 사용할 수 있습니다. Driver initialization 때 counter가 항상 reset되므로 module/kernel parameter는 없습니다. |
| Access | Write-only |
Seconds since counter reset
12-18| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/devices/system/edac/mc/mc*/seconds_since_reset |
| Date | 2006년 1월 |
| Contact | [email protected] |
| Description | 마지막 counter reset 뒤 경과한 seconds를 표시합니다. Error counter와 함께 error rate를 측정할 수 있습니다. |
| Unit | Seconds |
Memory-controller type
19-24| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/devices/system/edac/mc/mc*/mc_name |
| Date | 2006년 1월 |
| Contact | [email protected] |
| Description | 사용 중인 memory controller type을 표시합니다. |
Managed memory size
25-30| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/devices/system/edac/mc/mc*/size_mb |
| Date | 2006년 1월 |
| Contact | [email protected] |
| Description | 이 memory controller가 관리하는 memory 양을 megabyte count로 표시합니다. |
| Unit | Megabytes |
Counter와 elapsed time을 함께 reset하고 이후 error rate를 계산합니다.
Controller uncorrectable-error count
31-38| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/devices/system/edac/mc/mc*/ue_count |
| Date | 2006년 1월 |
| Contact | [email protected] |
| Description | 이 memory controller에서 발생한 uncorrectable error total count를 표시합니다. panic_on_ue가 set되어 있으면 EDAC가 system을 panic시키므로 이 counter가 증가할 기회를 얻지 못합니다. |
Unlocated controller UE count
39-45| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/devices/system/edac/mc/mc*/ue_noinfo_count |
| Date | 2006년 1월 |
| Contact | [email protected] |
| Description | 이 memory controller에서 발생했지만 어느 DIMM slot에 error가 있는지 정보가 없는 UE 수를 표시합니다. |
Controller correctable-error count
46-55| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/devices/system/edac/mc/mc*/ce_count |
| Date | 2006년 1월 |
| Contact | [email protected] |
| Description | 이 memory controller에서 발생한 correctable error total count를 표시합니다. CE는 DIMM이 fail하기 시작한다는 조기 신호이므로 이 count는 매우 중요합니다. Non-zero value를 감시하고 system administrator에게 보고해야 합니다. |
Unlocated controller CE count
56-65| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/devices/system/edac/mc/mc*/ce_noinfo_count |
| Date | 2006년 1월 |
| Contact | [email protected] |
| Description | 이 memory controller에서 발생했지만 어느 DIMM slot에 error가 있는지 정보가 없는 CE 수를 표시합니다. Memory는 손상되었지만 operational이며 failing memory가 어느 slot에 있는지 알 수 없습니다. 이 count도 non-zero value를 감시해야 합니다. |
Correctability와 DIMM-location availability의 두 축으로 counter가 나뉩니다.
CE는 조기 경고로 감시하고 UE는 panic policy에 따라 counter update 전에 system을 멈출 수 있습니다.
Memory scrubbing bandwidth
66-77| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/devices/system/edac/mc/mc*/sdram_scrub_rate |
| Date | 2007년 2월 |
| Contact | [email protected] |
| Description | Memory scrubbing을 control하는 read/write attribute file입니다. Attribute에 minimum bandwidth를 bytes/sec로 쓰면 memory controller가 사용할 scrubbing rate를 설정합니다. Rate는 지정한 rate 이상을 제공하는 internal value로 translate됩니다. Read하면 실제 적용 중인 scrubbing rate를 반환합니다. Configuration이 fail하거나 memory scrubbing을 구현하지 않았으면 -1입니다. |
| Unit | Bytes per second |
| Access | Read/write |
Last available memory slot
78-85| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/devices/system/edac/mc/mc*/max_location |
| Date | 2012년 4월 |
| Contact | Mauro Carvalho Chehab <[email protected]>, [email protected] |
| Description | 이 memory controller에서 마지막으로 사용할 수 있는 memory slot 정보를 표시합니다. Userspace tool이 memory filling layout을 표시하는 데 사용합니다. |
Requested minimum bandwidth가 hardware internal rate로 변환되고 actual rate를 다시 읽습니다.
DIMM or rank size
86-96| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/devices/system/edac/mc/mc*/(dimm|rank)*/size |
| Date | 2012년 4월 |
| Contact | Mauro Carvalho Chehab <[email protected]>, [email protected] |
| Description | DIMM 또는 rank size를 표시합니다. dimm*/size는 DIMM memory stick의 MB size입니다. rank*/size는 DIMM stick 한 rank의 MB size입니다. Single-rank(1R) memory에서는 DIMM total size와 같고 dual-rank(2R) memory에서는 total DIMM memory size의 절반입니다. |
| Unit | Megabytes |
rank*/size가 DIMM total에서 차지하는 비율입니다.
DIMM DRAM device width
97-103| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/devices/system/edac/mc/mc*/(dimm|rank)*/dimm_dev_type |
| Date | 2012년 4월 |
| Contact | Mauro Carvalho Chehab <[email protected]>, [email protected] |
| Description | 이 DIMM에서 사용하는 DRAM device type을 표시합니다. 예: x1, x2, x4, x8 등. |
DIMM error detection and correction mode
104-111| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/devices/system/edac/mc/mc*/(dimm|rank)*/dimm_edac_mode |
| Date | 2012년 4월 |
| Contact | Mauro Carvalho Chehab <[email protected]>, [email protected] |
| Description | 사용 중인 Error detection and correction type을 표시합니다. 예를 들어 S4ECD4ED는 x4 DRAM을 사용하는 Chipkill을 뜻합니다. |
Userspace-assigned physical DIMM label
112-126| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/devices/system/edac/mc/mc*/(dimm|rank)*/dimm_label |
| Date | 2012년 4월 |
| Contact | Mauro Carvalho Chehab <[email protected]>, [email protected] |
| Description | DIMM에 label을 assign할 수 있는 control file입니다. Module에 label이 있으면 error 발생 시 system log에 DIMM label을 출력할 수 있으며 panic event에서 UE 원인을 isolate하는 데 매우 중요합니다. DIMM label은 boot 뒤 physical slot의 silk-screen label을 정확히 식별하는 정보로 assign해야 합니다. 이 정보는 motherboard마다 매우 달라 현재 userspace에서 결정해야 합니다. |
| Access | Control file |
DIMM or rank location
127-133| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/devices/system/edac/mc/mc*/(dimm|rank)*/dimm_location |
| Date | 2012년 4월 |
| Contact | Mauro Carvalho Chehab <[email protected]>, [email protected] |
| Description | DIMM 또는 rank location을 표시합니다. 형식은 csrow/channel, branch/channel/slot 또는 channel/slot입니다. |
DIMM memory type
134-141| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/devices/system/edac/mc/mc*/(dimm|rank)*/dimm_mem_type |
| Date | 2012년 4월 |
| Contact | Mauro Carvalho Chehab <[email protected]>, [email protected] |
| Description | 현재 이 csrow에 있는 memory type을 표시합니다. 일반적으로 buffered 또는 unbuffered memory입니다. 예: Unbuffered-DDR3. |
Physical replacement과 error diagnosis에 필요한 identity surface입니다.
Per-DIMM correctable-error count
142-150| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/devices/system/edac/mc/mc*/(dimm|rank)*/dimm_ce_count |
| Date | 2016년 10월 |
| Contact | [email protected] |
| Description | 이 DIMM에서 발생한 correctable error total count를 표시합니다. CE는 DIMM failure의 조기 신호이므로 non-zero value를 감시하고 system administrator에게 보고해야 합니다. |
Per-DIMM uncorrectable-error count
151-157| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/devices/system/edac/mc/mc*/(dimm|rank)*/dimm_ue_count |
| Date | 2016년 10월 |
| Contact | [email protected] |
| Description | 이 DIMM에서 발생한 uncorrectable error total count를 표시합니다. panic_on_ue가 set되어 있으면 EDAC가 system을 panic시키므로 counter가 증가할 기회를 얻지 못합니다. |
Counter를 physical label과 location에 결합해 failing memory를 교체 대상으로 식별합니다.
Controller reset, identity and capacity
sysfs-devices-edac:1-30Memory controller는 CE/UE counter와 elapsed timer를 reset하고 reset 이후 seconds, controller type과 managed memory size를 제공합니다.