Documentation/ABI/removed/net_dma GitHub 원문 ↗

Linux 6.18.37 · ABI / removed

제거된 tcp_dma_copybreak sysctl

socket read를 DMA copy engine으로 넘기던 크기 임곗값과 in-flight DMA의 cache coherency 문제를 설명합니다.

Source pathDocumentation/ABI/removed/net_dma
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

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

1. 요약·해설

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

DMA coherency 문제

net_dma:1-8

CPU가 DMA 진행 중인 buffer를 건드릴 수 있어 일관성을 보장하기 어려웠고, sysctl은 kernel v3.13에서 제거됐습니다.

2. 영어 원문 전체

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

원문 전체 펼치기
1 What: tcp_dma_copybreak sysctl
2 Date: Removed in kernel v3.13
3 Contact: Dan Williams <[email protected]>
4 Description:
5 Formerly the lower limit, in bytes, of the size of socket reads
6 that will be offloaded to a DMA copy engine. Removed due to
7 coherency issues of the cpu potentially touching the buffers
8 while dma is in flight.
9

3. 한국어 전문 번역

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

tcp_dma_copybreak sysctl

1-8
항목값
Whattcp_dma_copybreak sysctl
Datekernel v3.13에서 제거
ContactDan Williams <[email protected]>

이전에는 socket read를 DMA copy engine으로 offload할지를 정하는 byte 단위의 최소 크기였다. DMA가 진행 중인 동안 CPU가 해당 buffer에 접근할 가능성 때문에 coherency 문제가 발생하여 제거됐다.