Documentation/tools/rtla/common_osnoise_description.txt GitHub 원문 ↗

Linux 6.18.37 · Kernel Tools

rtla osnoise 동작 설명

osnoise가 per-CPU kernel thread로 time-read delta와 OS interference counter를 측정하는 방식을 설명합니다.

Source pathDocumentation/tools/rtla/common_osnoise_description.txt
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

요약·해설, 영어 원문, 전체 번역을 구분해 실었습니다. API 이름, 코드 심벌, 소스 경로는 원문 표기를 유지합니다.

1. 요약·해설

원문의 핵심 내용을 정리하고 커널 프로그래밍에 필요한 설명을 덧붙였습니다. 아래의 전체 번역과는 별도로 작성한 해설입니다.

요약·해설

common_osnoise_description.txt:1-8

osnoise가 per-CPU kernel thread로 time-read delta와 OS interference counter를 측정하는 방식을 설명합니다.

2. 영어 원문 전체

번역에 사용한 Linux v6.18.37 원문입니다. 줄 번호는 해당 버전의 소스 파일을 기준으로 합니다.

원문 전체 펼치기
1 The **rtla osnoise** tool is an interface for the *osnoise* tracer. The
2 *osnoise* tracer dispatches a kernel thread per-cpu. These threads read the
3 time in a loop while with preemption, softirq and IRQs enabled, thus
4 allowing all the sources of operating system noise during its execution.
5 The *osnoise*'s tracer threads take note of the delta between each time
6 read, along with an interference counter of all sources of interference.
7 At the end of each period, the *osnoise* tracer displays a summary of
8 the results.
9

3. 한국어 전문 번역

영어 원문의 문단 순서와 의미에 맞춰 전체 내용을 번역했습니다. 코드, 함수명, 코드 심벌, URL은 원문 표기를 유지합니다.

Per-CPU sample thread와 interference

1-8

`rtla osnoise`는 `osnoise` tracer의 interface다. tracer는 CPU마다 kernel thread 하나를 배치하고, preemption, softirq, IRQ를 활성화한 상태에서 loop로 시간을 읽어 실행 중 발생하는 모든 operating-system noise source를 허용한다.

tracer thread는 연속된 time read 사이의 delta와 각 interference source의 counter를 기록한다. 각 period가 끝나면 `osnoise` tracer가 결과 summary를 표시한다.

osnoise 측정 loop
Per-CPU kernel threadRead time
Preemption / softirq / IRQ enabledInterference occurs
Read time againRecord delta + countersPeriod summary

의도적으로 OS 간섭을 허용한 채 시간 차이를 기록한다.

The **rtla osnoise** tool is an interface for the *osnoise* tracer. The
*osnoise* tracer dispatches a kernel thread per-cpu. These threads read the
time in a loop while with preemption, softirq and IRQs enabled, thus
allowing all the sources of operating system noise during its execution.
The *osnoise*'s tracer threads take note of the delta between each time
read, along with an interference counter of all sources of interference.
At the end of each period, the *osnoise* tracer displays a summary of
the results.