摘要
为克服目前常用的单向时延测量方法由于计算复杂或成本高而不能做到实时监控和大规模部署的不足,提出一种基于通用PC架构的测量方法,以时间戳计数器取代系统时钟作为时间源,在此基础上通过测量双端主机CPU上电时间差、CPU频率差和对测量结果进行纠斜的方式纠正测量误差,避免了双端主机操作系统时间不同步对时延测量带来的影响。并通过在互联网进行实验测量,验证该方法的实际效果。测量结果表明,该方法能够有效测量单向时延,且结果稳定,计算简单,适于实时监测。
To solve the problems that the delay measurement methods currently used, which are complex or costly, not suitable for realtime monitoring. A method for delay measurement based on general PC is proposed. It replaces system clock with TSC (Time Stamp Counter) register as the time source, and corrects the measurement error by measuring the difference of the time when the CPU of the hosts are powered on and measuring the difference of the CPU frequency and correcting the slope of the re sults, avoids the adverse effects during the measurement while the end systems' clocks are not synchronized. To prove this method is effective, we test it on the Internet. The results of these experiments show that this method can measure the oneway delay effectively, it is also easy to calculate and performance well, so it is suitable for realtime monitoring.
出处
《计算机工程与设计》
CSCD
北大核心
2013年第2期412-417,共6页
Computer Engineering and Design
关键词
互联网
单向时延
网络测量
通用PC
时间戳计数器
Internet
one-way delay
network measurement
general PC
TSC (time stamp counter)