benchmark disk

sysbench (for MySQL)

  # yum install sysbench
  # sysbench --file-num=1000 --num-threads=16 --test=fileio --file-total-size=10M --file-test-mode=rndrd prepare
  # sysbench --file-num=1000 --num-threads=16 --test=fileio --file-total-size=10M --file-test-mode=rndrd run
  # sysbench --file-num=1000 --num-threads=16 --test=fileio --file-total-size=10M --file-test-mode=rndrd cleanup

bonnie++

Use these bonnie++ settings:

 bonnie++ -n 0 -u 0 -r <physical RAM> -s <20x physical ram> -f -b -d <mounted array>

For example, if you have 512 MBytes of system RAM, and the RAID array was mounted on /raid, then you would use these settings:

 # bonnie++ -n 0 -u 0 -r 512 -s 20480 -f -b -d /raid

Ссылки

Комментарии

 
blog/2011/12/15-benchmark_disk.txt · Последние изменения: 2011/12/15 14:29 — Антон Бугреев · []