Skip to content

Instantly share code, notes, and snippets.

@dvush
Created September 14, 2023 11:04
Show Gist options
  • Save dvush/9beca2d2bda1907a25f9059fe44bd06c to your computer and use it in GitHub Desktop.
Save dvush/9beca2d2bda1907a25f9059fe44bd06c to your computer and use it in GitHub Desktop.
Disc benchmark
  1. Preferable stop any process that using that disc a lot.
  2. cd to a directory on disc
  3. mkdir bench && cd bench
  4. Random read and write performance IOPS. (it will use 8GB for tmp file)
fio --randrepeat=1 --ioengine=libaio --direct=1 --gtod_reduce=1 --name=fiotest --filename=testfio --bs=4k --iodepth=64 --size=8G --readwrite=randrw --rwmixread=75
  1. latency
ioping -c 20 .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment