Nethence Documentation Lab Webmail Your IP BBDock  


Those documents are obsolete, please use the Nethence Documentation instead.

HomeUnixWindowsOracleObsoleteHardwareDIYMechanicsScriptsConfigsPrivate

Unix benchmarking
 
Global tools
LMbench
 
CPU & swap
This manual method may be helpful,
reboot w/ kernel boot option mem=256m
vmstat 1 (si=swap in, so=swap out)
make -j 20 bzImage
Refs.
https://www.linode.com/docs/uptime/monitoring/use-vmstat-to-monitor-system-performance
 
Network
Real-time network usage:
- nload
- iptraf, iptrag-ng
- tcptrack
- nethogs
- iftop
- iperf
- ntop
Refs.
http://www.binarytides.com/linux-commands-monitor-network/
 
Harddrive
On a Linux system only, here on an IDE (hda) drive, check for DMA,
hdparm -d /dev/hda
#hdparm -d 1 /dev/hda
and see hard drive performance,
hdparm -Tt /dev/hda
Note. -T for cached reads
Note. -t for buffered disk reads
 
There's also iostat,
iostat sda  # standard
iostat -x sda  # extended
iostat -p sda  # partitions
iostat -d 1 sda  # refresh every 1 second
Note iostat comes with the "sysstat" package.
Ref. http://pagesperso-orange.fr/sebastien.godard/
 
bonnie
bonnie++
 
For example,
bonnie -s 1024
 
Apache
Apache's ab
 
MySQL
Download and install sysbench (http://sysbench.sourceforge.net/). Usage example,
sysbench \
--test=oltp \
--num-threads=512 \
--mysql-user=root \
--max-time=240 \
--max-requests=0
 
PostgreSQL
Pgbench is included in PostgreSQL (http://www.postgresql.org/).
 
Usage reference
 
Miscellaneous
- NetBSD pkgsrc's benchmark selection
- KSH benchmark tests
 
Windows
http://www.openworkbench.org/
Procfeatures
 
References
http://www.sun.com/x64/docs/MySQL-sysbench-benchmark.pdf
http://www.metacard.com/kshbench.html
 

Last update: Dec 08, 2015