요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
VMA and global readahead
sysfs-kernel-mm-swap:6-16VMA에 mapped된 anonymous pages만 VMA-based readahead로 처리할지, 모든 swappable pages를 global algorithm으로 처리할지 선택합니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
1
What: /sys/kernel/mm/swap/
2
Date: August 2017
3
Contact: Linux memory management mailing list <[email protected]>
4
Description: Interface for swapping
6
What: /sys/kernel/mm/swap/vma_ra_enabled
7
Date: August 2017
8
Contact: Linux memory management mailing list <[email protected]>
9
Description: Enable/disable VMA based swap readahead.
11
If set to true, the VMA based swap readahead algorithm
12
will be used for swappable anonymous pages mapped in a
13
VMA, and the global swap readahead algorithm will be
14
still used for tmpfs etc. other users. If set to
15
false, the global swap readahead algorithm will be
16
used for all swappable pages.
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
Swap swap
1-5| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/kernel/mm/swap/ |
| Date | 2017년 8월 |
| Contact | Linux memory management mailing list <[email protected]> |
| Description | Swapping을 위한 interface입니다. |
Swap vma ra enabled
6-16| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/kernel/mm/swap/vma_ra_enabled |
| Date | 2017년 8월 |
| Contact | Linux memory management mailing list <[email protected]> |
| Description | VMA-based swap readahead를 enable하거나 disable합니다. `true`로 설정하면 VMA에 mapped된 swappable anonymous pages에는 VMA-based swap readahead algorithm을 사용하고, tmpfs 등 다른 users에는 계속 global swap readahead algorithm을 사용합니다. `false`로 설정하면 모든 swappable pages에 global swap readahead algorithm을 사용합니다. |
ValueAnonymous pages mapped in a VMAtmpfs and other users
trueVMA-based swap readaheadGlobal swap readahead
falseGlobal swap readaheadGlobal swap readahead
`vma_ra_enabled` 값에 따라 anonymous VMA pages와 기타 swap users의 algorithm이 달라집니다.
Swap interface root
sysfs-kernel-mm-swap:1-5Kernel swap controls의 sysfs root를 정의합니다.