From owner-freebsd-scsi@FreeBSD.ORG Tue Jul 7 11:37:17 2009 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 34422106564A for ; Tue, 7 Jul 2009 11:37:17 +0000 (UTC) (envelope-from jiansong.liu@gmail.com) Received: from mail-yx0-f181.google.com (mail-yx0-f181.google.com [209.85.210.181]) by mx1.freebsd.org (Postfix) with ESMTP id E34F78FC19 for ; Tue, 7 Jul 2009 11:37:16 +0000 (UTC) (envelope-from jiansong.liu@gmail.com) Received: by yxe11 with SMTP id 11so6758382yxe.3 for ; Tue, 07 Jul 2009 04:37:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:from:date:message-id :subject:to:content-type; bh=pGV4RHloICotFa2Hm23DcjpoUgzBSeurH1lALmX4i1A=; b=xEK5lX3uozPRVNnrNnjx7YEcGH+t2/bc5x8vOkt35lS/S1y07ZWcsXYSe3TXyRMkmX mBJiN+AQ8Q53jfrX2LjxcQ+8fXOwLdNufv5N2G6g6k+SzWpfzGdKBAGjhaiUva8GPqIe kXelkdsCEUX8D2s4Bfr+ouhoWesrwsPdLz6i0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=ASKQNocij0tdHUivlCwKgCE+xRF/CMbqm/kZI9JiojOtMEWXpgzRZsMtZlIhg4Pr7B 2DxaLccqYwLm23tJ3YmBT9DzuHEgtmHhX9GBAcA3oQ/vgComQ3xPxITQKFcZzGQ0IxVF fRYPRaEMvT/rbHEc6GTLKXHqGsAkM2dfs0OZs= MIME-Version: 1.0 Received: by 10.90.88.16 with SMTP id l16mr5051001agb.91.1246964723160; Tue, 07 Jul 2009 04:05:23 -0700 (PDT) From: Jiansong Liu Date: Tue, 7 Jul 2009 19:05:03 +0800 Message-ID: <7f834c1c0907070405mdab72u3223d90b84b2a201@mail.gmail.com> To: freebsd-scsi@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: iscsi_initiator 2.2.2 slow to write and read X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Jul 2009 11:37:17 -0000 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: =E2=82=ACDIB00 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=3D594 sent=3D594 flags=3D0x0000039f pdus-alloc=3D16 pdus-max=3D16 cws=3D426 cmd=3D157 exp=3D157 max=3D300 stat=3D159 itt=3D157 net.iscsi.0.douio: 0 net.iscsi.0.pid: 754 # cat /etc/iscsi.conf scpstorage01 { initiatorname =3Diqn.2005-01.il.ac.huji.cs::static01.com TargetName =3Diqn.1984-05.com.dell:powervault.md3000i.60024e80004e71a9000000004a01112= 0 TargetAddress =3D192.168.4.182:3260,1 tags =3D4 } # uname -a FreeBSD static01.com 7.2-STABLE FreeBSD 7.2-STABLE #3: Tue Jul 7 18:22:17 CST 2009 root@static01.com:/usr/obj/usr/src/sys/GENERIC amd64 # dmesg .... 0] i_setopt: maxRecvDataSegmentLength=3D65536 0] i_setopt: opt.maXmitDataSegmentLength=3D8192 0] i_setopt: opt.maxBurstLength=3D131072 0] i_setopt: opt.targetAddress=3D'192.168.4.182' 0] i_setopt: opt.targetName=3D'iqn.1984-05.com.dell:powervault.md3000i.60024e80004e71a90= 00000004a011120' 0] i_setopt: opt.initiatorName=3D'iqn.2005-01.il.ac.huji.cs::static01.com' 0] i_send: len=3D516 ahs_len=3D0 ds_len=3D467 buf=3D468@0xffffff0005ec3000 0] i_setopt: maxRecvDataSegmentLength=3D65536 0] i_setopt: opt.maXmitDataSegmentLength=3D65536 0] i_setopt: opt.maxBurstLength=3D131072 0] i_setopt: opt.targetAddress=3D'192.168.4.182' 0] i_setopt: opt.targetName=3D'iqn.1984-05.com.dell:powervault.md3000i.60024e80004e71a90= 00000004a011120' 0] i_setopt: opt.initiatorName=3D'iqn.2005-01.il.ac.huji.cs::static01.com' 0] i_setopt: opt.headerDigest=3D'None' 0] i_setopt: opt.dataDigest=3D'None' 0] i_fullfeature: flag=3D1 0] ic_init: cam subsystem initialized da0 at iscsi0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-5 device END. Thanks & Best regards, Liu Jiansong.