- Apr 24, 2007
- 7
- 0
- 66
My 1TB NVMe M.2 SSD has become VERY slow over the last month or two and I would really like to restore the original performance. Below I listed some some system information and benchmarks (sysbench random read/write tests followed by sysbench random read benchmarks.)
This Gentoo Linux system was built last fall and is based on a SuperMicro C9X299-PG300 motherboard (with latest
firemware) It has three drives:
System drive: Samsung 970 PRO NVMe M.2
Home and Data: Crucial MX500 Sata SSD
Backup: Seagate BarraCuda Pro Sata HDD
OS Kernel: 4.20.12-gentoo.
All partitions on both the NVMe M.2 SSD and Sata SSD are formated with ext4 file system and have a daily run of /sbin/fstrim. Each drive was originally formatted with parted. 10GB was not formatted on each SSD. Currently each partition on the NVMe is using less than 50% of its total space.
The daily run of fstrim gives the following type of output. (/ and /data0 are on the 970 PRO NVMe. /data1 is on
the Crucial Sata SSD)
2019-02-28_00:10
/: 13.5 GiB (14478188544 bytes) trimmed
/data0: 107.2 MiB (112410624 bytes) trimmed
/data1: 3.9 GiB (4141568000 bytes) trimmed
There are no obvious errors that I see in /var/log/messages. smartctl (part of smartmontool-6.6) does not report
any errors.
If I could boot Windows on this system I would run Samsung's Magician software. (The command line version of
Magician that does work on Linux does not support the 970 Pro.)
Here are some results of running some benchmarks:
First random read/write
sysbench fileio --file-total-size=128G prepare
sysbench fileio --file-total-size=128G --file-test-mode=rndrw --time=120 --max-requests=0 run
on the Samsung 970 PRO NVMe:
File operations:
reads/s: 93.14
writes/s: 62.09
fsyncs/s: 199.69
on the Crucial Sata SSD:
File operations:
reads/s: 171.96
writes/s: 114.64
fsyncs/s: 367.84
on the Seagate Sata HDD:
File operations:
reads/s: 81.04
writes/s: 54.02
fsyncs/s: 173.62
For comparison. On a 2nd system, (A Dell with Dell's NVMe also running Gentoo with same kernel)
File operations:
reads/s: 1684.65
writes/s: 1123.10
fsyncs/s: 3594.39
So for random read/write the Crucial Sata SSD is faster than the 970 PRO NVMe.
Now Random Read test:
sysbench fileio --file-total-size=128G --time=120 --max-requests=0 --file-test-mode=rndrd run
on the Samsung 970 PRO NVMe:
File operations:
reads/s: 644.97
writes/s: 0.00
fsyncs/s: 0.00
on the Crucial Sata SSD:
File operations:
reads/s: 478.29
writes/s: 0.00
fsyncs/s: 0.00
on the Seagate Sata HDD:
File operations:
reads/s: 93.43
writes/s: 0.00
fsyncs/s: 0.00
Read only the NVMe is a little faster, but it should be much faster.
Any suggestions on getting the Samsung 970 PRO NVMe working fast again?
This Gentoo Linux system was built last fall and is based on a SuperMicro C9X299-PG300 motherboard (with latest
firemware) It has three drives:
System drive: Samsung 970 PRO NVMe M.2
Home and Data: Crucial MX500 Sata SSD
Backup: Seagate BarraCuda Pro Sata HDD
OS Kernel: 4.20.12-gentoo.
All partitions on both the NVMe M.2 SSD and Sata SSD are formated with ext4 file system and have a daily run of /sbin/fstrim. Each drive was originally formatted with parted. 10GB was not formatted on each SSD. Currently each partition on the NVMe is using less than 50% of its total space.
The daily run of fstrim gives the following type of output. (/ and /data0 are on the 970 PRO NVMe. /data1 is on
the Crucial Sata SSD)
2019-02-28_00:10
/: 13.5 GiB (14478188544 bytes) trimmed
/data0: 107.2 MiB (112410624 bytes) trimmed
/data1: 3.9 GiB (4141568000 bytes) trimmed
There are no obvious errors that I see in /var/log/messages. smartctl (part of smartmontool-6.6) does not report
any errors.
If I could boot Windows on this system I would run Samsung's Magician software. (The command line version of
Magician that does work on Linux does not support the 970 Pro.)
Here are some results of running some benchmarks:
First random read/write
sysbench fileio --file-total-size=128G prepare
sysbench fileio --file-total-size=128G --file-test-mode=rndrw --time=120 --max-requests=0 run
on the Samsung 970 PRO NVMe:
File operations:
reads/s: 93.14
writes/s: 62.09
fsyncs/s: 199.69
on the Crucial Sata SSD:
File operations:
reads/s: 171.96
writes/s: 114.64
fsyncs/s: 367.84
on the Seagate Sata HDD:
File operations:
reads/s: 81.04
writes/s: 54.02
fsyncs/s: 173.62
For comparison. On a 2nd system, (A Dell with Dell's NVMe also running Gentoo with same kernel)
File operations:
reads/s: 1684.65
writes/s: 1123.10
fsyncs/s: 3594.39
So for random read/write the Crucial Sata SSD is faster than the 970 PRO NVMe.
Now Random Read test:
sysbench fileio --file-total-size=128G --time=120 --max-requests=0 --file-test-mode=rndrd run
on the Samsung 970 PRO NVMe:
File operations:
reads/s: 644.97
writes/s: 0.00
fsyncs/s: 0.00
on the Crucial Sata SSD:
File operations:
reads/s: 478.29
writes/s: 0.00
fsyncs/s: 0.00
on the Seagate Sata HDD:
File operations:
reads/s: 93.43
writes/s: 0.00
fsyncs/s: 0.00
Read only the NVMe is a little faster, but it should be much faster.
Any suggestions on getting the Samsung 970 PRO NVMe working fast again?