Linux benchmarking tools
I ended up using the following sites to arrive at some somewhat meaningful benchmarks:
- Linux Benchmarking HOWTO
- SPEC (as suggested by matli)
- Linux Benchmark Suite Homepage
- LMBench
- SELinux Benchmarks
Linux filesystem benchmarking best practices
I'not getting a lot of answers on this ;-) so I'll attempt to explain what my ideas are.
Eventually, I went for iozone as a benchmarking tool, mainly because of the overwhelming amount of information it provides.
IMHO, if one tries to find statistically significant data, one run of a benchmark is not enough, so I wrote a little shell script to run iozone 10 times and write the output to 10 logfiles.
Then, I wrote another script (this one in Python) to add up all the values for each cell in the matrices. The highest and lowest value for each cell are discarded in order to prevent anomalies distorting reality ;-)
For each cell, I take the average value of the eight remaining values. I copied the resulting matrix into OpenOffice.org Calc.
I did this procedure for a 'baseline' (in my case: a ext3 filesystem mounted with default options) and then repeated it for my tests.
Per test, I copied the matrix of the result into the spreadsheet where I had the baseline stored. In Calc, I did my comparison and plotted the results in diagrams.
Works pretty well.
How do I benchmark or trace a specific function in the Linux Kernel?
Ftrace is a good option and has a good documentation.
Related Topics
Sed Extracting Group of Digits
How to Use Make and Compile as C99
How to Chmod 0777 a File and Commit as Is to Git on Windows
Shell Shift Procedure - What Is This
Scp File from Local to Heroku Server
Failing to Connect to Remote Mongodb Server
Monitoring File and Directory Access on Linux
When "Vagrant Up" It Says "It Appears Your Machine Doesn't Support Nfs" (Debian Jessie)
How to Install Apxs Module on Apache 2.4.6
Difference Between Virtual Page and Page Frame
All Newlines Are Removed When Saving Cat Output into a Variable
Chmod - Protect Users' File Being Accessed So Only Owner Can Access
How to Run Script Commands from Variables