I'm trying to setup a RAID10 mdadm array with bcache. My setup looks like this:
md0 -> bcache -> LVM
I'm using a RAID1 SSDs as the caching disks. The bcache mode is set to writeback. I test the writing speed using the following:
Code: Select all
dd if=/dev/zero of=/mnt/test/file bs=256M count=1 oflag=dsync
1+0 records in
1+0 records out
268435456 bytes (268 MB, 256 MiB) copied, 1.0099 s, 266 MB/s
Code: Select all
dd if=/dev/zero of=/mnt/test/file bs=256M count=1 oflag=dsync
1+0 records in
1+0 records out
268435456 bytes (268 MB) copied, 0.689868 s, 389 MB/s
Forgot to mention that I'm on Debian Stretch.
Thanks for any ideas or help you can provide.