benchmarking - 无法破译 Autobench 输出

标签 benchmarking autobench httperf

我正在尝试对我编写的一个简单网络服务器进行基准测试,但我无法解读 Autobench 输出的内容。我一直在谷歌上到处搜索以寻求帮助(甚至通过 autobench 和 httperf 源代码),但一直无法理解发生了什么。

我在我的服务器上运行了以下基准测试:

autobench --single_host --host1 10.0.1.5 --port1 5555 --uri1 /Tests --quiet --low_rate 20 --high_rate 200 --rate_step 20 --num_call 10 --num_conn 5000 --timeout 5 --file results.csv 

这是我的 results.csv 文件(为了便于阅读,有一些额外的空格):

dem_req_rate,req_rate,con_rate,min_rep_rate,avg_rep_rate,max_rep_rate,stddev_rep_rate,resp_time,net_io,errors
200,         40.0,    20.0,    20.0,        20.0,        20.0,        0.0,            6.2,      15.6,  100
400,         80.0,    40.0,    40.0,        40.0,        40.0,        0.0,            6.4,      31.2,  100
600,         119.9,   60.0,    57.0,        59.9,        61.4,        0.9,            17.9,     46.8,  100.160256410256
800,         159.5,   79.9,    76.0,        79.5,        82.4,        2.1,            32.5,     62.1,  100.48231511254
1000,        155.9,   94.0,    55.8,        64.7,        75.8,        6.2,            129.4,    50.4,  151.975683890577
1200,        156.7,   112.6,   28.0,        45.5,        63.2,        11.3,           148.0,    38.9,  255.232261357836
1400,        154.7,   121.8,   22.2,        38.1,        51.6,        9.3,            175.6,    34.2,  328.299409061064
1600,        154.5,   134.7,   15.6,        28.7,        52.8,        13.3,           211.6,    27.7,  498.504486540379
1800,        143.5,   138.7,   3.2,         18.6,        41.0,        11.7,           185.1,    21.1,  768.049155145929
2000,        158.8,   159.4,   5.6,         18.0,        45.6,        14.6,           234.7,    21.6,  925.925925925926

我在想:

dem_req_rate 是什么意思? net_io 是什么意思? 错误 是什么意思? errorsdem_req_rate 有何关系?这些都是什么单位?

最佳答案

您好,我也搜索过:

  • dem_req_rate = num_call * curr_rate
    其中 curr_rate 是传递给 httperf 的速率,具体取决于迭代次数和 rate_steplow_ratehigh_rate 参数(man autobench 有关这些参数的更多信息)
  • net_io = 以千字节每秒为单位的平均网络吞吐量 KB/s
    httperfNet I/O 来自其输出的 Miscellaneous Sectionma​​n page(未链接)
  • errors 是来自 httperf 结果及其 手册页的 Errors SectionTotal errors (未链接)

关于benchmarking - 无法破译 Autobench 输出,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1586740/

相关文章:

ssl - HTTPS 端点上的自动基准

python - paste.httpserver 并使用 HTTP/1.1 Keep-alive 减速;使用 httperf 和 ab 测试

testing - OS X 10.7.1 上的 httperf 段错误

apache - httperf 命令选项

linux - Linux 上的基准测试程序

c# - .NET 微基准测试 API

node.js - Socket.IO 超出最大调用堆栈大小

c# - 逐字节比较文件还是读取所有字节?