Documenting performance of performance of PERC H310 (non-RAID) vs motherboard S110 in AHCI and RAID modes. The summary is that SSD performance varies wildly (2x). Perhaps its about wear, because most of these disks had been used 3K+ hours. However, there doesn't seem to be a correlation.
Newer drives are faster, because they have newer technology
Smaller drives seem to be faster
Luks and madam have almost no effect, considering what they are doing
The SMART stats have been saved in full on f1's db.
Benchmark code:
lvcreate -y --wipesignatures y -L 20G -n test centos
mkfs.xfs /dev/mapper/centos-test
mount /dev/mapper/centos-test /mnt
cd /mnt
# sync on close (every 10G with enough RAM (64G))
i=$(date +%s); dd bs=1M count=10240 if=/dev/zero of=test conv=fdatasync; echo $(( $(date +%s) - $i ))
rm -f test
sync
# sync on write (every 1M)
i=$(date +%s); dd bs=1M count=10240 if=/dev/zero of=test oflag=dsync; echo $(( $(date +%s) - $i ))
cd
umount /mnt
lvremove /dev/mapper/centos-test
Documenting performance of performance of PERC H310 (non-RAID) vs motherboard S110 in AHCI and RAID modes. The summary is that SSD performance varies wildly (2x). Perhaps its about wear, because most of these disks had been used 3K+ hours. However, there doesn't seem to be a correlation.
The SMART stats have been saved in full on f1's db.
Benchmark code:
Swapped slots and disks f2 & f3:
Swapped disks f2 & f3:
Removed sdb from f2:
Remove sda put sdb in sda slot from f2:
Removed H310 from f2 136s disk in slot 0:
Some configuration:
SMART info for drives (Writes=Total_LBAs_Written, Hours=Power_On_Hours):
iostat
Bit of a red herring. iostat 1 while running dsync test on f2:
on f3:
References on performance of hardware RAID vs madam: