dmraid(fakeRAID) raid1 driver doesn't loadbalance reads
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
This is a kernel bug. Actually, it's intended behavior, but it shouldn't be.
In theory, fake RAID and software RAID should be the same thing. The only practical difference is where they get their metadata from. One from the system BIOS, the other from the disk. However, it turns out that they take two completely different code paths. The fakeraid (dmraid) driver reads only from the primary disk, while the software raid (mdraid) driver implements load balancing for RAID1. Of course, this difference isn't well-documented, resulting in people sometimes choosing the wrong one.
(1) There's no good reason why there should be two separate software RAID1 drivers. They should be merged.
(2) In the meanwhile, people should be splashed with loud warnings that if they choose fakeraid, they'll not get the improved read performance that they expect.
Here's the LKML discussion where I asked about this:
http://
As far as I know, they haven't addressed this problem since. I'm reporting this here, because I see Ubuntu as the distro that seems to take responsibility for fixing a lot of the silliness that others won't.
affects: | ubuntu → ubuntu-meta (Ubuntu) |
affects: | ubuntu-meta (Ubuntu) → linux (Ubuntu) |
Changed in linux (Ubuntu): | |
status: | Expired → New |
tags: | added: patch |
Thanks for your report. Development of the dmraid driver is on-going, but is done "upstream" and not by Ubuntu developers, actually more by RedHat developers. Maybe you should change the bug title to "dmraid does not do load balancing" or something more specific.