An Efficient Network System Call Interface supporting minimum memory copy

메모리 복사를 최소화화는 효율적인 네트워크 시스템 호출 인터패이스

  • 송창용 (한밭대학교 정보통신 전문대학원 네트워크 연구실) ;
  • 김은기 (한밭대학교 정보통신컴퓨터공학부)
  • Published : 2004.04.01

Abstract

In this paper, we have designed and simulated a new file transmission method. This method restricts memory copy and context switching happened in traditional file transmission. This method shows an improved performance than traditional method in network environment. When the UNIX/LINUX system that uses the existing file transfer technique transmits a packet to the remote system, a memory copy between the user and kernel space occurs over twice at least. Memory copy between the user and kernel space increase a file transmission time and the number of context switching. As a result, the existing file transfer technique has a problem of deteriorating the performance of file transmission. We propose a new algorithm for solving these problems. It doesn't perform memory copy between the user and kernel space. Hence, the number of memory copy and context switching is limited to the minimum. We have modified the network related source code of LINUX kernel 2.6.0 to analyzing the performance of proposed algorithm and implement new network system calls.

본 논문에서는 파일 전송 시 발생하는 메모리 복사(memo교 copy)와 문맥 교환(context switch)을 최소화하여 시스템의 성능(performance)을 향상시킬 수 있는 네트워크 시스템 호출에 관한 연구를 수행하였다. 기존 파일 전송 기법에서 사용자가 하나의 패킷을 전송할 때, 사용자와 커널(Kernel) 공간 사이에서의 메모리 복사가 2회에 걸쳐 수행된다. 이러한 사용자와 커널 공간 사이에서 이루어지는 메모리 복사는 데이터 전송에 소요되는 시간을 증가시키고, 시스템의 성능에 좋지 않은 영향을 준다. 본 논문은 이러한 문제점들을 해결하기 위하여 필요한 경우 사용자와 커널 사이에서의 메모리 복사를 수행하지 않고, 데이터가 커널 공간 내에서 송수신될 수 있는 새로운 알고리즘을 제시하였다. 또한 실제의 시스템에서 제안된 알고리즘의 성능을 분석하기 위하여 리눅스 커널 버전 2.6.0의 소스 코드를 수정하였고, 새로운 네트워크 시스템 호출을 구현하였다. 성능 측정 결과, 본 연구에서 제안한 파일 전송 방식이 기존의 파일 전승 방식에 비하여 짧은 파일 전송 시간을 보여주었다.

Keywords

References

  1. RFC 959 File Transfer Protocol
  2. 정보통신 네트워크 안순신;김은기
  3. IEEE Com. Mag. v.27 no.6 An Analysis of TCP Processing Overhead D.D.Clark(et al.)
  4. The Linux Kernel Archives 2.6.0
  5. UNIX Network Programming, Volume 1 Networking APIs(Second Edition) W.Richard Steens
  6. Virtual Interface Architecture Specification Draft Revision 1.0 Company Computer Corp.