From: Vladislav Bolkhovitin <vst-d+Crzxg7Rs0@public.gmane.org>
To: Chris Worley <worleys-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: David Dillow <dave-i1Mk8JYDVaaSihdK6806/g@public.gmane.org>,
OFED mailing list
<linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
scst-devel
<scst-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
Subject: Re: 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
Date: Mon, 11 Jan 2010 21:44:01 +0300 [thread overview]
Message-ID: <4B4B7171.4020000@vlnb.net> (raw)
In-Reply-To: <f3177b9e1001081439j3730acefrbfcf523b0da06306-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
Chris Worley, on 01/09/2010 01:39 AM wrote:
>>> I thought if the device was opened with the O_DIRECT flag, then the
>>> scheduler should have nothing to coalesce.
>> Depends on how many I/Os your application has in flight at once,
>> assuming it is using AIO or threads. If you have more requests in flight
>> than can be queued, the block layer will coalesce if possible.
>
> I do use AIO, always 64 threads, each w/ 64 outstanding I/O's. Local
> or iSER initiator based, I never see any coalescing. Only w/ SRP.
SRP initiator seems to be not too well optimized for the best
performance. ISER initiator is noticeably better in this area.
> There is the scst_vdisk "Direct I/O" option that's been commented out
> of the code, as it's not supposed to work... maybe direct I/O doesn't
> work... but that would be the target side.
O_DIRECT for vdisk is supposed to work. It's a matter of a small patch
for the kernel, see http://scst.sourceforge.net/contributing.html#O_DIRECT.
Meanwhile, you can use fileio_tgt handler, with which O_DIRECT works well.
Vlad
--
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
next prev parent reply other threads:[~2010-01-11 18:44 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
2010-01-09 19:25 ` Bart Van Assche
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4B4B7171.4020000@vlnb.net \
--to=vst-d+crzxg7rs0@public.gmane.org \
--cc=dave-i1Mk8JYDVaaSihdK6806/g@public.gmane.org \
--cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=scst-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
--cc=worleys-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox