Title :
Research and Implementation of Zero-Copy Technology in Linux
Author :
Liu Tianhua ; Zhu Hongfeng ; Chang Guira ; Zhou Chuansheng
Author_Institution :
Northeastern Univ., Shenyang
Abstract :
Zero-copy means during message transmission, there is no data copy among memory segments on any network node. When message is sent out, the data packets in user application space go through network interface directly and reach outside of network; and when message is receiving, the same way is used, means the data packets are transmitted into user application space directly. In order to implement the zero-copy, the main technology we used here is DMA data transmission technology and memory mapping technology. In this paper, we based on Linux (kernel version 2.6.11), by modifying its network device driver snull.c and improving on COW technology, we implement the zero-copy technology. The main method we used is the combination of MMAP and PROC procedures, and at the end, we also introduce the implementation of test program and the test strategies.
Keywords :
Linux; message passing; network interfaces; storage allocation; COW technology; DMA data transmission technology; Linux; MMAP procedure; PROC procedures; memory mapping technology; message transmission; network device driver snull.c; zero-copy technology; Data communication; Delay; High-speed networks; Kernel; Linux; Network interfaces; Operating systems; Protocols; Space technology; Testing; Linux; TOE; Zero-Copy;
Conference_Titel :
Sarnoff Symposium, 2006 IEEE
Conference_Location :
Princeton, NJ
Print_ISBN :
978-1-4244-0002-7
DOI :
10.1109/SARNOF.2006.4534808