From owner-freebsd-scsi@FreeBSD.ORG Thu Jan 15 16:17:06 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 EF3DD106572E for ; Thu, 15 Jan 2009 16:17:06 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from kabab.cs.huji.ac.il (kabab.cs.huji.ac.il [132.65.16.84]) by mx1.freebsd.org (Postfix) with ESMTP id A66B98FC1B for ; Thu, 15 Jan 2009 16:17:06 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from pampa.cs.huji.ac.il ([132.65.80.32]) by kabab.cs.huji.ac.il with esmtp id 1LNUu1-000EXj-94; Thu, 15 Jan 2009 18:17:05 +0200 X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.2 To: Sossi Andrej In-reply-to: <496F5C80.9030406@dotcom.ts.it> References: <496F5C80.9030406@dotcom.ts.it> Comments: In-reply-to Sossi Andrej message dated "Thu, 15 Jan 2009 16:55:44 +0100." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 15 Jan 2009 18:17:05 +0200 From: Danny Braniss Message-ID: Cc: freebsd-scsi@freebsd.org Subject: Re: ISCSI slow to read from DELL MD3000i 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: Thu, 15 Jan 2009 16:17:09 -0000 > Danny Braniss write: > > [...] > > > >>>> In this week I did many tests on ISCSI and found another problem with > >>>> slow writing. I created 7 virtual disk on my NAS server. The first 4 > >>>> disks (/dev/da0 - /dev/da3) work fine, the other 3 (/dev/da4 - /dev/da6) > >>>> are slow. > >>>> I found this depends from parameter ISCSI_MAX_LUNS defined in file > >>>> iscsi.h, set 4. I tried to increase this value, but with all values > >>>> higher of 4 the initiator prints error: > >>>> iscontrol[602]: ISCSIGETCAM failed: 25 > >>>> > >>>> > > arg, I will fix this in the next release, but for now, recompile iscontrol too. > > > > [...] > > > > danny > > > I forgot to compile iscontrol. Sorry. don't be sorry, it's my fault. > Now it works fine. > R/W speed is now ~48Mb/s on disks da0-3 and ~32Mb/s on disks da4-6. I > set ISCSI_MAX_LUNS at value 16. Speed 32Mb/s is good for my job, but... > why is there this difference? don't know, there shouldn't be any difference, make sure they all have the same tag opening, > Thanks for another reply. thank you for testing! danny PS: the email I sent you before was almost correct answer to the wrong question.