public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
* SRP Q's: 1) When is asynchronous I/O complete, 2) Is sequential I/O coalesced, and 3) why is iSCSI faster than SRP in some instances
@ 2010-01-07  0:16 Chris Worley
       [not found] ` <f3177b9e1001061616v4f0015d1h843ba19c8cdd83d-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 13+ messages in thread
From: Chris Worley @ 2010-01-07  0:16 UTC (permalink / raw)
  To: OFED mailing list, scst-devel

In shifting through a great deal of benchmark data collected from two
identical machines (including the attached drive array), I see the
following SRP anomalies:

1) I'm seeing small block random writes (32KB and smaller) get better
performance over SRP than they do as a local drive.  I'm guessing this
is async behavior: once the written data is on the wire, it's deemed
complete, and setting a sync flag would disable this.  Is this
correct?  If not, any ideas why SRP random writes would be faster than
the same writes locally?

2) I'm seeing very poor sequential vs. random I/O performance (both
read and write) at small block sizes (random performs well, sequential
performance is poor).  I'm using direct I/O and the noop scheduler on
the initiator, so there should be no coalescing.  Coalescing on these
drives is not a good thing to do, as they are ultra low latency, and
much faster if the OS doesn't try to coalesce.  Could anything in the
IB/SRP/SCST stack be trying to coalesce sequential data?  If not, any
other ideas on why I might see this?

3) In my iSCSI (tgt) results using the HCA as a 10G interface (not
IPoIB, but mlnx4_en), comparing this to the results of using the same
HCA as IB under SRP, I get much better results with SRP when
benchmarking the raw device, as you'd expect.  This is w/ a drive that
does under 1GB/s.  When I use MD to mirror that SRP or iSCSI device w/
an identical local device, and benchmark the raw MD device, iSCSI gets
superior write performance and about equal read performance.  Does
iSCSI/TGT have some special hook into MD devices that IB/SRP isn't
privy to?

Any ideas or clues would be helpful.

Thanks,

Chris
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

end of thread, other threads:[~2010-01-11 18:44 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-07  0:16 SRP Q's: 1) When is asynchronous I/O complete, 2) Is sequential I/O coalesced, and 3) why is iSCSI faster than SRP in some instances Chris Worley
     [not found] ` <f3177b9e1001061616v4f0015d1h843ba19c8cdd83d-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-01-07  1:57   ` David Dillow
     [not found]     ` <1262829441.29991.10.camel-1q1vX8mYZiGLUyTwlgNVppKKF0rrzTr+@public.gmane.org>
2010-01-08 21:40       ` Chris Worley
     [not found]         ` <f3177b9e1001081340r323c53cela2fb22907212fc2b-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-01-08 22:17           ` David Dillow
     [not found]             ` <1262989053.14204.21.camel-1q1vX8mYZiGLUyTwlgNVppKKF0rrzTr+@public.gmane.org>
2010-01-08 22:39               ` Chris Worley
     [not found]                 ` <f3177b9e1001081439j3730acefrbfcf523b0da06306-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-01-08 23:07                   ` David Dillow
     [not found]                     ` <1262992077.14204.39.camel-1q1vX8mYZiGLUyTwlgNVppKKF0rrzTr+@public.gmane.org>
2010-01-09  1:20                       ` David Dillow
2010-01-09 13:05                   ` Bart Van Assche
     [not found]                     ` <e2e108261001090505w58a70e8ax5cfa522cbf2da9cf-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-01-09 17:16                       ` David Dillow
     [not found]                         ` <1263057402.14204.55.camel-1q1vX8mYZiGLUyTwlgNVppKKF0rrzTr+@public.gmane.org>
2010-01-09 17:49                           ` Bart Van Assche
     [not found]                             ` <e2e108261001090949x6b4c9e25mfb9e6ad0320879dc-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-01-09 18:13                               ` David Dillow
2010-01-11 18:44                   ` Vladislav Bolkhovitin
2010-01-09 19:25   ` Bart Van Assche

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox