I've got a software RAID5 array consisting of four 8TB disks assembled using mdadm
. When I try to measure write performance using fio
with the command
fio --name TEST --eta-newline=5s --filename=fio-tempfile.dat --rw=write --size=500m --io_size=10g --blocksize=1024k --ioengine=libaio --fsync=10000 --iodepth=32 --direct=1 --numjobs=1 --runtime=60 --group_reporting
taken from this answer (How to check hard disk performance) I am happy to see the results line
WRITE: bw=186MiB/s (195MB/s), 186MiB/s-186MiB/s (195MB/s-195MB/s), io=10.0GiB (10.7GB), run=54942-54942msec
However, if I use the Gnome Disks program I see an average write rate over 100 samples of merely 1.8 MB/s
! (I used default settings: 10 MiB
sample size.) Also Gnome Disks reports an average write rate of 76.2 MB/s
over the same benchmark, considerably lower than what fio
reports using a 10MB blocksize (~300 MB/s
).
I know that these tools don't give results which are directly comparable, but something has to be amiss with Gnome Disks, considering that I don't see the abysmal write performance in practice. When copying a ~5GB
file in nautilus I do see very fast copying of the first ~1.3GB
(presumably going straight into a cache), then a stutter for a few seconds where it looks like no progress is being made, and then a very fast jump to completion (but I'm willing to assume that this is typical of the configuration).
Have I made a common mistake---what could possibly be the problem with Gnome Disk's measurement of the write speeds?