chariot脚本最基本组成部分

上传人:小** 文档编号:89123115 上传时间:2019-05-18 格式:DOC 页数:3 大小:17.50KB
返回 下载 相关 举报
chariot脚本最基本组成部分_第1页
第1页 / 共3页
chariot脚本最基本组成部分_第2页
第2页 / 共3页
chariot脚本最基本组成部分_第3页
第3页 / 共3页
亲,该文档总共3页,全部预览完了,如果喜欢就下载吧!
资源描述

《chariot脚本最基本组成部分》由会员分享,可在线阅读,更多相关《chariot脚本最基本组成部分(3页珍藏版)》请在金锄头文库上搜索。

1、Chariot脚本最基本组成部分(2007-10-29 14:52:51)LOOP count = number_of_timing_records(50)/ 外循环,确定脚本总循环次数(50) START_TIMER计数开始,同时内循环中transactions_per_second初始化 LOOP count = transaction_per_second(100)/内循环,每次循环传输数量(100)个 INCREMENT_TRANSACTION /循环次数加一 END_LOOP /这玩意儿不用解释了吧 END_TIMER /同上END_LOOP /同上上中间还有什么SEND啦,SLEE

2、P啦,CONNECT_INITIATE啦,如果是测试streaming的开头还有RTP_PAYLOAD_TYPE 选择传输模式(TYPE可以翻译成模式吗?不知道),总之上面列出来的是最基本的组成部分(DISCONNECT和close_type其实也算 吧不管,online library上没写)。Chariot中吞吐量等值的算法(2007-10-29 15:30:33)ThroughputThe throughput is usually calculated with the following equation:(Bytes_Sent + Bytes_Received_By_Endpoin

3、t_1) / (Throughput_Units) / Measured_TimeAverage throughput of a group is calculated this way for a non-streaming script:bytes_sent + bytes_received (total for all pairs) / elapsed timeIf you are running a streaming script, the following equation is used:bytes received (by E2) / Measured timeAverage

4、 throughput for a group of pairs running a streaming script is calculated this way:bytes_received_by_endpoint_2 (total for all pairs) / elapsed_timeAverage throughput for a multicast group is calculated asmax total bytes received by any multicast E2 / elapsed timeIn all calculations, elapsed time is

5、 the elapsed time of the longest-running pair in the test. The measured time is the sum, in seconds, of all the timing record durations returned for the endpoint pair.Heres how each of the script variables is defined:Bytes_Sent-the number of bytes sent by Endpoint 1 of a pair.Bytes_Received-the numb

6、er of bytes received by the endpoint of a pair.Throughput_Units-the current throughput units value, in bytes per second. For example, if the throughput units are KBps, 1024 is the Throughput_Units value. In this example, the throughput units number is shown in the column heading as Mbps, which is 12

7、5,000 bytes per second (that is, 1,000,000 bits divided by 8 bits per byte).Transaction RateThe calculations are shown in transactions per second. This rate is calculated as follows:Transaction_Count / Measured_TimeResponse TimeThe response time is the inverse of the transaction rate. The calculatio

8、ns are shown in seconds per transaction. This value is calculated as follows:Measured_Time / Transaction_CountLost DataThe lost data is the difference between the number of bytes sent by Endpoint 1 and the number of bytes Endpoint 2 actually received. Lost data is only calculated when a pair is running a streaming script (for example, in a VoIP or IP Multicast test). Only payload data is included in the calculations.

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 商业/管理/HR > 管理学资料

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