Difference between revisions of "Tools for Performance Evaluation in Linux"

From CSE330 Wiki
Jump to: navigation, search
(Created page with 'Intro to evaluation here... Tools for performance evaluation == Apache Benchmark Tool == The Apache Benchmark ab [https://httpd.apache.org/docs/2.2/programs/ab.html] prov…')
 
Line 6: Line 6:
  
  
 +
== Performance Evaluation Resources ==
 +
[http://www.brendangregg.com/linuxperf.html Comprehensive list of tools]
  
 +
[http://alvinalexander.com/linux/unix-linux-top-command-cpu-memory Linux Top Command]
 +
 +
[https://www.thomas-krenn.com/en/wiki/Linux_Performance_Measurements_using_vmstat Linux Performance Measurements using vmstat]
 +
 +
[http://blog.scoutapp.com/articles/2013/07/25/understanding-cpu-steal-time-when-should-you-be-worried CPU Steal Time]
  
 
== Apache Benchmark Tool ==
 
== Apache Benchmark Tool ==

Revision as of 13:21, 7 November 2015

Intro to evaluation here...


Tools for performance evaluation


Performance Evaluation Resources

Comprehensive list of tools

Linux Top Command

Linux Performance Measurements using vmstat

CPU Steal Time

Apache Benchmark Tool

The Apache Benchmark ab [1] provides a convenient way to stress test your web server. The tool is included with the default installation of Apache.

An example of using ab to send 1000 requests, 10 at a time to the URL http://example.com/ is shown below:

$ ab -c 10 –n 1000 http://example.com/

The output of the tool will look similar to this:

Document Path:          /
Document Length:        25951 bytes

Concurrency Level:      10
Time taken for tests:   11.072 seconds
Complete requests:      1000
Failed requests:        0
Write errors:           0
Total transferred:      26253056 bytes
HTML transferred:       25995542 bytes
Requests per second:    90.32 [#/sec] (mean)
Time per request:       110.722 [ms] (mean)
Time per request:       11.072 [ms] (mean, across all concurrent requests)
Transfer rate:          2315.51 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:       32   33   0.4     33      39
Processing:    67   77  22.5     68     141
Waiting:       34   35   0.9     35      44
Total:        100  110  22.4    101     174