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 h3HGA0213153
	for ips-outgoing; Thu, 17 Apr 2003 12:10:00 -0400 (EDT)
X-Authentication-Warning: ece.cmu.edu: majordom set sender to owner-ips@ece.cmu.edu using -f
Received: from leviathan.ele.uri.edu (leviathan.ele.uri.edu [131.128.51.64])
	by ece.cmu.edu (8.11.0/8.10.2) with ESMTP id h3HG9w313147
	for <ips@ece.cmu.edu>; Thu, 17 Apr 2003 12:09:58 -0400 (EDT)
Received: from dyn147.ele.uri.edu (dyn147.ele.uri.edu [131.128.51.147])
	by leviathan.ele.uri.edu (8.12.6/8.12.6) with ESMTP id h3HG9uf2007168
	for <ips@ece.cmu.edu>; Thu, 17 Apr 2003 12:09:56 -0400 (EDT)
From: mingz <mingz@ele.uri.edu>
Reply-To: mingz@ele.uri.edu
To: <ips@ece.cmu.edu>
Subject: iSCSI read/write cost difference
Date: Thu, 17 Apr 2003 12:10:21 -0400
User-Agent: KMail/1.5
MIME-Version: 1.0
Content-Type: text/plain;
  charset="us-ascii"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <200304171210.21223.mingz@ele.uri.edu>
Sender: owner-ips@ece.cmu.edu
Precedence: bulk

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

