基于以太网的并行计算系统中数据交换研究.pdf
文本预览下载声明
第 1期 微 处 理 机 No.1
2013年 2月 MICR0PR0CESSORS Feb..2013
基于以太网的并行计算系统中数据交换研究
王张彦。,黎 英 ,杨彦鑫
(1.云南大学信息学院,昆明650091;2.昆明理工大学信息工程与 自动化学院,昆明650093)
摘 要:首先介绍了几种时钟同步的方法,分析了这几种时钟同步的差别,用 IEEE1588协议
的两种方法对系统进行时钟同步,并测量时钟同步产生的误差,对测量误差数据进行分析。在系统
时钟同步基础上,对系统进行动态时间槽 的划分,最后测量整个系统的效率和实时性。
关键词:以太网;实时性;时间槽
DOI编码 :10.3969/i.issn.1002—2279.2013.01.010
中图分类号:TP393.1 文献标识码:A 文章编号:1002—2279(2013)01—0027—04
StudyonDataExchangeinParallelComputingSystemsbased
ontheEthernet
WANG Zhang—yan ,LIYing .YANG Yan—xin
(1.CollegeofInformation,YunnanUniversity,Kunming650091,China;2.CollegeofInformation
EngineeringandAutomation,KunmingUniversityofScienceandTechnology,Kunming650093,China)
Abstract:In thispaper,severalofmethodsofclock synchronization are introduced and their
differencesare analyzed. Two kinds of IEEE1588 protocol are used in the system for clock
synchronization.and the errorofclock synchronously ismeasured,and the measured data error iS
analyzed.Basedonthesystem clocksynchronous,thedynamictimeslotiSdividedofrthesystem.Then,
theefficiencyandthecharacteristicsofreal—timeofthewholesystem aremeasured.
Keywords:Ethernet;Real—time;Timeslot
1 引 言 会产生很大的差别,由于以太网帧的数据部分长度为
46~1500字节,因此分别利用UDP方式和MAC层传
以太网由于其开放性好,应用广泛以及价格低
输方式传输一帧数据,测试这一帧数据在传输过程中
廉,已经垄断了商用计算机的通信领域和过程控制
所需要的时间,实验结果如表 1和表2所示。第一组
领域中上层的信息管理与通信。随着以太网技术的
数据为收发46字节的情况,第二组为收发 1500字
不断发展,以太网进人工业控制领域已经成为主要
节的情况。从两组实验数据可以得出以下结论:
发展趋势。要想在工业环境中能够有效利用以太
显示全部