June 20, 2006 to June 24, 2006
Hongfeng Zhu , firstname.lastname@example.org
Tianhua Liu , email@example.com
Chuansheng Zhou , firstname.lastname@example.org
Guiran Chang , email@example.com
Zero-Copy means on any network node, during message transmission, there is no data copy among memory segments and all messages transmission are operated directly between user application space and outside of network through network interfaces. By DMA technology, network interface devices can store data packets into the address where can be accessed directly by user application, the data packets copy operation is removed in kernel and reducing the data transmission path. By working together with TOE technology, it can drop the communication delay effectively and save a lot of CPU cost. In this paper, we based on Linux (kernel version 2.6.11), by modifying its network device driver snull.c (attached in Linux Device Driver version 3), to implement the memory mapping between Linux kernel space to user application space. 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. The test results show us that the applications can access the applied memory of kernel by mapping.
Hongfeng Zhu, Tianhua Liu, Chuansheng Zhou, Guiran Chang, "Research and Implementation of Zero-Copy Technology Based on Device Driver in Linux", IMSCCS, 2006, First International on Computer and Computational Sciences, First International on Computer and Computational Sciences 2006, pp. 129-134, doi:10.1109/IMSCCS.2006.256