Host Tuning and Testing

Generic testing methods and ideas;

CPU testing:

dd if=/dev/zero of=/dev/null & (8 to 16 times)
pi=$(echo "scale=100000; 4*a(1)" | bc -l)  &

Disk testing:

tar cf /dev/zero /path/to/big/disks/as/raid-5
tar cf - /amsdata | dd of=/dev/null

seeker.c - Hard drive random access time tester from http://www.linuxinsight.com/how_fast_is_your_disk.html

Disk options:

RAID options or BBWC:
fstab entry: ;rw,noatime,logbufs=8,logbsize=256k,nobarrier

Previous page: Dennis Ritchie
Next page: Ganeti Commands