Font Size: a A A

Implementation Of Gigabit Network Driver And Optimization Of Data Transmission Efficiency Based On Linux

Posted on:2012-07-27Degree:MasterType:Thesis
Country:ChinaCandidate:Z L YiFull Text:PDF
GTID:2178330335959788Subject:Electromagnetic field and microwave technology
Abstract/Summary:PDF Full Text Request
As the rapid development of Internet and communication technologies, network bandwidth is over-growing. Access interface to high speed network has become increasingly demanding. Our lab develops a board that acts as the network interface of a network node device and provides the maximum data transmission rate of 1Gbps for network node devices. This paper aims at illustrating the design and implementation of the Linux network driver with higher data transmission efficiency for the board.In this paper, the data transmission process of Linux network driver is firstly analyzed, and then the influence factors of the efficient data transmission are deeply discussed. Thirdly, design and implementation of a Linux network driver are described, and key data structures and functions related to Linux network driver are studied in detail. On this basis, this paper analyzes the key factors influencing the efficiency of a Linux network driver, mainly including data transmission method, frequency of hardware interruption and times of memory copy. Finally, an optimized scheme is proposed to improve the efficiency of network driver through reducing the frequencies of the CPU interruption and memory copy while using DMA to transfer data.This paper focuses on the design and implementation of the optimized scheme mentioned above. The descriptor mechanism, pre-allocated buffer technology and NAPI technology are used in this scheme. By analyzing the principles of these technologies, a receiving data model is proposed in this thesis to determine the key parameters. In addition, this paper also introduces the implementation of test programs and the test strategies. The test results show us that the optimized scheme can improve the performance of data transmission.
Keywords/Search Tags:Linux Network Driver, Memory Copy, Descriptor Mechanism, NAPI Technology
PDF Full Text Request
Related items