【问题标题】:how can measure the benchmark in linux如何在linux中测量基准
【发布时间】:2015-11-08 12:26:19
【问题描述】:

我用 2.6.32-504.23.4.el6.x86_64 内核在我的 Centos 上安装了 phoronix-test-suite 我想对 Nginx 和 Apache Web 服务器进行基准测试。

我跑了phoronix-test-suite benchmark pts/apache,得到了以下结果:

Apache Benchmark 2.4.7:
    pts/apache-1.6.1
    Test 1 of 1
    Estimated Trial Run Count:    3
    Estimated Time To Completion: 9 Minutes
        Running Pre-Test Script @ 14:21:20
        Started Run 1 @ 14:21:25
        Started Run 2 @ 14:24:36
        Started Run 3 @ 14:27:25  [Std. Dev: 7.14%]
        Started Run 4 @ 14:30:15  [Std. Dev: 6.37%]
        Started Run 5 @ 14:33:01  [Std. Dev: 5.84%]
        Started Run 6 @ 14:36:03  [Std. Dev: 5.76%]
        Running Post-Test Script @ 14:39:08

    Test Results:
        5329.74
        6048.09
        6048.02
        6132.58
        5659.47
        5514.46

    Average: 5788.73 Requests Per Second

这些数字是多少?

【问题讨论】:

    标签: apache nginx benchmarking


    【解决方案1】:

    phoronix 对您的 apache 进行了 ab 压力测试,该测试对他来说需要 9 分钟,他进行了 6 次测试。

        5329.74
        6048.09
        6048.02
        6132.58
        5659.47
        5514.46
    

    这些数字是每个测试每秒的请求数

    Average: 5788.73 Requests Per Second
    

    这是所有测试的平均值。

    【讨论】:

    • 感谢您的回复!
    • 如果你知道一个好的参考请推荐我!我想测量mysql在各种条件下的性能
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-08-11
    • 1970-01-01
    相关资源
    最近更新 更多