← Documents 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 이름, symbol, source path는 원문 표기를 사용합니다.

1. 요약·해설

원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.

요약·해설

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. 한국어 전문 번역

영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 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.