网卡驱动程序的用户态移植和优化  

Porting and Optimization of User Space NIC Driver

在线阅读下载全文

作  者:王燕飞[1] 华蓓[1] 

机构地区:[1]中国科学技术大学计算机科学与技术学院

出  处:《电子技术(上海)》2012年第8期17-21,共5页Electronic Technology

摘  要:针对内核态驱动开销大,而用户态驱动可以消除系统调用及数据包拷贝等高额开销的特点,文章将一个内核态的网卡驱动程序移植到了用户态。文章分析了内核态驱动与用户态驱动的软件框架特点,给出了移植用户态驱动需要解决的问题及相应的技术方案,并给出了移植实现的要点及性能优化措施。实验表明,经移植和优化的用户态驱动程序可以达到10Gbps的数据包输入/输出速度,从而可以应用于各种高速流量监视系统中。To eliminate the substantial overhead of packet copy and system calls from kernel mode NIC driver, this paper ports a kernel mode NIC driver to the user space. After comparing the characteristics of the software frameworks of the two driver implementations, this paper analyzes the problems needing to be resolved and their corresponding solutions, and then presents the key techniques related to porting realization and the performance optimization measures. Experiments show that the ported and optimized user mode NIC driver can easily reach 10Gbps packet I/O speed, and therefore is eligible to be used in high speed network monitoring systems.

关 键 词:用户态驱动 零拷贝 性能优化 

分 类 号:TP316.7[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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