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 h3IFN0R17417
	for ips-outgoing; Fri, 18 Apr 2003 11:23: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 h3IFMw317411
	for <ips@ece.cmu.edu>; Fri, 18 Apr 2003 11:22: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 h3IFMsf2025840;
	Fri, 18 Apr 2003 11:22:54 -0400 (EDT)
From: mingz <mingz@ele.uri.edu>
Reply-To: mingz@ele.uri.edu
To: <tonyb@cybernetics.com>
Subject: Re: iSCSI read/write cost difference
Date: Fri, 18 Apr 2003 11:16:52 -0400
User-Agent: KMail/1.5
References: <002401c3050e$8d381610$e0019d89@cybernetics.com>
In-Reply-To: <002401c3050e$8d381610$e0019d89@cybernetics.com>
Cc: ips@ece.cmu.edu
MIME-Version: 1.0
Content-Type: text/plain;
  charset="gb2312"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <200304181116.52709.mingz@ele.uri.edu>
Sender: owner-ips@ece.cmu.edu
Precedence: bulk


> The "e1000" driver for the Intel gigabit NIC has some tweakable parameters
> that can be adjusted to give better performance.  See
> Documentation/networking/e1000.txt in the root of the kernel source for
> more details.
thx, mine is XT server adaptor. i will check if these parameters have 
influence on it.


>
> I think the UNH iSCSI implementation dosen't set TCP_NODELAY on the
> connection sockets, which can lead to strange performance characteristics
> like this.  See the man pages for "setsockopt" and "tcp".  You can find an
> example of setting TCP_NODELAY in the linux-iscsi drivers at
> http://sourceforge.net/projects/linux-iscsi.  Just download the source and
> grep for TCP_NODELAY.
yes, it doesn't set the TCP_NODELAY. I read the linux-iscsi code and try to 
add this sock->ops->setsockopt() in UNH code. But it always return EFAULT 
indicating a bad address. but i use a similar way to define arg = 1 as a 
local variable. i am not sure why i am wrong. and i check the 
inet_set_sockopt and tcp_setsock_opt, nowhere return a EFAULT.

can some one figure it out? thx.




>
> Anthony J. Battersby
> Cybernetics

-- 
 --------------------------------------------------
| 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                     
 --------------------------------------------------
