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,
>=20
> I am not sure if this is the right place, some my apologies if I'm mist=
ak=3Den.
> I have a FreeBSD 8.0 stable running on an amd64 machine (with the last =
2.=3D2.4 iscsi tarball from http://www.cs.huji.ac.il/=7Edanny/ftp/freebsd=
/).=20
> It is connected to a Thecus N5500 pro using iSCSI.
>=20
> I've configured using the tutorial all over Google and it works =21
> Using dd, I get 52MB/s write speed which is a bit lower than expected b=
ut=3D still allright. However reading is deadly slow.> At best, I reached=
 something like 8MB/s which is unacceptable.
>=20
> After looking through Google and old mailing list mails, I made sure I =
ha=3Dve enough tags but increasing the value did not really help.> All th=
e other tips i could find were about fine tuning and nothing to gai=3Dn a=
 factor of 6 or 7...
>=20
> Has any one see this problem or can someone point me in a direction to =
lo=3Dok for?
>=20
> One weird thing I noticed while playing with camcontrol is I get an err=
or=3D on access rate.
> Sun=23 camcontrol inquiry da0
> pass0: <NAS iSCSI-VDISK 0> Fixed Direct Access SCSI-4 device=20
> pass0: Serial Number    =20
> camcontrol: error getting transfer settings
>=20
>=20
> Thanks in advance
>=20
> Nicolas
>=20
>=20
> Here's my config (feel free to ask for more info):
> Sun=23 cat /etc/iscsi.conf=20
> stephano =7B
>        authmethod      =3D None
>        TargetName      =3D iqn.2010-5.com.****:RAID.iscsi0.vg0.store
>        TargetAddress   =3D 10.0.2.55:3260,1
>        tags	       =3D 64> =7D
>=20
> Sun=23 sysctl net.iscsi_initiator
> net.iscsi_initiator.driver_version: 2.2.4
> net.iscsi_initiator.isid: =80DIB00> net.iscsi_initiator.sessions: 1
> net.iscsi_initiator.0.targetname: iqn.2010-5.com****:RAID.iscsi0.vg0.st=
or=3De
> net.iscsi_initiator.0.targeaddress: 10.0.2.55
> net.iscsi_initiator.0.stats: recv=3D46460 sent=3D46460 flags=3D0x000003=
9f=3D pdus-alloc=3D0 pdus-max=3D5 cws=3D33 cmd=3Db57b exp=3Db57b max=3Db5=
9b st=3Dat=3Db57b itt=3Db57b> 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>