基于离散事件网络仿真的时间不确定事件下高效协议测试

Efficient Protocol Testing Under Temporal Uncertain Event Using Discrete-event Network Simulations

ACM Transactions on Modeling and Computer Simulation · 2022
被引 4
ABS 3

中文导读

针对网络协议测试中时间不确定事件导致的仿真效率低问题,提出三种消除不必要时间戳比较的技术,将符号执行区间分支方法的效率提升数个数量级。

Abstract

Testing network protocol implementations is difficult mainly because of the temporal uncertain nature of network events. To evaluate the worst-case performance or detect the bugs of a network protocol implementation using network simulators, we need to systematically simulate the behavior of the network protocol under all possible cases of the temporal uncertain events, which is time consuming. The recently proposed Symbolic Execution based Interval Branching (SEIB) simulates a group of uncertain cases together in a single simulation branch and thus is more efficient than brute force testing. In this article, we argue that the efficiency of SEIB could be further significantly improved by eliminating unnecessary comparisons of the event timestamps. Specifically, we summarize and present three general types of unnecessary comparisons when SEIB is applied to a general network simulator, and then correspondingly propose three novel techniques to eliminate them. Our extensive simulations show that our techniques can improve the efficiency of SEIB by several orders of magnitude, such as from days to minutes.

计算机网络协议测试离散事件仿真符号执行