From owner-freebsd-current@FreeBSD.ORG Mon May 29 23:51:59 2006 Return-Path: X-Original-To: current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8331116A723; Mon, 29 May 2006 23:51:59 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id D2E7243D48; Mon, 29 May 2006 23:51:56 +0000 (GMT) (envelope-from scottl@samsco.org) Received: from [192.168.254.14] (imini.samsco.home [192.168.254.14]) (authenticated bits=0) by pooker.samsco.org (8.13.4/8.13.4) with ESMTP id k4TNpnnY072965; Mon, 29 May 2006 17:51:54 -0600 (MDT) (envelope-from scottl@samsco.org) Message-ID: <447B8900.4050603@samsco.org> Date: Mon, 29 May 2006 17:51:28 -0600 From: Scott Long User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.7) Gecko/20050416 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Maxim Sobolev References: <447AB34C.4030509@sippysoft.com> <11410450515.20060529225555@lacave.net> <447B77AF.9060309@samsco.org> <447B7A55.7040704@FreeBSD.org> <447B7CB7.5000000@FreeBSD.org> In-Reply-To: <447B7CB7.5000000@FreeBSD.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.4 required=3.8 tests=ALL_TRUSTED autolearn=failed version=3.1.1 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on pooker.samsco.org Cc: "current@freebsd.org" Subject: Re: Importing iSCSI target from NetBSD X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 May 2006 23:52:09 -0000 Maxim Sobolev wrote: > Maxim Sobolev wrote: > >> Scott Long wrote: >> >>> F. Senault wrote: >>> >>>> Monday, May 29, 2006, 10:39:40 AM, you wrote: >>>> >>>> >>>>> Hi, >>>> >>>> >>>> >>>>> I wonder if anybody has any objections to importing iSCSI target >>>>> daemon >>>>> from NetBSD (Intel) into the base. >>>> >>>> >>>> >>>> Mh, I'm currently doing that, with the help of the author (Alistair G. >>>> Crooks), under the form of a port. Alistair just provided me a new >>>> version I'm testing, and I was planning to submit the port shortly. >>>> (It seems to work quite well). >>>> >>>> Now, if it's better to include it into the base, so much the better. >>>> Alistair was kind enough to take into consideration my suggestions, >>>> so, now, the daemon compiles and works under FreeBSD 6 (tested lightly >>>> with and i386 and more intensively witn an amd64). >>>> >>>> The work in progress is here : >>>> >>>> http://www.lacave.net/~fred/iscsi/ >>>> >>> >>> If it's not going to be integrated into the existing target >>> infrastructure then I'd prefer it to be a port. Ultimately it >>> would be nice for it to be part of the base system, though. >> >> >> Well, arguably we may want to support both ways. Having iSCSI target >> running in userland completely has some serious advantages (security >> is a big one for example, as you can run daemon easily as unprivileged >> process). The kernel iSCSI target only makes sense for really >> performance-constrained cases, and hopefully sooner or later we will >> be able to narrow the gap by utilizing zero-copy interfaces. > > > P.S. Just to make it clear - just consider running iSCSI over 100MBps > link or even a slower WAN links, which I think covers very large market > for this technology now. Performance constrain imposed by running in > userland is unlikely to be an issue at all. > > -Maxim Every company and group that I've talked to about iSCSI is worried about performance. In any case, please follow the lead of Mr. Senault and look at making this a port. Scott