Return-Path: <owner-ips@ece.cmu.edu>
X-Sieve: cmu-sieve 2.0
Return-Path: <owner-ips@ece.cmu.edu>
Received: (from majordom@localhost)
	by ece.cmu.edu (8.11.0/8.10.2) id h3HL8X807779
	for ips-outgoing; Thu, 17 Apr 2003 17:08:33 -0400 (EDT)
X-Authentication-Warning: ece.cmu.edu: majordom set sender to owner-ips@ece.cmu.edu using -f
Received: from d12lmsgate-5.de.ibm.com (d12lmsgate-5.de.ibm.com [194.196.100.238])
	by ece.cmu.edu (8.11.0/8.10.2) with ESMTP id h3HL8S307772;
	Thu, 17 Apr 2003 17:08:28 -0400 (EDT)
Received: from d12relay02.de.ibm.com (d12relay02.de.ibm.com [9.165.215.23])
	by d12lmsgate-5.de.ibm.com (8.12.9/8.12.8) with ESMTP id h3HL8Kju049164;
	Thu, 17 Apr 2003 23:08:20 +0200
Received: from d10ml001.telaviv.ibm.com (d10ml001.telaviv.ibm.com [9.148.216.55])
	by d12relay02.de.ibm.com (8.12.8/NCO/VER6.5) with ESMTP id h3HL8J4O190502;
	Thu, 17 Apr 2003 23:08:19 +0200
In-Reply-To: <200304171303.40802.mingz@ele.uri.edu>
To: mingz@ele.uri.edu
Cc: "Anshul Chadda" <anshul.chadda@trebia.com>, ips@ece.cmu.edu,
   owner-ips@ece.cmu.edu
Subject: Re: iSCSI read/write cost difference
MIME-Version: 1.0
X-Mailer: Lotus Notes Release 6.0.1 February 07, 2003
From: "Julian Satran" <Julian_Satran@il.ibm.com>
Message-ID: <OFEB6CEC4C.5596019E-ONC2256D0B.00708B3E-C2256D0B.00741DCE@telaviv.ibm.com>
Date: Fri, 18 Apr 2003 00:08:16 +0300
X-MIMETrack: Serialize by Router on D10ML001/10/M/IBM(Release 5.0.9a |January 7, 2002) at
 18/04/2003 00:08:19,
	Serialize complete at 18/04/2003 00:08:19
Content-Type: multipart/alternative; boundary="=_alternative 0070D5A7C2256D0B_="
Sender: owner-ips@ece.cmu.edu
Precedence: bulk

This is a multipart message in MIME format.
--=_alternative 0070D5A7C2256D0B_=
Content-Type: text/plain; charset="US-ASCII"

Did the input data aggregate the final status with data or send it 
separately.
If the response was sent separately that may explain why short writes 
perform better as three interrupts are involved in a short read as opposed 
to 2 interrupts for writes (I assume you use immediate data).

Julo



mingz <mingz@ele.uri.edu> 
Sent by: owner-ips@ece.cmu.edu
17/04/03 20:03
Please respond to
mingz@ele.uri.edu


To
"Anshul Chadda" <anshul.chadda@trebia.com>
cc
ips@ece.cmu.edu
Subject
Re: iSCSI read/write cost difference






InitialR2T=No , ImmediateData=Yes , and i am not sure about the answer for 

last question.

under is all the values.
-----------------------------------------
../common/iscsi_manage init restore host=$1
../common/iscsi_manage init force v=1800 host=$1
../common/iscsi_manage init set 
TargetName=iqn.2002-10.edu.unh.iol.iscsi.draft18-target_$2 host=$1
../common/iscsi_manage init set 
InitiatorName=iqn.1999-11.edu.unh.iol.iscsi.draft18-initiator host=$1
../common/iscsi_manage init set InitiatorAlias=UNH-Draft18-Initiator 
host=$1
../common/iscsi_manage init set MaxConnections=4 host=$1
../common/iscsi_manage init set HeaderDigest=CRC32C,None host=$1
../common/iscsi_manage init set DataDigest=CRC32C,None host=$1
../common/iscsi_manage init set InitialR2T=No host=$1
../common/iscsi_manage init set ImmediateData=Yes host=$1
../common/iscsi_manage init set MaxRecvDataSegmentLength=12288 host=$1
../common/iscsi_manage init set FirstBurstLength=16384 host=$1
../common/iscsi_manage init set MaxBurstLength=32768 host=$1
../common/iscsi_manage init set OFMarker=No host=$1
../common/iscsi_manage init set IFMarker=Yes host=$1
../common/iscsi_manage init set IFMarkInt=4096~32768 host=$1
../common/iscsi_manage init set OFMarkInt=1024~8192 host=$1
../common/iscsi_manage init set DefaultTime2Wait=10 host=$1
../common/iscsi_manage init set DefaultTime2Retain=6 host=$1
../common/iscsi_manage init set MaxOutstandingR2T=4 host=$1
../common/iscsi_manage init set DataPDUInOrder=No host=$1
../common/iscsi_manage init set DataSequenceInOrder=No host=$1
../common/iscsi_manage init set ErrorRecoveryLevel=0 host=$1
../common/iscsi_manage init snack d=y host=$1
../common/iscsi_manage init snack s=y host=$1
../common/iscsi_manage init force i=2 host=$1
../common/iscsi_manage init force p=2 host=$1


