Jump to content
Sign in to follow this  
frodr

Cashe speed in Raid 1 vs. Raid 10.

3 posts in this topic Last Reply

Recommended Posts

My experience is that Raid 10 is almost dobbel speed as Raid 1. But going from Raid 1 to Raid 10 for the cache drives did not. That is, measuring kvm disk speed. Speed is just slightly better with Raid10. 

 

Is this as expected?

Raid1.png

Raid10.png

Share this post


Link to post

What are you comparing? 4 SSDs in btrfs RAID1 vs 4 SSDs in btrfs RAID 10? I wouldn't expect there to be a huge difference because btrfs is intelligent. RAID 10 guarantees that block n is mirrored across two devices and that block n + 1 is mirrored across two different devices. RAID 1 simply guarantees that each block is mirrored across two devices, but when it has four devices to play with it can be quite creative. Though not guaranteed, there's little reason for adjacent blocks not to be written to different devices where possible, so RAID 10-like performance is not unexpected. You can even have configurations that just wouldn't work with conventional RAID, such as a five-device RAID 10, and they don't even all have to be the same capacity!

Share this post


Link to post
54 minutes ago, John_M said:

What are you comparing? 4 SSDs in btrfs RAID1 vs 4 SSDs in btrfs RAID 10? 

Yes.

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this