RAID with block storage
Has anyone tried RAID 0 with block storage for higher read and write speed?
Currently I am using system disk for database, however as the data increase there's no other option other than migrating to a block storage. But the read and write speed of block storage wasn't near half the speed of local disk.
2 Replies
Due to obvious potential for full data loss, the only person I know that would use Raid Zero would be Chuck Norris. …Or someone who doesn’t know better.
Of course with good backup strategy and failover is needed over raid 0 disk. In real physical disk the data loss risk maybe unacceptable, but since Block storage is advertised to have redundancy in place, the real risk should be much lower.
Anyway, I tested on small block storage (2x10G) the read and write speed is same as normal block storage.
dd if=/dev/zero of=blockstorage.test bs=4M count=500
500+0 records in
500+0 records out
2097152000 bytes (2.1 GB, 2.0 GiB) copied, 18.6908 s, 112 MB/s
dd if=blockstorage.test of=/tmp/blockstorage.test bs=4M
500+0 records in
500+0 records out
2097152000 bytes (2.1 GB, 2.0 GiB) copied, 30.472 s, 68.8 MB/s
Just a background to why raid 0 is proposed: there's seems to be an issue for block storage in Singapore region which cause slow read and write speed ( < 150 MB/s ). But since Linode is still (slow) resolving this issue at this time of writing, raid 0 is proposed as a temporary solution.