Advertisement
Guest User

Untitled

a guest
Oct 11th, 2012
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 3.41 KB | None | 0 0
  1. # dd if=/dev/urandom of=file.png bs=10k count=1
  2.  
  3. # ab -n 100000 -c 100 -k -H 'host: pma.local' 127.0.0.1/file.png
  4. This is ApacheBench, Version 2.3 <$Revision: 655654 $>
  5. Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
  6. Licensed to The Apache Software Foundation, http://www.apache.org/
  7.  
  8. Benchmarking 127.0.0.1 (be patient)
  9. Completed 10000 requests
  10. Completed 20000 requests
  11. Completed 30000 requests
  12. Completed 40000 requests
  13. Completed 50000 requests
  14. Completed 60000 requests
  15. Completed 70000 requests
  16. Completed 80000 requests
  17. Completed 90000 requests
  18. Completed 100000 requests
  19. Finished 100000 requests
  20.  
  21.  
  22. Server Software:        Apache
  23. Server Hostname:        127.0.0.1
  24. Server Port:            80
  25.  
  26. Document Path:          /file.png
  27. Document Length:        10240 bytes
  28.  
  29. Concurrency Level:      100
  30. Time taken for tests:   10.366 seconds
  31. Complete requests:      100000
  32. Failed requests:        0
  33. Write errors:           0
  34. Keep-Alive requests:    99051
  35. Total transferred:      1051858285 bytes
  36. HTML transferred:       1024000000 bytes
  37. Requests per second:    9646.87 [#/sec] (mean)
  38. Time per request:       10.366 [ms] (mean)
  39. Time per request:       0.104 [ms] (mean, across all concurrent requests)
  40. Transfer rate:          99093.14 [Kbytes/sec] received
  41.  
  42. Connection Times (ms)
  43.               min  mean[+/-sd] median   max
  44. Connect:        0    0   0.6      0      22
  45. Processing:     0   10  16.1      5     255
  46. Waiting:        0   10  16.1      5     255
  47. Total:          0   10  16.3      5     256
  48.  
  49. Percentage of the requests served within a certain time (ms)
  50.   50%      5
  51.   66%      8
  52.   75%     12
  53.   80%     15
  54.   90%     26
  55.   95%     40
  56.   98%     63
  57.   99%     85
  58.  100%    256 (longest request)
  59.  
  60. # ab -n 100000 -c 100 -k -H 'host: pma.local' 192.168.1.2/file.png
  61. This is ApacheBench, Version 2.3 <$Revision: 655654 $>
  62. Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
  63. Licensed to The Apache Software Foundation, http://www.apache.org/
  64.  
  65. Benchmarking 192.168.1.2 (be patient)
  66. Completed 10000 requests
  67. Completed 20000 requests
  68. Completed 30000 requests
  69. Completed 40000 requests
  70. Completed 50000 requests
  71. Completed 60000 requests
  72. Completed 70000 requests
  73. Completed 80000 requests
  74. Completed 90000 requests
  75. Completed 100000 requests
  76. Finished 100000 requests
  77.  
  78.  
  79. Server Software:        nginx
  80. Server Hostname:        192.168.1.2
  81. Server Port:            80
  82.  
  83. Document Path:          /file.png
  84. Document Length:        10240 bytes
  85.  
  86. Concurrency Level:      100
  87. Time taken for tests:   4.622 seconds
  88. Complete requests:      100000
  89. Failed requests:        0
  90. Write errors:           0
  91. Keep-Alive requests:    99062
  92. Total transferred:      1045095310 bytes
  93. HTML transferred:       1024000000 bytes
  94. Requests per second:    21634.85 [#/sec] (mean)
  95. Time per request:       4.622 [ms] (mean)
  96. Time per request:       0.046 [ms] (mean, across all concurrent requests)
  97. Transfer rate:          220805.48 [Kbytes/sec] received
  98.  
  99. Connection Times (ms)
  100.               min  mean[+/-sd] median   max
  101. Connect:        0    0   0.5      0      12
  102. Processing:     0    5   2.4      4     128
  103. Waiting:        0    3   2.5      2     128
  104. Total:          0    5   2.6      4     135
  105.  
  106. Percentage of the requests served within a certain time (ms)
  107.   50%      4
  108.   66%      4
  109.   75%      4
  110.   80%      5
  111.   90%      6
  112.   95%      7
  113.   98%     11
  114.   99%     13
  115.  100%    135 (longest request)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement