嵌入式PCI网卡驱动程序的设计与优化  被引量:6

Design and Optimization of PCI Ethernet Adapter Driver Program in Embedded System

在线阅读下载全文

作  者:宋有泉[1] 高小鹏[1] 龙翔[1] 

机构地区:[1]北京航空航天大学计算机学院,北京100083

出  处:《计算机工程》2007年第2期264-266,共3页Computer Engineering

摘  要:介绍了嵌入式VPN网关ESG-1的基本情况,讨论了RTEMS的PCI网卡驱动程序的设计要点:采用服务线程进行网络中断处理;采用生产者-消费者模型对缓冲区进行管理;采用事件驱动机制实现了网卡驱动对多个相同网卡的支持。进一步讨论了驱动程序的内存拷贝优化问题和零拷贝技术。通过测试数据分析得出优化内存拷贝和使用零拷贝技术都能提高网卡驱动程序的性能。This paper introduces the embedded VPN gateway ESG-1 and discusses the design outlines of device driver program for the PCI Ethernet adapter based on RTEMS. This paper adopts the service threads to dispose the network interrupt, uses the producer and consumer model to implement the buffer management and supports the multitude Ethernet adapters managed by one device driver program through the event-driven technique. The problems of optimizing the memory copy for device driver program and zero copy technique are discussed. After analyzing the test data, it concludes that the performance of Ethernet adapter driver is improved by both optimizing the memory copy and adopting the zero copy technique

关 键 词:RTEMS 设备驱动 优化 零拷贝 内存拷贝 

分 类 号:TP302.1[自动化与计算机技术—计算机系统结构]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象