|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: iSCSI read/write cost difference> 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 --------------------------------------------------
Home Last updated: Fri Apr 18 13:19:32 2003 12532 messages in chronological order |