All of lore.kernel.org
 help / color / mirror / Atom feed
* multipath multibus performance
@ 2008-01-31 16:39 Andy
  2008-01-31 18:26 ` malahal
  0 siblings, 1 reply; 2+ messages in thread
From: Andy @ 2008-01-31 16:39 UTC (permalink / raw)
  To: dm-devel

I would like to increase the performance of the multibus mode of multipath. 
It would be nice if multibus performance would be very close to accessing
the device directly.  From what I have been told, under multibus, I/O's are
broken up into bio's and sent down the multiple paths, with no merging of
adjacent I/O's.  Would it be possible to add code to the kernel so that
adjacent (at least some of them, probably make configurable) would be merged
and sent on a single path?  And, would this increase the performance of
multibus mode?  

I would be willing to work on it myself, but I have never done any kernel
coding (I done plenty of C coding) and would not know where to look to even
attempt adding I/O merging to multipath.

What do you think?  Would this work, and how would I go about doing it?

Andy

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

* Re: multipath multibus performance
  2008-01-31 16:39 multipath multibus performance Andy
@ 2008-01-31 18:26 ` malahal
  0 siblings, 0 replies; 2+ messages in thread
From: malahal @ 2008-01-31 18:26 UTC (permalink / raw)
  To: dm-devel

Andy [genanr@emsphone.com] wrote:
> I would like to increase the performance of the multibus mode of multipath. 
> It would be nice if multibus performance would be very close to accessing
> the device directly.  From what I have been told, under multibus, I/O's are
> broken up into bio's and sent down the multiple paths, with no merging of
> adjacent I/O's.

Not quite correct. It depends on the path selector algorithm you use.
"round_robin" with rr_min_io set to 1 will definitely give you bad
performance for sequential I/O. If you set rr_min_io to a big number,
the adjacent I/Os may be merged together. What values did you use in
your testing?

--Malahal.

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

end of thread, other threads:[~2008-01-31 18:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-31 16:39 multipath multibus performance Andy
2008-01-31 18:26 ` malahal

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.