Hi! I recently noticed some sporadic lagging in my system (20.10 on an i4770K) and I thought "maybe a disk is acting up." I have a few SSD's and a few HDD's on this system. Using KDiskMark, I found the SSDs (one of which contains / and /home and /win for a dual boot into Windows 8.1) are apparently running extremely slow. They are pretty old drives (on the order of 8 years?), so maybe that's all it is?
The tests being run are:
Sequential 1 MiB (Q= 8, T= 1)
Sequential 1 MiB (Q= 1, T= 1)
Random 4 KiB (Q=32, T=16) (*on Windows CrystalDiskMark this test is T=1)
Random 4 KiB (Q= 1, T= 1)
/ and /home (Samsung 840 Pro) are showing:
[Read]
540.731 MB/s
320.208 MB/s
191.349 MB/s
2.803 MB/s
[Write]
372.830 MB/s
291.069 MB/s
79.786 MB/s
2.923 MB/s
...however the results aren't super consistent when I re-run them other times.
A different partition on the same disk is getting:
[Read]
429.211 MB/s
452.952 MB/s
32.538 MB/s
5.770 MB/s
[Write]
260.469 MB/s
296.476 MB/s
55.664 MB/s
92.254 MB/s
That third partition, when I run CrystalDiskMark in the Windows installation, gets much better results: >550 MB/s sequential reads, 389 MB/s random 4k reads (instead of 32 on linux!) and similarly the write speeds are 2-3 times as fast as on linux. The partition is NTFS; I could see the windows driver being faster than linux's driver, but that much faster? And why would the ext4 partitions be so slow on linux?
Similar stuff is happening on the second SSD, a Samsung 860 EVO: sometimes performance is about the same, but usually it's much faster on Windows, and sometimes 2-3 times as fast (also an NTFS partition.)
Any thoughts on what might be happening?
/etc/fstab is pretty vanilla:
UUID=1234 / ext4 errors=remount-ro 0 1
UUID=1235 /home ext4 defaults 0 2
UUID=1236 /otherpartition ntfs defaults,umask=007,gid=46,uid=1000 0 0
The SSDs have the latest firmware.
SMART checks and self tests and so on reveal nothing.
If it was just a tired old disk, it wouldn't magically run so much faster on Windows, right?
/home is encrypted, but not / (their results are the same in KDiskMark).
Any thoughts are greatly appreciated!
The tests being run are:
Sequential 1 MiB (Q= 8, T= 1)
Sequential 1 MiB (Q= 1, T= 1)
Random 4 KiB (Q=32, T=16) (*on Windows CrystalDiskMark this test is T=1)
Random 4 KiB (Q= 1, T= 1)
/ and /home (Samsung 840 Pro) are showing:
[Read]
540.731 MB/s
320.208 MB/s
191.349 MB/s
2.803 MB/s
[Write]
372.830 MB/s
291.069 MB/s
79.786 MB/s
2.923 MB/s
...however the results aren't super consistent when I re-run them other times.
A different partition on the same disk is getting:
[Read]
429.211 MB/s
452.952 MB/s
32.538 MB/s
5.770 MB/s
[Write]
260.469 MB/s
296.476 MB/s
55.664 MB/s
92.254 MB/s
That third partition, when I run CrystalDiskMark in the Windows installation, gets much better results: >550 MB/s sequential reads, 389 MB/s random 4k reads (instead of 32 on linux!) and similarly the write speeds are 2-3 times as fast as on linux. The partition is NTFS; I could see the windows driver being faster than linux's driver, but that much faster? And why would the ext4 partitions be so slow on linux?
Similar stuff is happening on the second SSD, a Samsung 860 EVO: sometimes performance is about the same, but usually it's much faster on Windows, and sometimes 2-3 times as fast (also an NTFS partition.)
Any thoughts on what might be happening?
/etc/fstab is pretty vanilla:
UUID=1234 / ext4 errors=remount-ro 0 1
UUID=1235 /home ext4 defaults 0 2
UUID=1236 /otherpartition ntfs defaults,umask=007,gid=46,uid=1000 0 0
The SSDs have the latest firmware.
SMART checks and self tests and so on reveal nothing.
If it was just a tired old disk, it wouldn't magically run so much faster on Windows, right?
/home is encrypted, but not / (their results are the same in KDiskMark).
Any thoughts are greatly appreciated!
Comment