Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 07 Jul 2009 14:51:49 +0300
From:      Danny Braniss <danny@cs.huji.ac.il>
To:        Jiansong Liu <jiansong.liu@gmail.com>
Cc:        freebsd-scsi@freebsd.org
Subject:   Re: iscsi_initiator 2.2.2 slow to write and read 
Message-ID:  <E1MO9DB-000Ecw-Fd@kabab.cs.huji.ac.il>
In-Reply-To: <7f834c1c0907070405mdab72u3223d90b84b2a201@mail.gmail.com> 
References:  <7f834c1c0907070405mdab72u3223d90b84b2a201@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> Hello All,
>=20
> I downloaded the latest iscsi_initiator 2.2.2 from Danny's FTP,
> and compile kernel and iscontrol with 7.2 STABLE GENERIC config, only g=
ot
> about 800KB/Sec speed to a DELL MD3000i disk array, I searched in
> this malling list and found a patch, but it seems is not for this versi=
on
> (2.2.2), any advice would be great appreciated.
>=20
> here are some details about my system:
>=20
> =23 sysctl net.iscsi
> net.iscsi.driver_version: 2.2.2
> net.iscsi.isid: =E2=82=ACDIB00
> net.iscsi.sessions: 1
> net.iscsi.0.targetname:
> iqn.1984-05.com.dell:powervault.md3000i.60024e80004e71a9000000004a01112=
0
> net.iscsi.0.targeaddress: 192.168.4.182
> net.iscsi.0.stats: recv=3D594 sent=3D594 flags=3D0x0000039f pdus-alloc=
=3D16
> pdus-max=3D16 cws=3D426 cmd=3D157 exp=3D157 max=3D300 stat=3D159 itt=3D=
157
> net.iscsi.0.douio: 0> net.iscsi.0.pid: 754
>=20
> =23 cat /etc/iscsi.conf> scpstorage01 =7B
>         initiatorname =3Diqn.2005-01.il.ac.huji.cs::static01.com
>         TargetName
>  =3Diqn.1984-05.com.dell:powervault.md3000i.60024e80004e71a9000000004a0=
1112=3D0
>         TargetAddress =3D192.168.4.182:3260,1
>          tags =3D4
> =7D
>=20
> =23 uname -a
> FreeBSD static01.com 7.2-STABLE FreeBSD 7.2-STABLE =233: Tue Jul  7 18:=
22:17
> CST 2009     root=40static01.com:/usr/obj/usr/src/sys/GENERIC  amd64
>=20
> =23 dmesg> ....
> 0=5D i_setopt: maxRecvDataSegmentLength=3D65536
> 0=5D i_setopt: opt.maXmitDataSegmentLength=3D8192
> 0=5D i_setopt: opt.maxBurstLength=3D131072
> 0=5D i_setopt: opt.targetAddress=3D'192.168.4.182'
> 0=5D i_setopt:
> opt.targetName=3D'iqn.1984-05.com.dell:powervault.md3000i.60024e80004e7=
1a90=3D00000004a011120'
> 0=5D i_setopt: opt.initiatorName=3D'iqn.2005-01.il.ac.huji.cs::static01=
.com'
> 0=5D i_send: len=3D516 ahs_len=3D0 ds_len=3D467 buf=3D468=400xffffff000=
5ec3000
> 0=5D i_setopt: maxRecvDataSegmentLength=3D65536
> 0=5D i_setopt: opt.maXmitDataSegmentLength=3D65536
> 0=5D i_setopt: opt.maxBurstLength=3D131072
> 0=5D i_setopt: opt.targetAddress=3D'192.168.4.182'
> 0=5D i_setopt:
> opt.targetName=3D'iqn.1984-05.com.dell:powervault.md3000i.60024e80004e7=
1a90=3D00000004a011120'
> 0=5D i_setopt: opt.initiatorName=3D'iqn.2005-01.il.ac.huji.cs::static01=
.com'
> 0=5D i_setopt: opt.headerDigest=3D'None'
> 0=5D i_setopt: opt.dataDigest=3D'None'
> 0=5D i_fullfeature: flag=3D1
> 0=5D ic_init: cam subsystem initialized
> da0 at iscsi0 bus 0 target 0 lun 0
> da0: <DELL MD3000i 0735> Fixed Direct Access SCSI-5 device
>=20
> END.
>=20
> Thanks & Best regards,
> Liu Jiansong.

hi Liu Jiansong,
	The tag opening is too concervative, increase its value.
You can do it by changing it in the config file, or via=20
camcontrol tags da0 -N32
	-this will not be remembered after reboot=21-,=20
try different values till you don't see any speedup.

danny

danny





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1MO9DB-000Ecw-Fd>