相关标准及路由器测试
第八章 网络设备测试 测试标准及路由器测试
目标:
了解相关标准 学习路由器的常用指标 及测试方法Fra bibliotek 主要内容
1 相关标准 2 测量方法概述 3 路由器的性能指标 4 路由器性能测试 5 测试实例
2016/7/5
西安电子科技大学ISN国家重点实验室 朱畅华 chhzhu@
2016/7/5
西安电子科技大学ISN国家重点实验室 朱畅华 chhzhu@
RFC 1242 包丢失测试通过测量由于缺少资源而未转发的包的 比例来显示高负载状态下DUT的性能。
2016/7/5
西安电子科技大学ISN国家重点实验室 朱畅华 chhzhu@
10
Frame Loss rate---test Procedure
Send a specific number of frames at a specific rate through the DUT to be tested and count the frames that are transmitted by the DUT. The frame loss rate at each point is calculated using the following equation: ( ( input_count - output_count ) * 100 ) / input_count
2016/7/5 西安电子科技大学ISN国家重点实验室 朱畅华 chhzhu@ 5
Throughput test---Procedure
Send a specific number of frames at a specific rate through the DUT and then count the frames that are transmitted by the DUT. If the count of offered frames is equal to the count of received frames, the fewer frames are received than were transmitted, the rate of the offered stream is reduced and the test is rerun. The throughput is the fastest rate at which the count of test frames transmitted by the DUT is equal to the number of test frames sent to it by the test equipment.
2016/7/5 西安电子科技大学ISN国家重点实验室 朱畅华 chhzhu@ 6
RFC2544 Benchmarking tests 2: Latency
Definition: For store and forward devices: The time interval starting when the last bit of the input frame reaches the input port and ending when the first bit of the output frame is seen on the output port. For bit forwarding devices: The time interval starting when the end of the first bit of the input frame reaches the input port and ending when the start of the first bit of the output frame is seen on the output port. 由此定义看:仅包括排队和处理时延,不包括传输时延?
1
1 相关标准
RFC2544 (Benchmarking Methodology for Network Interconnect Devices) RFC2889(BenchmarkingMethodologyforLAN SwitchingDevices) YD/T1156-2001《路由器测试规范-高端路由器》 YD/T1098-2001《路由器测试规范-低端路由器》 YD/T1141-2001 千兆比以太网交换机测试方法 YD/T1142-2001 IP电话网守设备技术要求及测试方法 YD/T1072-2000 IP电话网关设备测试方法 YD/T1075-2000 网络接入服务器(NAS)测试方法 YD/T1171-2001 IP网络技术要求—网络性能参数与指 标
2016/7/5 西安电子科技大学ISN国家重点实验室 朱畅华 chhzhu@ 9
RFC2544 Benchmarking tests 3: Frame loss rate
Definition:
Percentage of frames that should have been forwarded by a network device under steady state (constant) load that were not forwarded due to lack of resources. (如何理解两个that? 并列修饰。)
The first trial SHOULD be run for the frame rate that corresponds to 100% of the maximum rate for the frame size on the input media. Repeat the procedure for the rate that corresponds to 90% of the maximum rate used and then for 80% of this rate. This sequence SHOULD be continued (at reducing 10% intervals) until there are two successive trials in which no frames are lost.
2016/7/5
西安电子科技大学ISN国家重点实验室 朱畅华 chhzhu@
4
RFC2544 Benchmarking tests 1: Throughput
Definition: The maximum rate at which none of the offered frames are dropped by the device. 详见:RFC 1242 吞吐量测试可以确定被测试设备(DUT)或被 测试系统(SUT)在不丢弃包的情况下所能支 持的吞吐速率。 二分法
2016/7/5 西安电子科技大学ISN国家重点实验室 朱畅华 chhzhu@ 3
Request for Comments: 2544
Network Working Group, Benchmarking Methodology for Network Interconnect Devices, S. Bradner, Harvard University, J. McQuaid, NetScout Systems, March 1999 This document discusses and defines a number of tests that may be used to describe the performance characteristics of a network interconnecting device. In addition to defining the tests this document also describes specific formats for reporting the results of the tests.
2016/7/5 西安电子科技大学ISN国家重点实验室 朱畅华 chhzhu@ 2
相关标准-续
YD/T1251.1-2003 路由协议一致性测试方法——中间 系统到中间系统路由交换协议(IS-IS) YD/T1251.2-2003 路由协议一致性测试方法——开放 最短路径优先协议(OSPF) YD/T1251.3-2003 路由协议一致性测试方法——边界 网关协议(BGP4) YD/T1260-2003 基于端口的虚拟局域网(VLAN)技术 要求和测试方法 YD/T1033-2000 传输性能的指标系列 YD/T1091—2000 56kbit/s调制解调器接口及传输性能 技术要求和测试方法
2016/7/5 西安电子科技大学ISN国家重点实验室 朱畅华 chhzhu@ 8
Latency test----Procedure:
Send a stream of frames at a particular frame size through the DUT at the determined throughput rate to a specific destination. The stream SHOULD be at least 120 seconds in duration. An identifying tag SHOULD be included in one frame after 60 seconds with the type of tag being implementation dependent. The time at which this frame is fully transmitted is recorded (timestamp A). The receiver logic in the test equipment MUST recognize the tag information in the frame stream and record the time at which the tagged frame was received (timestamp B). The latency is timestamp B minus timestamp A 。RFC 1242 The test MUST be repeated at least 20 times with the reported value being the average of the recorded values.