Skip to content

Instantly share code, notes, and snippets.

@anarazel
Last active May 25, 2024 21:14
Show Gist options
  • Save anarazel/b527e5317bb7d58483a9858f5f2435ca to your computer and use it in GitHub Desktop.
Save anarazel/b527e5317bb7d58483a9858f5f2435ca to your computer and use it in GitHub Desktop.
SSD durable write latency

Collecting latency information for durable QD 1 writes, measured using

fio --directory /mnt/t2/fio/ \
  --runtime 3 --time_based \
  --output-format json \
  --overwrite 1 --size=8MB --buffered 0 --bs=4096 --rw=write \
  --name write-dsync --wait_for_previous --sync=dsync \
  --name write-fdatasync --wait_for_previous --fdatasync=1 \
  --name write-nondurable --wait_for_previous \
  | jq '.jobs[] | [.jobname, .write.iops]'

To acquire model, device location and mountpoints, the following can be used:

lsblk -o path,model,fstype,size,mountpoints
Make Model Size Filesystem IOPS Non-Durable IOPS DSYNC IOPS fdatasync Reporter
Sabrent Rocket 4.0 2TB ext4 71108.67 2324.89 2214.92
ADATA SX8200PNP 2TB XFS 94385.20 91374.54 2767.07
Samsung 990 Pro 4TB EXT4 + LUKS 46772.41 171.11 802.40 link
Apple AP1024Z 1TB APFS 601014.67 11005.99 9073.30 link
WD SN750 1TB EXT4 + LUKS 22507.49 3030.32 2688.43 link
Samsung 980 PRO 2TB ext4 + LUKS + LVM 48454.52 223.70 522.12 link
Samsung 970 EVO Plus 2TB ext4 97161.33 215.31 445.70 link
SOLIDIGM SSDPFPNU010TZ 1TB LUKS + LVM2 + Ext4 38440.19 4278.57 3370.87 link
SK Hynix frame.work laptop 1TB ext4, usb-c 21945.35 687.10 704.86 link
SANdisk WDS200T1X0E-00AFY0 2TB ext4+LUKS 65653.11 4862.71 4264.58 link
Samsung 980 Pro btrfs 1TB 43679.00 89.76 149.70 link
WD SN730 SDBQNTY-512G-1001 512GB ext4 50275.24 4133.62 3415.52 link
Samsung 830 512GB XFS 30247.91 491.01 493.337 link
Samsung 840 EVO 1TB XFS 30857.38 536.82 506.83 link
Samsung 850 EVO 2TB XFS 41822.73 957.35 936.02 link
Samsung 870 EVO 2TB LUKS+ext4 22464.85 1216.26 1213.928 link
SK hynix Gold P31 F2FS 14173.28 555.63 559.29 link
Samsung PM9A1 512GB ext4 + lvm2 + luks 58705.43 241.09 697.77 link
Intel 660p Series 512GB EXT4,barrier=0 71593.80 1952.35 69286.57 link
Crucial BX500 240GB EXT4,barrier=0 35271.00 34316.56 33441.52 link
Crucial BX500 480GB XFS 29078.97 1626.46 1619.13 link
Crucial BX500 480GB EXT4 30528.96 1571.48 1597.80 link
Crucial BX500 480GB NTFS 42269.58 1405.53 1408.20 link
Lexar NM790 2TB 2x RAID1, ext4 62450.00 499.17 4812.75 link
Seagate FireCuda 520 2TB ext4 102382.54 2293.90 2225.26 link
Samsung 980 PRO 1TB ZFS 367851.05 455.54 460.21 link
Samsung 970 EVO Plus 2TB ZFS 337257.58 1066.64 1072.98 link
Corsair MP600 PRO XT 4TB btrfs + nocow 49631.79 718.09 1002.00 link
Corsair MP600 PRO XT 4TB btrfs 53249.58 654.12 849.72 link
Corsair MP600 PRO XT 4TB ext4 73687.77 2633.12 2479.17 link
KIOXIA KBG40ZNS512G 512GB EXT4 + lukS 19829.72 268.73 715.86 link
Samsung 980 Pro 1TB ext4 on Raid1+lvm 48717.76 225.85 528.16 link
Samsung 980 Pro 2TB btrfs + luks 31156.28 91.60 154.51 link
GIGABYTE GP-ASM2NE6100TTTD 1TB btrfs+luks 27960.68 707.43 841.39 link
Crucial T500 2TB XFS 108641.45 2142.62 2125.96 link
link
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment