요약·해설, 영어 원문, 전체 번역을 구분해 실었습니다. API 이름, 코드 심벌, 소스 경로는 원문 표기를 유지합니다.
1. 요약·해설
원문의 핵심 내용을 정리하고 커널 프로그래밍에 필요한 설명을 덧붙였습니다. 아래의 전체 번역과는 별도로 작성한 해설입니다.
Path disconnect and identity
sysfs-class-rtrs-server:16-45Server disconnect는 즉시 반환하는 non-blocking operation이며 path의 HCA name·port와 source·destination address를 제공합니다.
Server RDMA statistics
sysfs-class-rtrs-server:47-53Read/write operation count·total size와 current inflight operation 수를 다섯 값으로 제공합니다.
2. 영어 원문 전체
번역에 사용한 Linux v6.18.37 원문입니다. 줄 번호는 해당 버전의 소스 파일을 기준으로 합니다.
원문 전체 펼치기
What: /sys/class/rtrs-server
Date: Feb 2020
KernelVersion: 5.7
Contact: Jack Wang <[email protected]> Danil Kipnis <[email protected]>
Description: When a user of RTRS API creates a new session on a client side, a
directory entry with the name of that session is created in here.
What: /sys/class/rtrs-server/<session-name>/paths/
Date: Feb 2020
KernelVersion: 5.7
Contact: Jack Wang <[email protected]> Danil Kipnis <[email protected]>
Description: When new path is created by writing to "add_path" entry on client side,
a directory entry named as <source address>@<destination address> is created
on server.
What: /sys/class/rtrs-server/<session-name>/paths/<src@dst>/disconnect
Date: Feb 2020
KernelVersion: 5.7
Contact: Jack Wang <[email protected]> Danil Kipnis <[email protected]>
Description: When "1" is written to the file, the RTRS session is being disconnected.
Operations is non-blocking and returns control immediately to the caller.
What: /sys/class/rtrs-server/<session-name>/paths/<src@dst>/hca_name
Date: Feb 2020
KernelVersion: 5.7
Contact: Jack Wang <[email protected]> Danil Kipnis <[email protected]>
Description: RO, Contains the name of HCA the connection established on.
What: /sys/class/rtrs-server/<session-name>/paths/<src@dst>/hca_port
Date: Feb 2020
KernelVersion: 5.7
Contact: Jack Wang <[email protected]> Danil Kipnis <[email protected]>
Description: RO, Contains the port number of active port traffic is going through.
What: /sys/class/rtrs-server/<session-name>/paths/<src@dst>/src_addr
Date: Feb 2020
KernelVersion: 5.7
Contact: Jack Wang <[email protected]> Danil Kipnis <[email protected]>
Description: RO, Contains the source address of the path
What: /sys/class/rtrs-server/<session-name>/paths/<src@dst>/dst_addr
Date: Feb 2020
KernelVersion: 5.7
Contact: Jack Wang <[email protected]> Danil Kipnis <[email protected]>
Description: RO, Contains the destination address of the path
What: /sys/class/rtrs-server/<session-name>/paths/<src@dst>/stats/rdma
Date: Feb 2020
KernelVersion: 5.7
Contact: Jack Wang <[email protected]> Danil Kipnis <[email protected]>
Description: Contains statistics regarding rdma operations and inflight operations.
The output consists of 5 values:
<read-count> <read-total-size> <write-count> <write-total-size> <inflights>
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미에 맞춰 전체 내용을 번역했습니다. 코드, 함수명, 코드 심벌, URL은 원문 표기를 유지합니다.
RTRS server session directory
1-6| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/class/rtrs-server |
| Date | 2020년 2월 |
| KernelVersion | 5.7 |
| Contact | Jack Wang <[email protected]> Danil Kipnis <[email protected]> |
| Description | Client side의 RTRS API user가 새 session을 만들면 이곳에 해당 session 이름의 directory entry를 생성합니다. |
Server-side session paths
8-14| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/class/rtrs-server/<session-name>/paths/ |
| Date | 2020년 2월 |
| KernelVersion | 5.7 |
| Contact | Jack Wang <[email protected]> Danil Kipnis <[email protected]> |
| Description | Client side의 add_path entry에 써서 새 path를 만들면 server에 <source address>@<destination address> 이름의 directory entry를 생성합니다. |
Client session과 add_path operation이 server의 matching session/path tree로 반영됩니다.
Disconnect an RTRS server session
16-21| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/class/rtrs-server/<session-name>/paths/<src@dst>/disconnect |
| Date | 2020년 2월 |
| KernelVersion | 5.7 |
| Contact | Jack Wang <[email protected]> Danil Kipnis <[email protected]> |
| Description | 이 file에 1을 쓰면 RTRS session disconnect가 시작됩니다. Operation은 non-blocking이며 caller에게 즉시 control을 반환합니다. |
Server path HCA name
23-27| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/class/rtrs-server/<session-name>/paths/<src@dst>/hca_name |
| Date | 2020년 2월 |
| KernelVersion | 5.7 |
| Contact | Jack Wang <[email protected]> Danil Kipnis <[email protected]> |
| Description | (RO) Connection을 수립한 HCA의 이름을 보관합니다. |
Server path active HCA port
29-33| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/class/rtrs-server/<session-name>/paths/<src@dst>/hca_port |
| Date | 2020년 2월 |
| KernelVersion | 5.7 |
| Contact | Jack Wang <[email protected]> Danil Kipnis <[email protected]> |
| Description | (RO) Active traffic이 통과하는 port 번호를 보관합니다. |
Server path source address
35-39| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/class/rtrs-server/<session-name>/paths/<src@dst>/src_addr |
| Date | 2020년 2월 |
| KernelVersion | 5.7 |
| Contact | Jack Wang <[email protected]> Danil Kipnis <[email protected]> |
| Description | (RO) Path의 source address를 보관합니다. |
Server path destination address
41-45| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/class/rtrs-server/<session-name>/paths/<src@dst>/dst_addr |
| Date | 2020년 2월 |
| KernelVersion | 5.7 |
| Contact | Jack Wang <[email protected]> Danil Kipnis <[email protected]> |
| Description | (RO) Path의 destination address를 보관합니다. |
Server가 각 path에서 노출하는 connection identity입니다.
Server path RDMA statistics
47-53| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/class/rtrs-server/<session-name>/paths/<src@dst>/stats/rdma |
| Date | 2020년 2월 |
| KernelVersion | 5.7 |
| Contact | Jack Wang <[email protected]> Danil Kipnis <[email protected]> |
| Description | RDMA operation과 inflight operation 통계를 다섯 값으로 보관합니다. 순서대로 read count, read total size, write count, write total size, inflight 수입니다. |
<read-count> <read-total-size> <write-count> <write-total-size> <inflights>
Server stats/rdma의 five-field 순서입니다.
Server session and path tree
sysfs-class-rtrs-server:1-14Client가 session과 path를 만들면 server에도 session-name 및 source@destination path directory를 생성합니다.