The Community for Technology Leaders
Computer and Computational Sciences, International Multi-Symposiums on (2006)
Hangzhou, Zhejiang, China
June 20, 2006 to June 24, 2006
ISBN: 0-7695-2581-4
pp: 129-134
Hongfeng Zhu ,
Tianhua Liu ,
Chuansheng Zhou ,
Guiran Chang ,
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", Computer and Computational Sciences, International Multi-Symposiums on, vol. 02, no. , pp. 129-134, 2006, doi:10.1109/IMSCCS.2006.256
112 ms
(Ver )