Here is an implementation of load balancing; this chooses the closest
drive for a read UI, which results in doing sequential IO from one drive
(and this works a lot better than round-robin per-IO: dm mapping happens
before IO request merging - doing round-robin results in no request
merging and terrible performance).

Random IO (e.g. kernel builds, regular use) shows up on both disks in my
mirror set, often in similar amounts.

Future iterations can build on this to do more advanced algorithms.

** Patch added: "raid1-loadbalance.patch"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/361733/+attachment/2192144/+files/raid1-loadbalance.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/361733

Title:
  dmraid(fakeRAID) raid1 driver doesn't loadbalance reads

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/361733/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to