github.com/NVIDIA/aistore@v1.3.23-0.20240517131212-7df6609be51d/bench/microbenchmarks/fio/Makefile (about)

     1  # Run full FIO benchmark on disk $FSPATH, output results to $OUT
     2  #
     3  # Example:
     4  # $ FSPATH="/ais/sda" OUT="~/fio.out" make bench
     5  #
     6  # See: https://linux.die.net/man/1/fio
     7  bench:
     8  	@if [ -z "${FSPATH}" ]; then echo "FSPATH variable cannot be empty"; exit 1; fi
     9  	@if [ -z "${OUT}" ]; then echo "OUT variable cannot be empty"; exit 1; fi
    10  	fio fio.cfg --directory="${FSPATH}" --output="${OUT}"
    11  	@echo "Remember to clean up created files in ${FSPATH} directory"
    12  
    13  dependencies:
    14  	sudo apt-get install fio
    15