I have two brand new Samsung 870 QVO 1TiB SATA3 SSDs in a encrypted RAID 1 mirror mounted at /home:
sda 8:0 1 931.5G 0 disk
└─ssd2_encrypted 254:11 0 931.5G 0 crypt
└─md125 9:125 0 931.4G 0 raid1
└─md125p1 259:6 0 931.4G 0 part /home
sdd 8:48 1 931.5G 0 disk
└─ssd1_encrypted 254:12 0 931.5G 0 crypt
└─md125 9:125 0 931.4G 0 raid1
└─md125p1 259:6 0 931.4G 0 part /home
Is this write test slow?
# dd if=/dev/urandom of=/home/spam.data bs=1G count=20 status=progress
21474836480 bytes (21 GB, 20 GiB) copied, 239 s, 89.7 MB/s
20+0 records in
20+0 records out
21474836480 bytes (21 GB, 20 GiB) copied, 254.581 s, 84.4 MB/s
# ls -la /sys/block/sda
lrwxrwxrwx 1 root root 0 Sep 1 07:50 /sys/block/sda -> ../devices/pci0000:00/0000:00:01.2/0000:02:00.0/0000:03:09.0/0000:08:00.0/ata3/host2/target2:0:0/2:0:0:0/block/sda/
# ls -la /sys/block/sdd
lrwxrwxrwx 1 root root 0 Sep 1 07:50 /sys/block/sdd -> ../devices/pci0000:00/0000:00:01.2/0000:02:00.0/0000:03:0a.0/0000:09:00.0/ata6/host5/target5:0:0/5:0:0:0/block/sdd/
# dmesg | grep ata3
[ 0.808208] ata3: SATA max UDMA/133 abar m2048@0xfa500000 port 0xfa500200 irq 43
[ 1.286501] ata3: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
# dmesg | grep ata6
[ 0.808931] ata6: SATA max UDMA/133 abar m2048@0xfa400000 port 0xfa400180 irq 58
[ 1.288566] ata6: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
More info that may be relevant: this is also on a brand new Gigabyte Aorus X570 Wifi Pro mainboard that seems to be exhibiting SATA command errors only with HDDs (those HDDs are also new!). I can provide more info on that if needed, but I'm not seeing those SATA command timeouts on the SSDs at all.
Does anyone have any suggestions/tips/help? Is it likely this write speed is actually correct given the raid+encryption overhead? Read speeds are ~500+MB/sec, which I think is correct.
Cheers & thanks
sda 8:0 1 931.5G 0 disk
└─ssd2_encrypted 254:11 0 931.5G 0 crypt
└─md125 9:125 0 931.4G 0 raid1
└─md125p1 259:6 0 931.4G 0 part /home
sdd 8:48 1 931.5G 0 disk
└─ssd1_encrypted 254:12 0 931.5G 0 crypt
└─md125 9:125 0 931.4G 0 raid1
└─md125p1 259:6 0 931.4G 0 part /home
Is this write test slow?
# dd if=/dev/urandom of=/home/spam.data bs=1G count=20 status=progress
21474836480 bytes (21 GB, 20 GiB) copied, 239 s, 89.7 MB/s
20+0 records in
20+0 records out
21474836480 bytes (21 GB, 20 GiB) copied, 254.581 s, 84.4 MB/s
# ls -la /sys/block/sda
lrwxrwxrwx 1 root root 0 Sep 1 07:50 /sys/block/sda -> ../devices/pci0000:00/0000:00:01.2/0000:02:00.0/0000:03:09.0/0000:08:00.0/ata3/host2/target2:0:0/2:0:0:0/block/sda/
# ls -la /sys/block/sdd
lrwxrwxrwx 1 root root 0 Sep 1 07:50 /sys/block/sdd -> ../devices/pci0000:00/0000:00:01.2/0000:02:00.0/0000:03:0a.0/0000:09:00.0/ata6/host5/target5:0:0/5:0:0:0/block/sdd/
# dmesg | grep ata3
[ 0.808208] ata3: SATA max UDMA/133 abar m2048@0xfa500000 port 0xfa500200 irq 43
[ 1.286501] ata3: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
# dmesg | grep ata6
[ 0.808931] ata6: SATA max UDMA/133 abar m2048@0xfa400000 port 0xfa400180 irq 58
[ 1.288566] ata6: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
More info that may be relevant: this is also on a brand new Gigabyte Aorus X570 Wifi Pro mainboard that seems to be exhibiting SATA command errors only with HDDs (those HDDs are also new!). I can provide more info on that if needed, but I'm not seeing those SATA command timeouts on the SSDs at all.
Does anyone have any suggestions/tips/help? Is it likely this write speed is actually correct given the raid+encryption overhead? Read speeds are ~500+MB/sec, which I think is correct.
Cheers & thanks