epcim
10/21/2015 - 10:54 AM

performance_system_cpu_memory_hdd_stress_test.howto.md

Performance testing, stress system

STRESS TEST

http://weather.ou.edu/~apw/projects/stress/

Examples:

--hdd
--hdd-bytes
--vm-bytes

stress --cpu 8 --io 4 --vm 2 --hdd 1 --timeout 10s
stress --cpu 1000 --vm 1 --timeout 10s
stress --cpu 1000 --vm 1 --timeout 10s
stress -m 1 --vm-bytes 2G
stress -d 8 -t 30 #disk 8 threads, timeout 30s

PERFORMANCE STATS

apt-get install sysstat dstat
vi /etc/sysstat/sysstat (enable)

sar
sar 10 10


iostat -xt 10

dstat -ctnsrdD total,sda,sdb 60

iostat tricks

http://serverfault.com/questions/425607/kvm-guest-io-is-much-slower-than-host-io-is-that-normal