zoukankan      html  css  js  c++  java
  • Performance tool httperf

    httperf: A relatively well-known open source utility developed by HP, for Linux operating systems only

    website: http://www.hpl.hp.com/research/linux/httperf

    the source comes as a tar.gz archive and needs to be compiled using the standard method 

    1
    2
    3
    4
    5
    ./configure
    ./make
    ./make install
     
    $ httperf --server 192.168.1.100 --port 80 --uri /index.html --rate 300 --num-conn 3000 --num-call 1 --timeout 5

    in this example httperf will download http://192.168.1.100/index.html repeatedly, 300 times per seconds, resulting in a total of 30,000 requests.

    --rate how many request should be sent every second

    --num-conn the total amount of connections 

    --num-call how many requests should be sent per connection

    --timeout quantity of seconds elapsed before a request is considered lost

    If the success ratio is 100 percent or the response time near 0 ms, increase the request rate and run the rest again until the server shows signs of weakness, 

    once the results begin to look a little less perfect tweak the appropriate configuration directives and run the test again

  • 相关阅读:
    .NET2.0基础类库中的范型——FunctionalProgramming
    原则
    080711 30℃
    关于mcp
    080714 33℃
    080715 31℃
    080716 30℃
    11号
    iOS-调用系统的短信和发送邮件功能,实现短信分享邮件分享
    UIView总结
  • 原文地址:https://www.cnblogs.com/allenhaozi/p/4508432.html
Copyright © 2011-2022 走看看