Research and Implementation of DMA Mechanism of High Speed Network Interface Card

Author
DaiBin
Advisor
LuZeXin
School
National University of Defense Science and Technology
Major
Computer Science and Technology
Classification
TP334.7 Interface devices,plug-in
Degree
Master's thesis
Year
2006
Downloads
200
Citations
5

Request the full text

Abstract

With the rapid development of the internet link speed, lots of high speed network interface cards are used in high performance servers. In order to improve the I/O efficiency and lighten the load of the CPU in servers, the high performance network interface cards use DMA mechanism to communicate with the host. DMA engine is the functional unit to implement the DMA mechanism. It is used to exchange data between the host and the network interface card. Meanwhile, it produces receiving and sending interrupts.The main work and contributions of the thesis are:(1) The processes of receiving and sending data packets of the DMA engine are analyzed in details and the cores of DMA engine: the interrupt mechanism and descriptor mechanism are introduced clearly;(2) Aiming at the problem of“receive livelock”, a solution is proposed from the design of the DMA engine;(3) The abstract models of the sending and receiving processes in DMA engine are presented. The concepts of DMA engine receiving stop and driver sending stop are presented. Basing on this, the quantitative relationship among the parameters which impact the performance of DMA engine are analyzed;(4) The implementation of DMA engine in 10G TOE network interface card is introduced. Experimental results show that the design of the DMA engine is correct and effective;(5) The DMA engine based on multi_queue descriptors is presented. Through this way the receiving performance of the DMA engine is improved.As a word, lots of works have been done on the study of the design of the DMA engine. They will be quite helpful for the design of the high_speed network interface card.

Table of contents

Abstract 10-11 ABSTRACT 11-12 first chapter 12-16 1.1 Background topics 12-14 1.2 research content 14 1.3 paper is organized 14-15 1.4 research results 15-16 the second chapter DMA mechanism works 16-23 2.1 based the descriptor mechanism DMA communication 16-19 2.1.1 descriptor mechanism 16-17 2.1.2 interrupt mechanism 17-19 2.2 data packet transceiver process 19-21 2.3 DMA engine state control 21-22 2.4 This chapter Summary 22-23 Chapter DMA engine modeling and performance analysis 23-31 3.1 DMA engine performance analysis model 23-25 3.1.1 DMA engine receives data model 23-25 3.1.2 DMA engine sends data model 25 3.2 DMA engine performance analysis 25-29 3.3 pairs of guidelines for the design of high-speed DMA engine 29-30 3.4 This chapter Summary 30-31 the fourth chapter of the design and application of high-speed DMA engine 31-50 4.1 TOE Network Interface Card Profile 31-34 4.2 DMA engine hardware structure 34-46 4.3 Cache consistency 46-47 4.4 receiver livelock avoid 47-49 4.5 of this chapter Summary 49-50 Chapter performance testing and analysis 50-53 5.1 test environment and tools 50 5.2 DMA engine performance analysis model validation 50-52 5.3 test data 52 5.4 This chapter Summary 52-53 Chapter VI further work 53-57 6.1 DMA engine performance enhancements 53-56 6.1.1 based on the principle of multi-queue descriptor mechanism DMA engine 53-55 6.1.2 interrupt mechanism based on the multi-queue descriptor mechanism DMA engine 55 6.1.3 DMA engine based on multi-queue descriptor mechanism design 55-56 6.2 DMA engine performance analysis model is perfect 56 6.3 This chapter Summary 56-57 Chapter VII Summary and Outlook 57-58 Acknowledgements 58-60 the author achieved academic achievements during the study period 60-61 Reference 61-62

Related dissertations

  1. Research and Implementation of a Zero-Copy-Based Packet Capture Mechanism under High_speed Network Environment
  2. Research and Implementation of an Efficient Interaction Mechanism of Hardware and Software Supporting Zero-copy Technology in CIA Network Card
  3. Research and Implementation of Fibre Channel HBA card
  4. Research of High-Performance Packet Capture Mechanism in Linux Environment
    LeiMing ·Zhejiang University of Technology ·2011 ·Master's thesis