From: Mike Christie <michaelc@cs.wisc.edu>
To: James Bottomley <James.Bottomley@SteelEye.com>
Cc: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>,
vst@vlnb.net, johan@capvert.se,
iscsitarget-devel@lists.sourceforge.net, mingz@ele.uri.edu,
stgt-devel@lists.berlios.de, WRWHITEHEAD@novell.com,
scst-devel@lists.sourceforge.net, linux-scsi@vger.kernel.org,
hch@infradead.org
Subject: Re: Ang: Re: [Stgt-devel] Re: [Iscsitarget-devel] stgt a new version of iscsi target?
Date: Fri, 30 Dec 2005 21:27:29 -0600 [thread overview]
Message-ID: <43B5FAA1.9000800@cs.wisc.edu> (raw)
In-Reply-To: <1135787528.3854.10.camel@mulgrave>
James Bottomley wrote:
> On Tue, 2005-12-27 at 08:53 +0900, FUJITA Tomonori wrote:
>
>>Mike and I have worked on the tgt mmap version.
>>
>>o It does read/write commands like sg by using mmap in user space and
>>get_user_pages in kernel space.
>>
>>o It does non-read/write commands like direct I/O by allocating
>>aligned buffers in user space and using get_user_pages in kernel space.
>>
>>It works like the simple tap that you suggested. It does not allocate
>>buffers in kernel space at all and does zero copy on all sorts of
>>commands.
>>
>>Here are some performance results with open-iscsi (which are better
>>than the previous results that I got with sfnet).
>>
>>o IET
>>
>>| 2005/12/27-07:50:59 | STAT | 6827 | v1.2.8 | /dev/sdc | Total write throughput: 53790310.4B/s (51.30MB/s), IOPS 6566.2/s.
>>
>>o current tgt (I/O in kernel space)
>>
>>| 2005/12/27-08:07:50 | STAT | 7294 | v1.2.8 | /dev/sdc | Total write throughput: 49666457.6B/s (47.37MB/s), IOPS 6062.8/s.
>>
>>o tgt mmap
>>
>>| 2005/12/27-08:42:51 | STAT | 5286 | v1.2.8 | /dev/sdc | Total write
>>throughput: 44701286.4B/s (42.63MB/s), IOPS 5456.7/s.
>>
>>We can get something like this if we avoid calling mmap/munmap per
>>command (by using some sorts of caching).
>>
>>o tgt mmap (mmap caching)
>>
>>| 2005/12/27-07:53:19 | STAT | 6996 | v1.2.8 | /dev/sdc | Total write throughput: 48253337.6B/s (46.02MB/s), IOPS 5890.3/s.
>>
>>
>>James, can we get your approval of the this mmap design?
>
>
> Yes, that looks fine ... it runs in user space, which was really all I
> was looking for.
>
> There is another half to this, which is that I'd like the tap to come
> via a SCSI API. This isn't strictly necessary for iSCSI but it would
> allow us to integrate a generic target approach that could work for all
> SCSI HBA's as well as just iSCSI.
>
The code we currently have is designed to work with software iscsi
targets or software AoE and HW cards like qlogic or emulex's FC cards.
There are a lot of places we could use scsi-ml or block layer structs
like the request or scsi_cmnd.
To support HW like qlogic or emulex's FC target mode, are you thinking
you might want us to add on to the scsi-ml's scsi_host_template or add a
scsi_target_template? If we add on to the scsi_host_template and if that
one PCI device would be in initiator and target mode at the same time
would we have one scsi_host for that resource and just add our target
related fields to the scsi_host? Is this what you mean?
next prev parent reply other threads:[~2005-12-31 3:28 UTC|newest]
Thread overview: 43+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <OF6932015B.01CF53D9-ONC12570D0.00462028@capvert.ins>
[not found] ` <43972C2D.9060500@cs.wisc.edu>
2005-12-08 18:46 ` Ang: Re: [Stgt-devel] Re: stgt a new version of iscsi target? Vladislav Bolkhovitin
2005-12-08 18:54 ` Ang: Re: [Stgt-devel] Re: [Iscsitarget-devel] " Mike Christie
2005-12-09 15:30 ` Ang: Re: [Stgt-devel] " Vladislav Bolkhovitin
2005-12-09 22:31 ` Ang: Re: [Stgt-devel] Re: [Iscsitarget-devel] " Mike Christie
2005-12-08 19:10 ` Mike Christie
2005-12-08 19:48 ` James Bottomley
2005-12-08 20:09 ` Mike Christie
2005-12-08 21:35 ` Dave C Boutcher
2005-12-08 21:56 ` Mike Christie
2005-12-09 15:29 ` Vladislav Bolkhovitin
2005-12-09 22:31 ` Mike Christie
2005-12-10 15:31 ` Vladislav Bolkhovitin
2005-12-10 18:19 ` Mike Christie
2005-12-10 8:46 ` FUJITA Tomonori
2005-12-09 15:30 ` Vladislav Bolkhovitin
2005-12-09 15:29 ` Vladislav Bolkhovitin
2005-12-21 23:53 ` FUJITA Tomonori
2005-12-22 10:38 ` Vladislav Bolkhovitin
2005-12-26 23:53 ` Ang: " FUJITA Tomonori
2005-12-28 16:32 ` James Bottomley
2005-12-31 3:27 ` Mike Christie [this message]
2005-12-31 15:33 ` James Bottomley
2005-12-09 15:28 ` Vladislav Bolkhovitin
2005-12-09 22:23 ` Mike Christie
2005-12-10 1:15 ` Ang: Re: [Stgt-devel] " Mike Christie
2005-12-10 15:30 ` Ang: Re: [Stgt-devel] Re: [Iscsitarget-devel] " Vladislav Bolkhovitin
2005-12-10 18:22 ` Mike Christie
2005-12-10 8:46 ` FUJITA Tomonori
2005-12-10 15:32 ` Ang: Re: [Stgt-devel] " Vladislav Bolkhovitin
2005-12-10 15:54 ` Ang: Re: [Stgt-devel] Re: [Iscsitarget-devel] " FUJITA Tomonori
2005-12-14 15:17 ` [Scst-devel] " Vladislav Bolkhovitin
2005-12-10 18:09 ` Mike Christie
2005-12-14 15:09 ` Ang: Re: [Stgt-devel] " Vladislav Bolkhovitin
2005-12-08 19:47 ` Ang: Re: [Stgt-devel] Re: [Iscsitarget-devel] " James Bottomley
2005-12-09 3:57 ` Mike Christie
2005-12-09 15:00 ` Ang: Re: [Stgt-devel] " Ming Zhang
2005-12-09 15:29 ` [Scst-devel] Re: Ang: Re: [Stgt-devel] Re: [Iscsitarget-devel] " Vladislav Bolkhovitin
2005-12-09 15:48 ` James Bottomley
2005-12-10 15:32 ` Vladislav Bolkhovitin
2005-12-10 18:07 ` Mike Christie
2005-12-14 15:06 ` Vladislav Bolkhovitin
2005-12-14 19:55 ` Mike Christie
2005-12-15 18:53 ` Vladislav Bolkhovitin
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=43B5FAA1.9000800@cs.wisc.edu \
--to=michaelc@cs.wisc.edu \
--cc=James.Bottomley@SteelEye.com \
--cc=WRWHITEHEAD@novell.com \
--cc=fujita.tomonori@lab.ntt.co.jp \
--cc=hch@infradead.org \
--cc=iscsitarget-devel@lists.sourceforge.net \
--cc=johan@capvert.se \
--cc=linux-scsi@vger.kernel.org \
--cc=mingz@ele.uri.edu \
--cc=scst-devel@lists.sourceforge.net \
--cc=stgt-devel@lists.berlios.de \
--cc=vst@vlnb.net \
/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 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.