System Benchmarking

August 7, 2008 – 16:47

Bonnie++

Did a performance test on a new server with bonnie++ . Ran as apache user.

Here’s an article at Linux.com explaining about converting bonnie++ output to nice flash charts. Another more general article about using bonnie++ for FS benchmarking.

To convert the output to html, echo the last line of bonnie++ output and pipe it through bon_csv2html like this:

echo ‘output’ | bon_csv2html > moodleeo_bonnie.htm

Pgbench

Also installed postgresql-contrib on my CentOS. This allows me to use pgbench:

  • createdb pgbench
  • pgbench -i pgbench
  • pgbench -c 10 -t 10000 pgbench

-c: number of concurrent clients ; -t: number of transactions

AB

To top things of, I fiddled around with Apache Benchmark (ab). Hmm, not sure how to interpret these results but they look pretty good:

ab -n 50000 -c 20 -e ab.csv http://192.168.168.30/

Took some time to progress but results were again pretty good.

Sorry, comments for this entry are closed at this time.