On Thursday 17 April 2003 12:39, you wrote:
> What are the negotiated values of InitialR2T and ImmediateData in your
> setup? Also, does the target piggyback SCSI Response in the Final Datain
> pdu?
>
>
> -----Original Message-----
> From: owner-ips@ece.cmu.edu [mailto:owner-ips@ece.cmu.edu]On Behalf Of
> mingz
> Sent: Thursday, April 17, 2003 12:10 PM
> To: ips@ece.cmu.edu
> Subject: iSCSI read/write cost difference
>
>
> I recently did some experiments on iSCSI benchmarking. I used the UNH 
iSCSi
> ref18_03 implementation and use a ram based scsi device for iscsi target
> use.
> so there is no any disk overhead.
>
> I used a linux kernel module to send fixed size read/write requests to
> iscsi initiator, which eventually will be filled by iscsi target. i use
> interl pro1000 gigabit nic and intel 470 gigabit switch. and both 
initiator
> and target use same type piii 866 pc with 1g ram.
>
> now the IOPS result shows that
>
>                                2k                              4k   8k   
                 16k                             32k
> read                           1975            1781            1557  
1081             767
> write                  2877            2225            1588 812   533
>
> for small reuqests, read is slower than write, while for large requests,
> read
> is faster than write. i redo the experiments on another enviroment, also
> get similar results.
>
> can anybody explain why this happens?
>
> thanks a lot.
>
>
> ming

-- 
 --------------------------------------------------
| Ming Zhang, PhD. Student 
| Dept. of Electrical & Computer Engineering 
| College of Engineering 
| University of Rhode Island 
| Kingston RI. 02881 
| e-mail: mingz@ele.uri.edu 
| Tel. (401) 874-2293 Fax  (401) 782-6422 
| http://www.ele.uri.edu/~mingz 
 --------------------------------------------------


