iscsi_initiator 2.2.2 slow to write and read
Jiansong Liu
jiansong.liu at gmail.com
Tue Jul 7 11:37:17 UTC 2009
Hello All,
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 got
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 version
(2.2.2), any advice would be great appreciated.
here are some details about my system:
# sysctl net.iscsi
net.iscsi.driver_version: 2.2.2
net.iscsi.isid: €DIB00
net.iscsi.sessions: 1
net.iscsi.0.targetname:
iqn.1984-05.com.dell:powervault.md3000i.60024e80004e71a9000000004a011120
net.iscsi.0.targeaddress: 192.168.4.182
net.iscsi.0.stats: recv=594 sent=594 flags=0x0000039f pdus-alloc=16
pdus-max=16 cws=426 cmd=157 exp=157 max=300 stat=159 itt=157
net.iscsi.0.douio: 0
net.iscsi.0.pid: 754
# cat /etc/iscsi.conf
scpstorage01 {
initiatorname =iqn.2005-01.il.ac.huji.cs::static01.com
TargetName
=iqn.1984-05.com.dell:powervault.md3000i.60024e80004e71a9000000004a011120
TargetAddress =192.168.4.182:3260,1
tags =4
}
# uname -a
FreeBSD static01.com 7.2-STABLE FreeBSD 7.2-STABLE #3: Tue Jul 7 18:22:17
CST 2009 root at static01.com:/usr/obj/usr/src/sys/GENERIC amd64
# dmesg
....
0] i_setopt: maxRecvDataSegmentLength=65536
0] i_setopt: opt.maXmitDataSegmentLength=8192
0] i_setopt: opt.maxBurstLength=131072
0] i_setopt: opt.targetAddress='192.168.4.182'
0] i_setopt:
opt.targetName='iqn.1984-05.com.dell:powervault.md3000i.60024e80004e71a9000000004a011120'
0] i_setopt: opt.initiatorName='iqn.2005-01.il.ac.huji.cs::static01.com'
0] i_send: len=516 ahs_len=0 ds_len=467 buf=468 at 0xffffff0005ec3000
0] i_setopt: maxRecvDataSegmentLength=65536
0] i_setopt: opt.maXmitDataSegmentLength=65536
0] i_setopt: opt.maxBurstLength=131072
0] i_setopt: opt.targetAddress='192.168.4.182'
0] i_setopt:
opt.targetName='iqn.1984-05.com.dell:powervault.md3000i.60024e80004e71a9000000004a011120'
0] i_setopt: opt.initiatorName='iqn.2005-01.il.ac.huji.cs::static01.com'
0] i_setopt: opt.headerDigest='None'
0] i_setopt: opt.dataDigest='None'
0] i_fullfeature: flag=1
0] ic_init: cam subsystem initialized
da0 at iscsi0 bus 0 target 0 lun 0
da0: <DELL MD3000i 0735> Fixed Direct Access SCSI-5 device
END.
Thanks & Best regards,
Liu Jiansong.
More information about the freebsd-scsi
mailing list