Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
fio config to do 50/50 r/w thrashing IO load across a few drives
# a 5 minute disk thrashing benchmark
# generates equal amounts of random read and write IO on every drive
# will generate metrics for each drive
[global]
ioengine=libaio
direct=1
unified_rw_reporting=1
rw=randrw
time_based=1
runtime=300s
# Seagate 7200RPM SAS 512G ST9500430SS (sdb)
[/dev/disk/by-path/pci-0000:03:00.0-sas-0x5000c5000d7f96d9-lun-0]
write_lat_log=7200RPMSAS-0x5000c5000d7f96d9
# Seagate 7200RPM Enterprise SATA 1TB ST31000340NS (sdg)
[/dev/disk/by-id/wwn-0x5000c500151229dd]
write_lat_log=7200RPMEnterpriseSATA-0x5000c500151229dd
# Samsung 840 Pro 128GB (on a 3G SATA port) (sdd)
[/dev/disk/by-id/ata-Samsung_SSD_840_PRO_Series_S1ANNSADB05219A]
write_lat_log=SSDSATA-S1ANNSADB05219A
# 2x SAS drives with GPT partition & MDRAID0 (sdi1 + sdc1)
# Seagate 7200RPM SAS 512G ST9500430SS
[/dev/disk/by-id/md-uuid-6bb71ed6:e4410fc9:b27af0b7:0afe758d]
write_lat_log=7200RPMSAS-MDRAID0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment