Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 May 2010 09:42:11 +0300
From:      Daniel Braniss <danny@cs.huji.ac.il>
To:        devel@morey-chaisemartin.com
Cc:        freebsd-scsi@freebsd.org
Subject:   Re: Read performance problem with iSCSI 
Message-ID:  <E1ODu1j-000Kke-Oe@kabab.cs.huji.ac.il>
In-Reply-To: <4BF067DC.4030402@morey-chaisemartin.com> 
References:  <4BF067DC.4030402@morey-chaisemartin.com>

next in thread | previous in thread | raw e-mail | index | archive | help

> Hi,
> 
> I am not sure if this is the right place, some my apologies if I'm mistak=en.
> I have a FreeBSD 8.0 stable running on an amd64 machine (with the last 2.=2.4 iscsi tarball from http://www.cs.huji.ac.il/~danny/ftp/freebsd/). 
> It is connected to a Thecus N5500 pro using iSCSI.
> 
> I've configured using the tutorial all over Google and it works !
> Using dd, I get 52MB/s write speed which is a bit lower than expected but= still allright. However reading is deadly slow.> At best, I reached something like 8MB/s which is unacceptable.
> 
> After looking through Google and old mailing list mails, I made sure I ha=ve enough tags but increasing the value did not really help.> All the other tips i could find were about fine tuning and nothing to gai=n a factor of 6 or 7...
> 
> Has any one see this problem or can someone point me in a direction to lo=ok for?
> 
> One weird thing I noticed while playing with camcontrol is I get an error= on access rate.
> Sun# camcontrol inquiry da0
> pass0: <NAS iSCSI-VDISK 0> Fixed Direct Access SCSI-4 device 
> pass0: Serial Number     
> camcontrol: error getting transfer settings
> 
> 
> Thanks in advance
> 
> Nicolas
> 
> 
> Here's my config (feel free to ask for more info):
> Sun# cat /etc/iscsi.conf 
> stephano {
>        authmethod      = None
>        TargetName      = iqn.2010-5.com.****:RAID.iscsi0.vg0.store
>        TargetAddress   = 10.0.2.55:3260,1
>        tags	       = 64> }
> 
> Sun# sysctl net.iscsi_initiator
> net.iscsi_initiator.driver_version: 2.2.4
> net.iscsi_initiator.isid: €DIB00> net.iscsi_initiator.sessions: 1
> net.iscsi_initiator.0.targetname: iqn.2010-5.com****:RAID.iscsi0.vg0.stor=e
> net.iscsi_initiator.0.targeaddress: 10.0.2.55
> net.iscsi_initiator.0.stats: recv=46460 sent=46460 flags=0x0000039f= pdus-alloc=0 pdus-max=5 cws=33 cmd=b57b exp=b57b max=b59b st=at=b57b itt=b57b> net.iscsi_initiator.0.douio: 0
> net.iscsi_initiator.0.pid: 1608

hi Nicolas,
	have you tried increasing
		net.inet.tcp.recvspace
		net.inet.tcp.sendspace
also what is the target?
	danny





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1ODu1j-000Kke-Oe>