RTLinUx下基于半轮询驱动的用户级报文传输机制
作者:
基金项目:

Supported by the National High-Tech Research and Development Plan of China under Grant Nos.863-104-02-02, 2002AA142020(国家高技术研究发展计划(863))


User-Level Message Passing Mechanism Based on Semi-Polling Driven in RTLinux
  • 摘要
  • | |
  • 访问统计
  • |
  • 参考文献 [14]
  • |
  • 相似文献 [20]
  • |
  • 引证文献
  • | |
  • 文章评论
    摘要:

    网络通信软件的处理开销已成为影响机群系统的性能瓶颈,为了提高机群系统的网络性能,在实时操作系统RTLinux下,设计并实现了一个符合VIA规范的用户级通信软件UMPS,提出了半轮询驱动的概念,利用半轮询驱动机制降低了系统中断频率,明显提高了短报文的处理能力.通过更为高效的地址翻译和基于资源映射图的缓冲区管理算法,应用程序旁路操作系统,依靠异步DMA直接与通信设备进行交互,有效地降低了网络通信的延迟与开销.通过性能的分析比较表明,UMPS接收64 byte与1500 byte的报文时吞吐量分别达到394 Mbps和895 Mbps,与现有的报文传输机制相比,UMPS的性能有了较为显著的提高.

    Abstract:

    Software overhead in interconnection network communication has currently become the bottleneck of a cluster system. To reduce it, a user-level communication software UMPS based on real-time OS RTLinux is designed and implemented, which is comfortable with VIA. A new concept of semi-polling driven is presented. With the semi-polling driven mechanism, the interrupts frequency is lowered and the processing performance for short message is significantly ameliorated. By means of the address translation and buffer managing algorithm based on the resource-mapping graph, applications bypass OS and interact with network interface directly using asynchronous DMA. So the overhead and latency in communication are efficiently reduced. Experimental results indicate that the throughputs of UMPS for 64 byte and 1500 byte messages are 394 Mbps and 895 Mbps respectively, and the performance of UMPS surpasses that of other mechanisms.

    参考文献
    [1]Chang S-L, Du DHC, Hsieh J, Lin MJ, Tsang RP. Enhanced PVM communications over a high-Speed Local Area Network. IEEE Parallel and Distributed Technology, 1995,3(3): 1405~1431.
    [2]Pratt I, Fraser K. Arsenic: A User-Accessible Gigabit Ethernet Interface. Proc. of the INFOCOM, 2001,14(3):64~74.
    [3]Pakin S, Karamcheti V, Chien AA. Fast messages (FM): Efficient, portable communication for workstation clusters and massively-parallel processors. IEEE Concurrency, 1997,5(2):60~90.
    [4]Zhang Y, Zhang DY, Li SL. The Research and Implementation of Network Intrusion Detection System Based on Cooperative Distributed Agent. Chinese Journal of Computer. 2001,24(7):736~741 (in Chinese with English abstract).
    [5]Lifeline K. Building into the Linux network layer. Phrack Magazine, 1999,9(55):55~12.
    [6]Wolman A, Voelker G, Thekkath CA. Latency analysis of TCP on an ATM network. Proc. of the Winter USENIX Conf.1994,61(2):125~138.
    [7]Blumrich MA, Dubnicki C, Felten EW, Li K, Mesarina MR. Virtual-Memory-Mapped Network Interfaces. IEEE Micro.1995,15(1):21~28.
    [8]Welsh M, Basu A, Eicken TV. Incorporating memory management into user-level network interfaces. In: Proc. of Hot Interconnects V. 1997. 618~628
    [9]Liu W, Zheng WM, Shen J, Ju DP. Design and Implementation of memory map mechanism in underlying communication. Journal of Software, 1999,10(1):24~28 (in Chinese with English abstract).
    [10]Tezuka H, O'Carroll F, Hori A, Ishikawa Y. Pin-Down cache: A virtual memory management technique for zero-copy communication. Proc. of the Int'l Parallel Processing Symp. 1998,26(1):308~341.
    [11]Mogul JC, Ramakrishnan KK. Eliminating receive livelock in an interrupt-driven kernel. ACM Transactions on Computer Systems,1997,15(3):217~252.
    [12]Ang BS, Chiou D, Rudolph L, Arvind. Message passing support on start-voyager. In: Proc. of the 5th Int'l Conf. on High-Performance Computing. New York: IEEE Computer Society, 1998. 246~257.
    [13]张勇,张德运,李胜磊.基于分布协作式代理的网络入侵检测技术的研究与实现.计算机学报,2001,24(7):736~741
    [14]刘炜,郑纬民,申俊,鞠大鹏.底层通信协议中内存映射机制的设计与实现.软件学报,1999,10(1):24~28.
    网友评论
    网友评论
    分享到微博
    发 布
引用本文

田志宏,方滨兴,云晓春. RTLinUx下基于半轮询驱动的用户级报文传输机制.软件学报,2004,15(6):834-841

复制
分享
文章指标
  • 点击次数:4917
  • 下载次数: 5767
  • HTML阅读次数: 0
  • 引用次数: 0
历史
  • 收稿日期:2004-06-01
文章二维码
您是第19829786位访问者
版权所有:中国科学院软件研究所 京ICP备05046678号-3
地址:北京市海淀区中关村南四街4号,邮政编码:100190
电话:010-62562563 传真:010-62562533 Email:jos@iscas.ac.cn
技术支持:北京勤云科技发展有限公司

京公网安备 11040202500063号