DocumentCode :
3372781
Title :
Research and Implementation of Zero-Copy Technology Based on Device Driver in Linux
Author :
Zhu, Hongfeng ; Liu, Tianhua ; Zhou, Chuansheng ; Chang, Guiran
Volume :
2
fYear :
2006
fDate :
20-24 June 2006
Firstpage :
129
Lastpage :
134
Abstract :
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 it 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
Keywords :
Linux; device drivers; frame relay; message passing; network interfaces; network operating systems; storage allocation; DMA technology; Linux Device Driver version 3; MMAP procedure; PROC procedure; TOE technology; data packet copy operation; data transmission path; kernel version 2.6.11; memory mapping; message transmission; network device driver; network interface devices; zero-copy technology; Costs; Data analysis; Data communication; Delay effects; Kernel; Linux; Network interfaces; Operating systems; Space technology; Testing;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Computer and Computational Sciences, 2006. IMSCCS '06. First International Multi-Symposiums on
Conference_Location :
Hanzhou, Zhejiang
Print_ISBN :
0-7695-2581-4
Type :
conf
DOI :
10.1109/IMSCCS.2006.256
Filename :
4673691
Link To Document :
بازگشت