Skip to content

Instantly share code, notes, and snippets.

View iExalt's full-sized avatar

Clement Liaw iExalt

  • Machinify
  • San Francisco, CA
  • 18:22 (UTC -07:00)
View GitHub Profile
@iExalt
iExalt / fio.sh
Created October 21, 2020 20:48
Fio benchmark script
#!/usr/bin/env sh
set -e
if [ -z $DBENCH_MOUNTPOINT ]; then
DBENCH_MOUNTPOINT=/dev/sdb
fi
if [ -z $FIO_SIZE ]; then
FIO_SIZE=2G
fi