From owner-freebsd-questions@FreeBSD.ORG Tue Jun 21 15:49:16 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 569DA1065674 for ; Tue, 21 Jun 2011 15:49:16 +0000 (UTC) (envelope-from vshah@raytheonvtc.com) Received: from pobox1.virtc.com (wsip-174-77-2-66.dc.dc.cox.net [174.77.2.66]) by mx1.freebsd.org (Postfix) with ESMTP id 06A1F8FC17 for ; Tue, 21 Jun 2011 15:49:15 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by pobox1.virtc.com (Postfix) with ESMTP id 8A69941832D for ; Tue, 21 Jun 2011 10:32:30 -0400 (EDT) X-Virus-Scanned: amavisd-new at pobox1.virtc.com Received: from pobox1.virtc.com ([127.0.0.1]) by localhost (pobox1.virtc.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PhFfbqef+7is for ; Tue, 21 Jun 2011 10:32:28 -0400 (EDT) Received: from mrmailman.virtc.com (mrmailman.virtc.com [192.168.7.8]) by pobox1.virtc.com (Postfix) with ESMTP id AA3254180EF for ; Tue, 21 Jun 2011 10:32:28 -0400 (EDT) From: "Viren R. Shah" To: Date: Tue, 21 Jun 2011 11:32:29 -0400 (EDT) Message-ID: <1e6c601cc3028$6c33c920$449b5b60$@com> MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook 12.0 X-Mailer: Zimbra 6.0.10_GA_2693 (ZimbraConnectorForOutlook/6.0.5736.2) Thread-Index: AcwwKGu9kFd+gufXS/+pOPsHk+wNxQ== Content-Language: en-us X-Originating-IP: [192.168.2.157] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Pointers to debugging slow iSCSI initiator performance X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jun 2011 15:49:16 -0000 Folks I have a FreeBSD 8.1-STABLE system that I'm connecting via iSCSI to a Compellent SAN. The iscsi-initiator works fine but is very slow and given to periodic (very short) hangs. The issue is that we have subversion on it and it takes a long time to checkout some of our repos. Any pointers to tweaking the config or figuring out the cause of the slowness is appreciated. I haven't found many posts about the iscsi-initiator on FreeBSD in my searches. The config is below: arachnophile# dd if=/dev/zero of=/san/test.out bs=1M count=2048 2048+0 records in 2048+0 records out 2147483648 bytes transferred in 145.111894 secs (14798812 bytes/sec) arachnophile# uname -a FreeBSD arachnophile.virtc.com 8.1-STABLE FreeBSD 8.1-STABLE #0: Wed Oct 13 13:52:31 EDT 2010 root@arachnophile.virtc.com:/usr/obj/usr/src/sys/ARACHNOPHILE amd64 arachnophile# more /etc/iscsi.conf compellent { initiatorname = arach TargetName = iqn.2002-03.com.compellent:50000d3100067001 TargetAddress = 172.30.0.10:3260,0 } Hardware (in case it matters) is an IBM xSeries 346 CPU: Intel(R) Xeon(TM) CPU 3.40GHz (3400.16-MHz K8-class CPU) real memory = 2147483648 (2048 MB) arachnophile# netstat -I bge1 Name Mtu Network Address Ipkts Ierrs Idrop Opkts Oerrs Coll bge1 1500 00:14:5e:2b:39:7d 353438253 0 0 438355075 0 0 bge1 1500 172.30.0.0 172.30.0.66 353316523 - - 438348928 - - Thanks Viren Shah vshah@raytheonvtc.com