linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* raid1 read io balancing algorithm
@ 2013-08-08  9:04 struhlo
  2013-08-08 14:26 ` Roberto Spadim
  2013-08-08 14:27 ` Roberto Spadim
  0 siblings, 2 replies; 3+ messages in thread
From: struhlo @ 2013-08-08  9:04 UTC (permalink / raw)
  To: linux-raid

 
hello,
 
how can i check set what read io scheduling/balancing is done in radi1 over md raid1 devices ?
 
I have host based mirror over san devices, and to be honest i haven't found any mention in the docu nor raid.wiki.kernel.org about how the raid1 read balancing is done.
 
thanks
br/s
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: raid1 read io balancing algorithm
  2013-08-08  9:04 raid1 read io balancing algorithm struhlo
@ 2013-08-08 14:26 ` Roberto Spadim
  2013-08-08 14:27 ` Roberto Spadim
  1 sibling, 0 replies; 3+ messages in thread
From: Roberto Spadim @ 2013-08-08 14:26 UTC (permalink / raw)
  To: struhlo; +Cc: Linux-RAID

hi, from what i remember, it's done only with device "last position"
AKA "disk head position"
the device with head position near to position being read is "selected"
on sequencial reads, the last used device is used, considering that
for sequencial reads a single disk is faster, because we don't waste
3ms to positioning head to sector, that's near true if you don't have
diferent devices speed (7200rpm + 10000rpm + 15000rpm + ssd)

the best source of this information is source code of raid1.c
it's a function (i don't remember the name, but something like read_balancing)

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: raid1 read io balancing algorithm
  2013-08-08  9:04 raid1 read io balancing algorithm struhlo
  2013-08-08 14:26 ` Roberto Spadim
@ 2013-08-08 14:27 ` Roberto Spadim
  1 sibling, 0 replies; 3+ messages in thread
From: Roberto Spadim @ 2013-08-08 14:27 UTC (permalink / raw)
  To: struhlo; +Cc: Linux-RAID

hi, from what i remember, it's done only with device "last position"
AKA "disk head position"
the device with head position near to position being read is "selected"
on sequencial reads, the last used device is used, considering that
for sequencial reads a single disk is faster, because we don't waste
3ms to positioning head to sector, that's near true if you don't have
diferent devices speed (7200rpm + 10000rpm + 15000rpm + ssd)

the best source of this information is source code of raid1.c
it's a function (i don't remember the name, but something like read_balancing)

sorry many emails the mail list denied HTML emails

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-08-08 14:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-08  9:04 raid1 read io balancing algorithm struhlo
2013-08-08 14:26 ` Roberto Spadim
2013-08-08 14:27 ` Roberto Spadim

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).