以太网性能测试概述及smartbits设置介绍.

上传人:我** 文档编号:117862212 上传时间:2019-12-11 格式:PPT 页数:57 大小:2.42MB
返回 下载 相关 举报
以太网性能测试概述及smartbits设置介绍._第1页
第1页 / 共57页
以太网性能测试概述及smartbits设置介绍._第2页
第2页 / 共57页
以太网性能测试概述及smartbits设置介绍._第3页
第3页 / 共57页
以太网性能测试概述及smartbits设置介绍._第4页
第4页 / 共57页
以太网性能测试概述及smartbits设置介绍._第5页
第5页 / 共57页
点击查看更多>>
资源描述

《以太网性能测试概述及smartbits设置介绍.》由会员分享,可在线阅读,更多相关《以太网性能测试概述及smartbits设置介绍.(57页珍藏版)》请在金锄头文库上搜索。

1、以太网性能测试概述 郝佳 2007.4.2 主要内容 理解以太网四个性能指标的含义 掌握以太网四个性能指标的测试方法 掌握一般以太网测试仪表的性能测试的使用方法 性能测试目的 通过测试反应设备的具有的特点 设备制造商设备制造商 运营商和服务供应商运营商和服务供应商 性能测试的依据 RFC 1242 Benchmarking Terminology for Network Interconnect Devices RFC 2544 Benchmarking Methodology for Network Interconnect Devices 查询地址:http:/www.faqs.org/r

2、fcs/ RFC查询 性能测试的内容 吞吐量(Throughput) 时延(Latency) 帧丢失率(Frame Loss Rate) 背 对 背( Back-to-Back ) 性能测试-吞吐量 定义:RFC 1242 The maximum rate at which none of the offered frames are dropped by the device 测试方法:RFC 2544 Send a specific number of frames at a specific rate through the DUT and then count the frames t

3、hat are transmitted by the DUT 不丢包的情况下能达到的最大速率 发送帧与接收帧数目相等时能达到的最大速率 性能测试-吞吐量 从设备所能支持的最大的线速帧速率开始测试从设备所能支持的最大的线速帧速率开始测试 如果收到的包比发送的包少如果收到的包比发送的包少(YX)(YX),则降低速率重试,则降低速率重试 当设备没有丢帧的时候当设备没有丢帧的时候(X=Y)(X=Y),提高帧速率,提高帧速率Y Y 通常通过二分法来测试出当通常通过二分法来测试出当X=YX=Y下的最大的帧速率下的最大的帧速率 ThroughputThroughputY/XY/Xmax max*100%,

4、*100%, X Xmax: max:设备所能支持的最大的线速帧速率 设备所能支持的最大的线速帧速率 TesterTester Device Under TestDevice Under Test (DUT) (DUT) Traffic Generation: X Frames Transmitted Traffic Analysis: Y Frames Received 100M吞吐量标准测试结果 性能测试-吞吐量 通用计算公式通用计算公式 : : (L L 8 8 M M) 8 N = 100 M 8 N = 100 M L L 为以太网帧长;为以太网帧长; MM为包间隙;为包间隙; N

5、N 为设备每秒钟发出的数据帧的个数;为设备每秒钟发出的数据帧的个数; 括号中的括号中的 8 8 为每个以太网帧前面的为每个以太网帧前面的 7 7 个前导码个前导码 1 1 个定帧字节;个定帧字节; 括号外面的括号外面的 8 8 为一个为一个ByteByte包含包含 8 8 个个BitBit; 100M100M表示物理层的表示物理层的bitbit速率;速率; 性能测试-吞吐量 问题: 为什么短字节的吞吐量较长字节的值要大? 64字节100M吞吐量应该是多少? 有效净荷怎样计算? 提示:当设备线速发送数据,则其最小包间隙应该当设备线速发送数据,则其最小包间隙应该12Byte12Byte 性能测试-

6、吞吐量 Frame SizePassed Rate(%) (01,03,01) to (01,03,08) (pks/sec) (01,03,08) to (01,03,01) (pks/sec) Total 100M -100M 100M -100M 6455.458250882508165016 12852.02439374393787874 25650.27227692276945538 51248.65114311143122862 102448.635822582211644 128048.63467646769352 151848.62395139517902 为什么64字节吞吐量

7、是55.45% ? 性能测试-时延 定义:RFC 1242 存储转发设备 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. 比特转发设备 The time interval starting when the end of the first bit of the input frame reaches the inp

8、ut port and ending when the start of the first bit of the output frame is seen on the output port. 性能测试-时延 测试方法:RFC 2544 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 durati

9、on. 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 an

10、d record the time at which the tagged frame was received (timestamp B). The latency is timestamp B minus timestamp A 性能测试-时延 设设 定定 Frame rate = throughputFrame rate = throughput 将目标数据帧插入数据流中(将目标数据帧插入数据流中(Tagged frame is injected into data streamTagged frame is injected into data stream ) 测试计算目标数据帧的时

11、延(测试计算目标数据帧的时延(Latency of the tagged frame is measuredLatency of the tagged frame is measured ) TesterTester Tagged FrameTagged Frame RateRateT-putT-put Device Under TestDevice Under Test (DUT) (DUT) 性能测试-时延 LIFOLIFO 数据帧的最后一个数据帧的最后一个bitbit进入设备开始计时进入设备开始计时 数据帧第一个数据帧第一个bitbit出现在输出端口结束出现在输出端口结束 t 存储转发设

12、备的延时存储转发设备的延时 Input port Output port 比特转发设备的延时比特转发设备的延时 FIFOFIFO 从第一从第一bitbit位进入开始记时位进入开始记时 到第一到第一bitbit位出现在输出端口结束位出现在输出端口结束 Input port Output port t 性能测试-时延 性能测试-时延 l l 时延通常测试的都是测试网络的时延。时延通常测试的都是测试网络的时延。 l l 公司设备都是存储转发设备。公司设备都是存储转发设备。 l l 时延测试的时候,其发帧速率应该小于等于其吞吐量。时延测试的时候,其发帧速率应该小于等于其吞吐量。( (为什么为什么?)?

13、) l l 推荐先做吞吐量测试后再做延迟测试推荐先做吞吐量测试后再做延迟测试. . 性能测试-丢包率 定义:RFC 1242 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. 性能测试-丢包率 测试方法:RFC 2544 Send a specific number of frames at a specific rate thro

14、ugh 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 性能测试-丢包率 Frame loss rate = (X-Y)/X *100%Frame loss rate = (X-Y)/X *100%(通常丢包率吞吐量(通常丢包率吞吐

15、量1 1) 从最大的帧速率开始在不同的帧速率下测试(从最大的帧速率开始在不同的帧速率下测试(Measure at various frame rates Measure at various frame rates starting with maximum frame ratestarting with maximum frame rate) TesterTester X FramesX Frames Y FramesY Frames 性能测试内容-丢包率 长期丢包率 一般设置为24小时90%最大速率(吞吐量) 一般设备100M速率的情况下长期丢包率10e-510e-6 过载丢包率 性能测试内容-背靠背 定义:RFC1242 Fixed length frames presented at a rate such that there is the minimum legal separation for a given medium between frames over a short to medium period of time,starting from an idle state. 测试方法:RFC2544 Send a burst of frames wi

展开阅读全文
相关资源
正为您匹配相似的精品文档
相关搜索

最新文档


当前位置:首页 > 高等教育 > 大学课件

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号