--=_alternative 0070D5A7C2256D0B_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">Did the input data aggregate the final
status with data or send it separately.</font>
<br><font size=2 face="sans-serif">If the response was sent separately
that may explain why short writes perform better as three interrupts are
involved in a short read as opposed to 2 interrupts for writes (I assume
you use immediate data).</font>
<br>
<br><font size=2 face="sans-serif">Julo</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>mingz &lt;mingz@ele.uri.edu&gt;</b>
</font>
<br><font size=1 face="sans-serif">Sent by: owner-ips@ece.cmu.edu</font>
<p><font size=1 face="sans-serif">17/04/03 20:03</font>
<table border>
<tr valign=top>
<td bgcolor=white>
<div align=center><font size=1 face="sans-serif">Please respond to<br>
mingz@ele.uri.edu</font></div></table>
<br>
<td width=59%>
<table width=100%>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td valign=top><font size=1 face="sans-serif">&quot;Anshul Chadda&quot;
&lt;anshul.chadda@trebia.com&gt;</font>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td valign=top><font size=1 face="sans-serif">ips@ece.cmu.edu</font>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td valign=top><font size=1 face="sans-serif">Re: iSCSI read/write cost
difference</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><font size=2><tt>InitialR2T=No , ImmediateData=Yes , and i am not sure
about the answer for <br>
last question.<br>
<br>
under is all the values.<br>
-----------------------------------------<br>
../common/iscsi_manage init restore host=$1<br>
../common/iscsi_manage init force v=1800 host=$1<br>
../common/iscsi_manage init set <br>
TargetName=iqn.2002-10.edu.unh.iol.iscsi.draft18-target_$2 host=$1<br>
../common/iscsi_manage init set <br>
InitiatorName=iqn.1999-11.edu.unh.iol.iscsi.draft18-initiator host=$1<br>
../common/iscsi_manage init set InitiatorAlias=UNH-Draft18-Initiator host=$1<br>
../common/iscsi_manage init set MaxConnections=4 host=$1<br>
../common/iscsi_manage init set HeaderDigest=CRC32C,None host=$1<br>
../common/iscsi_manage init set DataDigest=CRC32C,None host=$1<br>
../common/iscsi_manage init set InitialR2T=No host=$1<br>
../common/iscsi_manage init set ImmediateData=Yes host=$1<br>
../common/iscsi_manage init set MaxRecvDataSegmentLength=12288 host=$1<br>
../common/iscsi_manage init set FirstBurstLength=16384 host=$1<br>
../common/iscsi_manage init set MaxBurstLength=32768 host=$1<br>
../common/iscsi_manage init set OFMarker=No host=$1<br>
../common/iscsi_manage init set IFMarker=Yes host=$1<br>
../common/iscsi_manage init set IFMarkInt=4096~32768 host=$1<br>
../common/iscsi_manage init set OFMarkInt=1024~8192 host=$1<br>
../common/iscsi_manage init set DefaultTime2Wait=10 host=$1<br>
../common/iscsi_manage init set DefaultTime2Retain=6 host=$1<br>
../common/iscsi_manage init set MaxOutstandingR2T=4 host=$1<br>
../common/iscsi_manage init set DataPDUInOrder=No host=$1<br>
../common/iscsi_manage init set DataSequenceInOrder=No host=$1<br>
../common/iscsi_manage init set ErrorRecoveryLevel=0 host=$1<br>
../common/iscsi_manage init snack d=y host=$1<br>
../common/iscsi_manage init snack s=y host=$1<br>
../common/iscsi_manage init force i=2 host=$1<br>
../common/iscsi_manage init force p=2 host=$1<br>
<br>
<br>
On Thursday 17 April 2003 12:39, you wrote:<br>
&gt; What are the negotiated values of InitialR2T and ImmediateData in
your<br>
&gt; setup? Also, does the target piggyback SCSI Response in the Final
Datain<br>
&gt; pdu?<br>
&gt;<br>
&gt;<br>
&gt; -----Original Message-----<br>
&gt; From: owner-ips@ece.cmu.edu [mailto:owner-ips@ece.cmu.edu]On Behalf
Of<br>
&gt; mingz<br>
&gt; Sent: Thursday, April 17, 2003 12:10 PM<br>
&gt; To: ips@ece.cmu.edu<br>
&gt; Subject: iSCSI read/write cost difference<br>
&gt;<br>
&gt;<br>
&gt; I recently did some experiments on iSCSI benchmarking. I used the
UNH iSCSi<br>
&gt; ref18_03 implementation and use a ram based scsi device for iscsi
target<br>
&gt; use.<br>
&gt; so there is no any disk overhead.<br>
&gt;<br>
&gt; I used a linux kernel module to send fixed size read/write requests
to<br>
&gt; iscsi initiator, which eventually will be filled by iscsi target.
i use<br>
&gt; interl pro1000 gigabit nic and intel 470 gigabit switch. and both
initiator<br>
&gt; and target use same type piii 866 pc with 1g ram.<br>
&gt;<br>
&gt; now the IOPS result shows that<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
2k &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;4k
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;8k
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;16k
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;32k<br>
&gt; read &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;1975
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
1781 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
1557 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
1081 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
767<br>
&gt; write &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp;2877 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; 2225 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; 1588 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; 812 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp;533<br>
&gt;<br>
&gt; for small reuqests, read is slower than write, while for large requests,<br>
&gt; read<br>
&gt; is faster than write. i redo the experiments on another enviroment,
also<br>
&gt; get similar results.<br>
&gt;<br>
&gt; can anybody explain why this happens?<br>
&gt;<br>
&gt; thanks a lot.<br>
&gt;<br>
&gt;<br>
&gt; ming<br>
<br>
-- <br>
 --------------------------------------------------<br>
| Ming Zhang, PhD. Student &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
<br>
| Dept. of Electrical &amp; Computer Engineering &nbsp; &nbsp; &nbsp; <br>
| College of Engineering &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br>
| University of Rhode Island &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br>
| Kingston RI. 02881 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br>
| e-mail: mingz@ele.uri.edu &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br>
| Tel. (401) 874-2293 Fax &nbsp;(401) 782-6422 &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp;<br>
| http://www.ele.uri.edu/~mingz &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; <br>
 --------------------------------------------------<br>
</tt></font>
<br>
--=_alternative 0070D5A7C2256D0B_=--
