计算机应用 ›› 2012, Vol. 32 ›› Issue (07): 1787-1790.DOI: 10.3724/SP.J.1087.2012.01787

• 网络与通信 •    下一篇

基于网络驱动接口规范的网络时延测量位置误差消除方法

陈世强1,2,周旭3,王俊峰1,唐晖3   

  1. 1. 四川大学 计算机学院,成都610065
    2. 湖北民族学院 理学院,湖北 恩施445000
    3. 中国科学院 声学研究所,北京100080
  • 收稿日期:2012-01-03 修回日期:2012-02-21 发布日期:2012-07-05 出版日期:2012-07-01
  • 通讯作者: 陈世强
  • 作者简介:陈世强(1974-),男,湖北宜昌人,副教授,博士研究生,主要研究方向:网络通信、网络测量与监控;周旭(1976-),男,四川成都人,副研究员,博士,主要研究方向:分布式网络、P2P应用技术;王俊峰(1976-),男,安徽芜湖人,教授,博士,主要研究方向:空间信息网络、航空电信网络、网络测量与监控;唐晖(1971-),男,山东潍坊人,研究员,博士,主要研究方向:网络通信、下一代互联网。
  • 基金资助:

    国家科技重大专项(2009ZX03004-006);教育部博士基金资助项目(20090181110053);四川省应用基础研究项目(2010JY0013);四川省青年基金资助项目(09ZQ026-028)

Location error eliminating approach for network delay measurement based on network driver interface specification

CHEN Shi-qiang1,2,ZHOU Xu3,WANG Jun-Feng1,TANG Hui3   

  1. 1. College of Computer Science, Sichuan University, Chengdu Sichuan 610065, China;
    2. School of Science, Hubei University for Nationalities, Enshi Hubei 445000, China;
    3. Institute of Acoustics, Chinese Academy of Sciences, Beijing 100080, China
  • Received:2012-01-03 Revised:2012-02-21 Online:2012-07-05 Published:2012-07-01
  • Contact: CHEN Shi-qiang

摘要: 在网络性能测量中,位置误差是影响网络时延测量精度的主要因素之一。针对位置误差问题,提出一种基于Windows网络驱动接口规范(NDIS)的时延测量改进方法。通过在微端口驱动(MD)和协议驱动(PD)间插入一个NDIS中间层驱动(ID)程序,将测量时间戳记录位置从应用程序下移到该中间层驱动,测量程序依据其记录的时间戳计算网络时延值。实验结果表明,与传统方法比较,在不同主机负载和包长度下,所提方法基本消除了位置误差,测量值标准差小于10μs,并且不需要额外软硬件支持,测量成本低,适合普遍采用。

关键词: 网络时延测量, 位置误差, 主动测量, 中间层驱动

Abstract: In the network performance measurement, location error is one of the main factors which influence the accurate network delay measurement. To reduce location error, an improved method for delay measurement was proposed based on Windows Network Driver Interface Specification (NDIS). By using this method, the timestamp position was removed from application to NDIS Intermediate Driver (ID) which was embedded between Miniport Driver (MD) and Protocol Driver (PD), and then the measurement program could calculate the network delay according to those timestamps. Compared with the traditional method, the experimental results show that the proposed method can nearly eliminate location error, and make sure the measurement standard deviation to be lowered than 10μs under different packet-lengths and host-loads. The improved measurement method does not need additional software and hardware, so it has lower measurement cost and can be applied widely.

Key words: network delay measurement, location error, active measurement, intermediate driver

中图分类号: